Crash when playing lots of different plugin instruments on a single track at once

EDIT: First I thought it was because of duplicate plugins. But several tests (and posts) later I made an update. Renoise crashes when user adds more than 10 plugins one by one.

Renoise crashes while duplicating plugin.

Way to reproduce:

  1. Open plugin, select preset
  2. Duplicate plugin
  3. Select another preset in duplicated plugin
  4. Duplicate plugin
  5. Select another preset in duplicated plugin
  6. repeat several times and Renoise will crash.

I tested it on Synthmaster 3 Player and then on Diva.

VST3, Windows 11 23H2.

I tested it on Renoise 3.5.2 and Renoise 3.4 - only in 3.5.2 it crashes. Renoise 3.4 seems to work ok.

Could you pease post or send the Renoise.log file as well?

I can’t replicate this here with Synthmaster 3 VST3 on Windows. Tried a few duplicates and preset changes.

Is there a maybe a better pattern to replicate this?

Video: link

Text (log): link

It takes some time. Usually you’ll need 10-12 instances for make it crash.

And it’s not only SM3, but (as I said) also Diva (u-he makes one onf the most stable plugins I know).

BTW. Sorry for not place mouse pointer on video (look at the bottom of Renoise at the end).

can’t replicate with Surge on windows 11, will try more vst3s.

I can duplicate it on Surge too.

Funny thing - it’s always when it goes to 10th instrument (0A). So you must made 11 duplicates with preset change.

I’m at 0D now and still no crash.

MORE DETAILS: every time I duplicate plugin, I change preset AND play a sound, then duplicate, change preset, play sound (using computer keyboard) etc. Like in my video.

Without playing a sound it just works ok.

Additional info - I also tested it on VM so it’s not just one config with one operating system. Effect is the same - always when it reaches 0A instrument, it crashes. And always when I play a sound every preset change.

edit;

lol returning to Renoise and trying to trigger an instance of surge, it did crash! At first no sound was heard, so I tried switching between duplications and all of a sudden there is a crash save. From the log;

Vst3Plugs: Instantiating: C:\Program Files\Common Files\VST3\Surge Synth Team\Surge XT.vst3\Contents\x86_64-win\Surge XT.vst3…
Vst3Plugs: Failed to apply initial component state to controller (not critical)
Vst3Plugs: Failed to suggest speaker arrangement (not critical)

Vst3Plugin: Plugin ‘Surge Synth Team: Surge XT’ requested parameter display update…

Vst3Plugin: Plugin ‘Surge Synth Team: Surge XT’ requested parameter display update…

CrashLog: Handling Exception! Code : E06D7363
CrashLog: 00007FFACB2D66CA: RaiseException +0008A
CrashLog: 4060C00000000000: ??? +00000
CrashLog: 00000000196AF528: ??? +00000
CrashLog: 0000000000000001: ??? +00000
CrashLog: 4061200000000000: ??? +00000
CrashLog: 00000081E06D7363: ??? +00000

Application: Caught an unhandled fatal exception (Thread: AUDIO)!
Application: Saving a backup…

Audio Plugins: Timeout while waiting for the plugin device to suspend!

Audio Plugins: Timeout while waiting for the plugin device to suspend!

Application: Terminating…

ASIO: Stop Polling…

ASIO: Timeout while waiting for ASIO to shut down!!
ASIO: Releasing ZEDi ASIO Driver…

MIDI: Shut down: Closing all acquired MIDI devices…
MIDI: Shutting down MIDI server…
MIDI: Shutting down DirectMusic…

Perhaps the switching between chrome and renoise can trigger the crash faster?

I think it’s related to playing a sound somehow. As I said - without playing a sound it works (but playing sounds is normal if you want to choose different presets).

VERY IMPORTANT UPDATE:

It crashes even if I am adding plugins one by one, different plugins.

So method to reproduce is:

  1. Add any VST3 plugin (I am not sure if it’s VST3 related or just any plugin, but I tested on VST3)
  2. Select preset
  3. Play a sound
  4. Add another VST3 plugin…
  5. And after you add 11th plugin - Renoise crashes.

So it’s no longer minor problem with duplicate. It’s serious problem with adding instruments.

I tried to replicate it with the JV-880 emulator and noticed that it gets activated even when another instrument is played. I can see that, because the CPU usage suddenly jumps up to almost 30% when playing an XRNI in another slot. The high CPU usage is plugin related and also uses that much in MuLab10, but the issue might be that 10 instances of an plugin get activated at once and suspended and then renoise croaks. Just a guess.

It crashed after inserting 18 various instruments, the last instrument was Arturia DX7 V

Vst3Plugs: Instantiating: C:\Program Files\Common Files\VST3\DX7 V.vst3...

CrashLog: Handling Exception! Code : E06D7363
CrashLog: 00007FF973DF66CA: RaiseException +0008A

Application: Caught an unhandled fatal exception (Thread: AUDIO)!
Application: Saving a backup...

Application: Terminating...

ASIO: Stop Polling...

ASIO: Timeout while waiting for ASIO to shut down!!
ASIO: Releasing Universal Audio Volt...

MIDI: Shut down: Closing all acquired MIDI devices...
MIDI: Shutting down MIDI server...
MIDI: Shutting down DirectMusic...

Is somehow important to change preset and play. Simly adding instruments one by one without changing preset and play do not causes crash (or is not as predictable).

