Hello,
I have a problem with SuperCollider 3.14.0-dev (build form source) on a Machine running Ubuntu studio 22.04.5 LTS.
I have the same set up from several years and I never had any trouble until about 4 months.
From time to time the interpreter crash with this message:
Interpreter has crashed or stopped forcefully. [Exit code: 11]
it can happen anytime, I can’t isolate a piece of code to reproduce it unfortunately.
I can play with a piece of code without any trouble for a week and one day suddenly, with the same code, the interpreter crash (not necessarily when I execute code, it can happen during the sound play at a moment when I don’t touch the keyboard).
it can happen several times in a row then no longer reproduce for several days.
All I can say is that it happens only on this machine. Same setup (code, plug ins, quarks…) on another machine works fine.
I tried a lot of things to try to make the error reproducible but I didn’t succeed.
I tried to rebuild SuperCollider in debug mode and attach gdb to it by following these steps:
set server options
s.options.asOptionsString // to get the server command line parameters
Then, in a terminal:
gdb --args scsynth (and paste the command line args here)
at gdb prompt:
run
Then, back in SC:
Server.default = s = Server.remote(\debug, NetAddr("127.0.0.1", 57110), s.options);
and
s.connectSharedMemory;
It has now been several weeks that I attach SuperCollider to gdb for each use while waiting for the problem to occur.
Yesterday I encountered this interpreter crash problem several times but nothing happens in gdb, this is the output of gdb:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff6d59640 (LWP 5997)]
no more csLADSPA plugins
Found 353 LADSPA plugins
[New Thread 0x7fffd8fff640 (LWP 5998)]
[New Thread 0x7fff861e7640 (LWP 5999)]
[New Thread 0x7ffff2394640 (LWP 6000)]
[New Thread 0x7ffff1f85640 (LWP 6001)]
JackDriver: client name is 'SuperCollider'
SC_AudioDriver: sample rate = 44100.000000, driver's block size = 512
[New Thread 0x7ffff1f04640 (LWP 6002)]
[New Thread 0x7fff859e6640 (LWP 6003)]
SuperCollider 3 server ready.
MiClouds > numAudioIns: 2
JackDriver: max output latency 23.2 ms
I don’t know what to do from here, if anyone has a suggestion, it would be welcome