almostEric / FrozenWasteland

Plugins for VCV Rack
Other
91 stars 18 forks source link

Crashing bug - calling UI code in the DSP thread #106

Open pgatt opened 2 years ago

pgatt commented 2 years ago

Hi Eric,

We have a user getting a crash from QAR in the VST in Ableton Live. It's saying you are calling rack::window::Window::getMods() in the DSP thread.

Thread 15 Crashed:: AudioCalc
0   libRack.dylib                          0x167ca5d7a rack::window::Window::getMods() + 10
1   plugin.dylib                           0x16bc21d92 QuadAlgorithmicRhythm::process(rack::engine::Module::ProcessArgs const&) + 1602
2   libRack.dylib                          0x167c9023f rack::engine::Module::doProcess(rack::engine::Module::ProcessArgs const&) + 143
3   libRack.dylib                          0x167c88dc3 rack::engine::Engine::stepBlock(int) + 1699
4   libRack.dylib                          0x167bb8835 rack::audio::Device::processBuffer(float const*, int, float*, int, int) + 325
5   libRack.dylib                          0x167bdc03f rack_processAudio + 63
6   Rack-vst2.dylib                        0x163603cb7 RackEffect::processReplacing(float**, float**, int) + 1559
7   Live                                   0x11185e9fe 0x10f286000 + 39684606
8   Live                                   0x11185e6b7 0x10f286000 + 39683767
9   Live                                   0x1118480c0 0x10f286000 + 39592128
10  Live                                   0x1106d66bf 0x10f286000 + 21300927
11  Live                                   0x1106f6a6d 0x10f286000 + 21432941
12  Live                                   0x1106da1aa 0x10f286000 + 21316010
13  Live                                   0x1106da4ee 0x10f286000 + 21316846
14  Live                                   0x11010e2ab 0x10f286000 + 15237803
15  Live                                   0x11010e55e 0x10f286000 + 15238494
16  libsystem_pthread.dylib             0x7ff815e644e1 _pthread_start + 125
17  libsystem_pthread.dylib             0x7ff815e5ff6b thread_start + 15

Let me know if you need more details.