I’ve just got it to crash again. I inserted about 20 instruments without changing presets or playing between inserting , then I quickly played them one by one and it crashed leading me to believe it spikes the CPU somehow?

CrashLog: Handling Exception! Code : E06D7363
CrashLog: 00007FF973DF66CA: RaiseException +0008A

Application: Caught an unhandled fatal exception (Thread: AUDIO)!
Application: Saving a backup...

Application: Terminating...

Some plugins also have problems and can crash themselves or the DAW when a DAW switches them to suspend mode (like the plugin suspend mode in Renoise). Try to disable suspend mode for these plugins. Maybe this can solve the issue.

Suspend mode has nothing to do with it. Tested. I am keeping most of my plugins active.

Thanks. Can replicate this now as well. Happens when playing a lot of different plugin instruments (more instruments than there are tracks) at the same time on a single track. So the duplicate command isn’t the problem and after all this is unlikely to happen - but will happen. Will be fixed…

5 Likes

Thank You. Yes, I noticed that it’s not about duplicate after all so I changed main post title. Good luck with update! I hope routing will be fixed as well.

Renoise forever!

1 Like

I can confirm that this happens to me too on Renoise 3.5.2.

I opened multiple VST-instruments on different VST-plugins and one VST-effect on track01. Played them one by one on track01 (My song had 4 tracks created) and program announced that it is terminating.

Log shows this:

"
VstPlugs: Trying to instantiate C:\VST\MeldaProduction\Filter\MVocoder.dll
VstPlugs: Analyzing VST plugin ‘MeldaProduction: MVocoder’, Unique ID:1297510243, Version:2400
VstPlugs: Instantiate OK

CrashLog: Handling Exception! Code : E06D7363
CrashLog: 00007FFB82C366CA: RaiseException +0008A
CrashLog: 4061C00000000000: ??? +00000
CrashLog: 00000000111EF5D8: ??? +00000
CrashLog: 0000000000000001: ??? +00000
CrashLog: 4062200000000000: ??? +00000
CrashLog: 00000081E06D7363: ??? +00000

Application: Caught an unhandled fatal exception (Thread: AUDIO)!
Application: Saving a backup…

Application: Terminating…

ASIO: Stop Polling…

ASIO: Timeout while waiting for ASIO to shut down!!
ASIO: Releasing BEHRINGER USB AUDIO…

MIDI: Shut down: Closing all acquired MIDI devices…
MIDI: Shutting down MIDI server…
MIDI: Closing MME Midi-In device ‘Oxygen Pro 49’
MIDI: Closing MME Midi-Out device ‘LoopBe Internal MIDI’
MIDI: Shutting down DirectMusic…
"

…When I open same song and play VST-instruments, it crashes every time, but last instrument before crash differs…

I personally went back to using version 3.4.4 until the problem is fixed.

My post about this was closed as a duplicate.

See if you can reproduce, please:

TLDR: It’s not bad plugins or using 2 much cpu; it happens with “stop” but not “panic”

I’ve always had my method of stopping playback to use the “Panic” command bound to F8, though I think the default is “Stop”, applied to the spacebar.

Some rework of my Lua API Tools after installing 3.5.2 led to my stop command changing back to “Stop” in the keybindings.

I rarely use VST instruments, only VST effect plugins, but for a new project I started using some of my Plogue, Fors, Arturia and some other freebie VST instrument plugins.

Renoise would randomly crash with what I assumed was a CPU overload issue:

Application: Caught an unhandled fatal exception (Thread: AUDIO)!

Then I realized the crash seemed to be tied to when I stopped playback in Renoise, not while starting or playing.

Some further inspection and testing led to this:

  • It seems to only occur when the total number of tracks+master+sends is less than the total number of VST instruments. (My default template starts with four tracks and one send.)

  • The crash is reproducible on multiple systems (Windows 11)

  • It occurs with ASIO, WASAPI and DirectSound

  • The VST instrument plugins can be all the same or a mix

  • It occurs without even any notes playing; new song, blank pattern

  • Sandboxing settings have no effect

  • Plugin options > Audio compatibility options have no effect

  • The crash occurs when the “Stop” command is used, but not the “Panic” command

To test yourself:

  • Start a blank Renoise song

  • Lower the number of tracks+master+send to fewer than seven; ex: set the number of normal tracks to four.

  • Load seven low-cpu VST instrument plugins into slots 0-6 (or just more than the total number of tracks you are testing)

  • Map the “Panic” command to your favorite key

  • Start and stop Renoise playback

  • Map the “Stop” command to your favorite key

  • Start and stop Renoise playback

  • Watch what happens

  • Repeat these steps with the tracks+master+sends totaling more than the number of VST inst.

One of the examples from the CrashLog. The first line is always the same.

CrashLog: Handling Exception! Code : E06D7363
CrashLog: 00007FF8E1FC66CA: RaiseException +0008A
CrashLog: 4061C00000000000: ??? +00000
CrashLog: 000000000DD5F628: ??? +00000
CrashLog: 0000000000000001: ??? +00000
CrashLog: 4062200000000000: ??? +00000
CrashLog: 00000081E06D7363: ??? +00000
Application: Caught an unhandled fatal exception (Thread: AUDIO)!
Application: Saving a backup…

I followed your steps and can confirm there’s something going wrong. I got no crashes, but Renoise starts freezing here on Windows 11 Pro and a high end Ryzen CPU and i have to kill the Renoise task in the task manager.