Hi Frank, list,
When I open fluid~-help.pd or create a fluid~ object, Pd segfaults. I have flext and fluid~ from current CVS, pd-0.39-0, gcc 4.0.3 (have also tried with 4.1), Debian unstable. I compiled fluidsynth 1.0.6 without LADSPA support. I found that it was crashing in the beginning of fluid_init(), here:
if (synth != NULL) { delete_fluid_synth(synth); }
presumably because synth should have been intialized to NULL but was not. So I set synth = NULL in the constructor. Now, it spits out the following to the terminal and dies:
*** glibc detected *** malloc(): memory corruption: 0x082586f8 ***
Now, the crash happens here:
settings = new_fluid_settings();
Any ideas would be appreciated, as I'd really like to be able to use fluid~...
Thanks, Ben
Hallo, Ben Saylor hat gesagt: // Ben Saylor wrote:
When I open fluid~-help.pd or create a fluid~ object, Pd segfaults. I
Can you run Pd with a debugger? That is:
$ gdb /usr/bin/pd $ run [open fluid help, make it crash here] $ bt
and send the backtrace?
Frank Barknecht _ ______footils.org_ __goto10.org__
Hi,
On Sunday 02 April 2006 23:55, Frank Barknecht wrote:
Hallo,
Ben Saylor hat gesagt: // Ben Saylor wrote:
When I open fluid~-help.pd or create a fluid~ object, Pd segfaults. I
Can you run Pd with a debugger? That is:
$ gdb /usr/bin/pd $ run [open fluid help, make it crash here] $ bt
and send the backtrace?
Here are two backtraces - the first is with the code unchanged (except for some printfs I added for debugging), and the second is with "synth = NULL;" added at the top of the constructor.
However, I just noticed something strange about them:
"#3 0xb7c21ee6 in flext_obj_single::obj_new () from /usr/local/lib/pd/extra/xsample.pd_linux"
I don't know what xsample should have to do with fluid~, but if I comment the line "-lib xsample" out of my ~/.pdrc, it doesn't crash!
On Tuesday 04 April 2006 02:57, Thomas Grill wrote:
Hi Ben, in case you compiled fluid~ yourself, i'd recommend you try recompiling with fresh cvs versions of flext and xsample. I lately fixed some issues that might be related. greetings, Thomas
Thanks, that did the trick.
Ben
Hallo, Ben Saylor hat gesagt: // Ben Saylor wrote:
Here are two backtraces - the first is with the code unchanged (except for some printfs I added for debugging), and the second is with "synth = NULL;" added at the top of the constructor.
However, I just noticed something strange about them:
"#3 Â 0xb7c21ee6 in flext_obj_single::obj_new () Â Â from /usr/local/lib/pd/extra/xsample.pd_linux"
I don't know what xsample should have to do with fluid~, but if I comment the line "-lib xsample" out of my ~/.pdrc, it doesn't crash!
Ah, I know this one. You need to recompile xsample and all other old flext externals you use as well, this will fix it, at least with a not too old checkout of flext from CVS (preferably you use the newest flext from CVS).
Frank Barknecht _ ______footils.org_ __goto10.org__