Hi Guys, I am getting a couple of kinds of crashes with HALion Sonic and HALion 6 with Reaper 5.90, and I think it has to do with the new VST3 changes in Reaper.
I posted a thread about it here:
https://forum.cockos.com/showthread.php?t=207252
Here's the key relevant information of a repeatable crash from that thread:
------------------------------
Steps to reproduce one kind of crash below. I have made it crash with both VST3 versions of HALion Sonic 3 and HALion 6, but this one I can get to replicate very often. There is another kind of crash I had but I can't replicate it yet.
For this repeatable crash, sometimes an error message pops up, sometimes nothing.
Win 10 Pro Reaper 5.90 x64 using either the HALion Sonic 3.1.10.85 VST3 or HALion 6.1.10.85 x64 VST3.
1) Start new project
2) Insert virtual instrument on new track...
3) Insert HALion Sonic 3 VST3 or HALion 6 VST3
4) A window pops up asking to:
"Build Routing Confirmation" - Do you want to add the following tracks for this effect? If not, only the stereo 1/2 outputs will be audible without further routing. [ Then it lists a bunch of additional tracks... ]
5) Select YES
6) Reaper CRASHES - here's the error message:
reaper.exe - Application Error
The instruction at 0x00000001407D5254 referenced memory at 0x000000002ED8D000. The memory could not be written. Click OK to terminate the program
NOTE: The VST2 versions of the plugins DO NOT crash on instantiation.
Also, with the VST3 versions, on Step 4+5 when it asks to build a routing confirmation and you click NO, then it does NOT crash right away.
Although, I have still had it crash later on, but I can't replicate that yet.
So it appears at least one of the problems is related to VST3 and HALion upon instantiation, and at least when the condition of the 2/2 routing is changed to something else.
I have also tested it with VST3 compatibility setting "inform plugin when track channel count changes" disabled and it DOES NOT crash on instantiation.
So it appears that it has to do with "inform plugin when track channel count changes"
I will try to get the other kind of crash to be repeatable.
EDIT:
And here's the Windows Event Viewer ERROR:
Faulting application name: reaper.exe, version: 5.9.0.0, time stamp: 0x5b05aad3
Faulting module name: reaper.exe, version: 5.9.0.0, time stamp: 0x5b05aad3
Exception code: 0xc0000005
Fault offset: 0x00000000007d5258
Faulting process id: 0x23ac
Faulting application start time: 0x01d3f774ef0b2d44
Faulting application path: C:\Program Files\REAPER (x64)\reaper.exe
Faulting module path: C:\Program Files\REAPER (x64)\reaper.exe
Report Id: f49aae0d-fd0e-41bf-9657-1c9d01fc8993
Faulting package full name:
Faulting package-relative application ID: