Carla crash with too many SFZs loaded

Programming applications for making music on Linux.

Moderators: khz, MattKingUSA

User avatar
noedig
Establlshed Member
Posts: 99
Joined: Wed Feb 12, 2014 4:39 am
Location: South Africa

Carla crash with too many SFZs loaded

Postby noedig » Mon Dec 11, 2017 5:45 pm

When I load a bunch of SFZs in Carla, enough to push my memory use to about 60% or more, Carla crashes after a minute or so of playing. Sending lots of MIDI notes helps it crash faster :)

Running Carla in gdb gives the error message

Code: Select all

*** Error in `/usr/bin/python3': double free or corruption (fasttop): 0x00007fff740008f0 ***

followed by a backtrace, a memory map and finally

Code: Select all

[Switching to Thread 0x7fffd40a5700 (LWP 6491)]
0x00007ffff7825428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.


Any idea what the reason is and whether this is due to Carla, Linuxsampler, JACK and/or the high memory use?

User avatar
falkTX
Establlshed Member
Posts: 6496
Joined: Sat Jan 09, 2010 3:04 pm

Re: Carla crash with too many SFZs loaded

Postby falkTX » Mon Dec 11, 2017 5:55 pm

I've seen this too, seems to be related to linuxsampler.
An easier way to make it crash is to play a couple of notes (more than 1) while you remove or add a new SFZ file.

there is a new linuxsampler version, which I need to update to. maybe that fixes this, though I really doubt it.

User avatar
noedig
Establlshed Member
Posts: 99
Joined: Wed Feb 12, 2014 4:39 am
Location: South Africa

Re: Carla crash with too many SFZs loaded

Postby noedig » Mon Dec 11, 2017 7:04 pm

Ah damn, that's bad news.

Coincidentally, it helped me track down a bug in my own code that had a very similar symptom.

But this is quite depressing. Having based so much of my workflow on something with such a fundamental (it seems) bug, for which the fix feels so far out of grasp.

varpa
Establlshed Member
Posts: 417
Joined: Fri Feb 25, 2011 6:40 pm

Re: Carla crash with too many SFZs loaded

Postby varpa » Tue Dec 12, 2017 2:57 am

What happens if you load the SFZs directly in linuxsampler (using qsampler, for example)?

User avatar
falkTX
Establlshed Member
Posts: 6496
Joined: Sat Jan 09, 2010 3:04 pm

Re: Carla crash with too many SFZs loaded

Postby falkTX » Tue Dec 12, 2017 8:15 am

The standalone uses different methods, a better comparison would be against the official LV2 or VST plugin.


Return to “Developer's Section”

Who is online

Users browsing this forum: No registered users and 2 guests