Page 1 of 1

Simple patch causes Usine to crash

Posted: 28 Mar 2024, 23:14
by VictorWetzel
Hello there,

First post here !

I have a simple patch, called "cyclic-panner" : basically a surround panner with some LFO. I created this patch with Usine 5. It worked fine with beta versions of Usine 6.

Since I upgraded Usine to Usine 6 and that I upgraded my Mac, it invariably crashes Usine to use this patch. Can't see error messages.

Can someone run it on his/her machine ? It might be a weird bug, a problem in my patch, a machine dependent problem... I don't know !

Thank you !

PS : crash experienced with Usine-M-Series-6.0.231116 (beta) and Usine-MacOS-M-Series-6.0.240322

Re: Simple patch causes Usine to crash

Posted: 05 Apr 2024, 10:36
by VictorWetzel
I was able to narrow down the problem, and can provide a minimum crashing example (file is attached to this answer).

And I can also provide an error code :
[46] Error :
E901 patch process : Set Value
module : audio_pan_surround_panner
inlet : X 1
rack : 1
patch : MinimumCrashingExample-SurroundAudioPanner-2024-04-05-UsineHH6.0.240403
I tried upgrading my Usine version. I also tried coding the same patch in the last Usine 5 version available, and it exhibited the same behaviour.

Now, the patch runs fine for 20 or 30 secondes, then the above error code shows up. After a few more seconds, Usine crashes.

This behaviour didn't exist for older Usine 5 versions (something like versions that released in late 2022, november, december).

Re: Simple patch causes Usine to crash

Posted: 05 Apr 2024, 10:48
by VictorWetzel
Did a few more tests.

This unexpected crash happens also on Windows 11, but it takes a lot more time before the error message shows up.

I tried running an Intel release version of Usine 6 on my M1 Mac (through Rosetta), and the crash also happens, but with an additional audio drop error pointing to the patch's corresponding rack.

Re: Simple patch causes Usine to crash

Posted: 09 Apr 2024, 17:57
by senso
this issue has been probably fixed in the latest version?
please send bug report by mail : support@brainmodular.com

Re: Simple patch causes Usine to crash

Posted: 10 Apr 2024, 12:56
by VictorWetzel
Last update didn't solve the crash. I sent a bug report !