[PD] fluid

Frank Barknecht fbar at footils.org
Fri Feb 3 20:25:05 CET 2006


Hallo,
vincent rioux hat gesagt: // vincent rioux wrote:

> fluidsynth did not get compiled with LADSPA i think as the summary after 
> ./configure indicates:
> LADSPA support : no

Yes, that's good. 

> that's what i got with gdb (as a matter of fact, i am not used to this tool)

... but you did a great job! ;)

> btw, i struggled a lit bit just to find these simplistic two first lines 
> in the mailing list, may be we should just add them on puredata.info?
> 
> > gdp pd
> 
> (gdb) r
> Starting program: /usr/local/bin/pd
> [Thread debugging using libthread_db enabled]
> [New Thread 1076218336 (LWP 7428)]

Unfortunatly this backtrace at least to my untrained eyes doesn't
offer an immediate solution, I dare not even to guess. Some things you
could try would be: It crashes in "fluid::fluid_init", which gets
called when the [fluid~] object gets created. You could uncomment this
temporarily by putting "//" in front of line 56 as in: 

55:            AddOutSignal(2);         // 2 audio out [ == AddOutSignal(2) ]
56:            // fluid::fluid_init(argc, argv);
57: 

and recompile with flext's build.sh. 

If you then can create a [fluid~] object, you may be able to crash it again by
sending a message [init( to [fluid~] which calls the initialization in
"fluid::fluid_init" manually. Anyway both of these should give different
backtraces. 

Another thing you could try would be to use the Pd as it is in CVS currently,
unless you already do so. That's what I'm running here and with that and flext
and fluid~ from CVS I cannot reproduce the crash.

> Program received signal SIGILL, Illegal instruction.
> [Switching to Thread 1076218336 (LWP 7428)]
> 0x40266267 in fluid::fluid_init () from
> /usr/local/lib/pd/extra/fluid~.pd_linux
> (gdb) bt
> #0  0x40266267 in fluid::fluid_init () from 
> /usr/local/lib/pd/extra/fluid~.pd_linux
> #1  0x40265da5 in fluid::__init__ () from 
> /usr/local/lib/pd/extra/fluid~.pd_linux
> #2  0x40268339 in flext_obj_single::obj_new () from 
> /usr/local/lib/pd/extra/fluid~.pd_linux
> #3  0x080a2b6a in pd_typedmess (x=0x8209bd4, s=0x0, argc=1, argv=0x81037e8) 
> at m_class.c:664


Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__




More information about the Pd-list mailing list