problem is that Brainwash (I think?!) crashed vcvrack (intel mac) sometimes.
this is the issue- made a rig using it and the others (had no issue with the others in loop pack) - saved it - when loading sometimes crashes vcvrack2 on load, sometimes it doesnt. its no big deal because once in 2-3 loads it works but still… maybe it can be fixed. thank you!
There’s nothing here to suggest that Brainwash or any other specific module is involved in this crash. That doesn’t rule out a problem on my end, of course! But it doesn’t point to it either.
And given that the crash sometimes does not happen, I don’t even have a “de-install/re-install plugin X” idea for you.
I decided to try this on my Debian Linux system. I got the crash to happen also.
I started with the patch above from @nate.reeves called looper_stochastic_v5_Brainwash.vcv. I loaded a WAV file into Simpliciter, set my audio device and let it play a while. No problem. Then I closed the patch and opened it again. It crashed in 0.439 seconds of opening.
The crash happens inside Brainwash::process(), so that suggests the first place to look, although it doesn’t by itself prove fault for the crash belongs to Brainwash.
I repeated opening VCV Rack with this patch a few times. It crashes about 1/3 or 1/4 of the time.
Reproduced the crash and I can see the pointers static_left and static_right are null when it tries to write to them. This happens when Brainwash::process is called 85 times.
Bless you, @cosinekitty, for making that effort. I noticed that this patch starts recording on startup and thought, huuuh, I wonder if I’m doing the right thing then…and, I’m not. There’s a race condition when the patch starts Brainwash recording from the very start, which explains why it sometimes works, and sometimes doesn’t. Unclear why it never repro’d on my windows machine, but whatever.
I’ll fix this up and do a new release. Thanks, @nate.reeves, for mentioning it.
I built locally from your branch 2.0.19-Brainwash-bug-fix, and the build warnings are all gone, plus I was able to start up the test patch 10 times in a row without a crash. It looks good here in Linux world!
Sadly, I’m thousands of miles from my development environment for the next few weeks, so I’m powerless to intervene. Anything interesting at the bottom of log.txt in your user directory?
@nate.reeves, can you post an example patch that crashes with Venn? I tried using Venn on my system but there is no crash. I want to see if I can reproduce the crash here. Maybe I can help figure something out while @StochasticTelegraph is traveling.
found the culprit! problem solved.
I deleted Stochastic dir and forced vcvrack2 to reinstall the modules. (latest)
funny enough - all works ok now…
it could be that I had the previous nightly build before. and that had issues.
big thanks for help!
problem solved!!!
if anyone has this issue- do as I did.
These modules are Stellar. Thank you so much. My fav sample mangling modules on VCV. Very playable, intuitive - i get nice organic results. Would be a dream to be able to use them on 4ms Meta🥳