At a recent performance my vcv 2 patch file decided to keep crashing upon launch. Luckily I had manual incremental saves from the night before, but it was a little odd and frustrating since when I tested the patch that morning before the show, everything seemed to be fine.
The crush only happened once I set up my PC at the venue a few hours later. The only variables were that I had only one monitor and one audio interface attached to my PC rather than two and two, respectively, as I normally do at home. I didn’t see how that would cause a crash though, and have since tested the crashing patch files at home with two audio interface and two monitors connected. They still crash.
I suspect it’s a module causing the problem, but I’m having difficulties reading and understanding the stack trace in the log.txt. It goes as follows:
Since I can’t upload files yet, I put up the entire log on pastebin here if anyone’s interested. Any help interpreting the crash would be greatly appreciated!! Luckily I was able to perform still but would like to avoid crashes in the future if possible, whether that means stopping using a particular module or else…
This is an assert firing in the Host module in its dataFromJson override. Since the VCV Host module is paid and provided by VCV, open a support ticket at VCV - Support (vcvrack.com).
The issue probably isn’t in the hosted VST: the crashing code is in Host.
VCV will probably want the settings.json, patch json, and the log.txt in your support request. At the least, they’ll need to know what VST you’re using, and the OS you’re on.
Awesome, I submitted a ticket so hopefully I’ll hear something back.
My suspicion was also the ‘addBusPortMapping’ part. One of the VST Hosts has a CV connecting to it for some modulation. But somehow the crashes only happens with 2 of the later files. The previous saves were all fine. Baffling…
Having here Fatal signal 22 or 27 crashes also with the host modules when using it with some modulations going on. Found that while the modulation is steady, means coming from controller knobs or faders the file does not crash after saving and reloading. But if the modulation is moving , from a LFO or some random values the Host module crashes after saving and reloading.
Means the project works over hours without any problems while modulation is going wild, the reload results in a crash at start up.
There are few tricks to avoid this startup crashes, like move your modulation cable to an unconneted Modulation input before saving and reconnect after loading your file.
But if you forgot one connection —— crash
There are even ways to rescue your crashing files by some manual work, just to let all know!
All true for osx 10.13 , 12.6.7 Intel and 14 on M1
Think all this gurus here still need NO tester for your Apple versions?
Please feel free to downtalk me again
Oooh interesting!! That makes sense & was my suspicion too! Ok really good to know that someone else also had the same problem hehe. Losing work really sucks!
What have you tried to rescue the file? I’ll avoid having modulation to Hosts altogether from now on but would love to have a work at the back of my mind just in case:))