StrangeLoopsAudio/gRainbow

BUG: clicking on next candidate crashes VST3

Closed this issue · 12 comments

Hi,

First of all, please let me congratulate you on developing this awesome software.
This is absolutely fantastic.
I'm blown away by what this synth does.
Incredible!

Now, when I was testing the x64 windows VST3 version in Reaper, everything was working flawlessly but I did manage to discover a bug / unhandled exception. When editing a pad, by clicking on the little asterisk above it and clicking on layer <> arrows that were displaying 1/6, the plug-in crashed, taking the Reaper down with it. I presume that this is due to the fact that I didn't have additional layers enabled on this pad, so the plug-in tried to switch to the next layer which wasn't there.

Just wanted to let you know.
Anyway, now I know to avoid those buttons.

Thank you for this VST gem.

Thanks for the report! I've gotten this from another user as well, so I'll try and track down the reason soon. By the way, the left/right arrows will change the position candidate (see the terminology section on its page), not the generator selected, you can instead click on the generator itself to change its parameters

Yeah, I was wondering how to alt/random the candidates.

Just thinking out loud here, maybe it would be useful to have global <> buttons/selectors to be able to switch the candidates on the fly, while performing (shifting maybe?).

In any case, thank you for this awesome software and keep up the good work!

@AtmanActive could you send me the audio file/preset that would produce this crash?

@AtmanActive I can't seem to reproduce this even with your file using reaper, could you try the most recent build to see if it's still happening for you? Hoping it might have been fixed with some other changes. https://github.com/bboettcher3/gRainbow/actions/runs/5239813157

Same behavior even with the latest build you referenced above.

Let me know if I can help you debug in any way.

I just did a test with a brand new, fresh portable installation of the latest Reaper version for windows x64 and the behavior is the same.

Crashing on my desktop machine where Reaper is running at 48kHz, but also crashing on my studio machine where Reaper is running at 192kHz.

Hmm, definitely something weird happening. I can only reproduce it when running the Release build, not in Debug.. which makes me think it's running into some sort of race condition somewhere. I'll try some things out...

Can confirm: these problems are now gone in v0.4.0.
Great work!
Thank you very much for this brilliant synth/sampler.

Great! I'll close this, feel free to re-open it if it comes back at all.