[LAU] [ANN] setBfree - DSP tonewheel organ

Robin Gareus robin at gareus.org
Mon Jul 16 21:47:43 UTC 2012


On 07/16/2012 11:02 PM, Fons Adriaensen wrote:
> On Mon, Jul 16, 2012 at 08:18:38PM +0200, Robin Gareus wrote:
>  
>> I think I found it. Can you please try again with latest git-head?
> 
> Starting program: /usr/local/bin/setBfree 
> warning: Could not load shared library symbols for linux-gate.so.1.
> Do you need "set solib-search-path" or "set sysroot"?

huh?

> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/libthread_db.so.1".
> init.. Audio : [New Thread 0xb77d2b40 (LWP 3291)]
> Scanner : Oscillators : Overdrive : Reverb : Whirl : Convolve : 
> Program received signal SIGSEGV, Segmentation fault.
> 0xb7fb610e in pthread_getschedparam () from /lib/libpthread.so.0
> (gdb) where
> #0  0xb7fb610e in pthread_getschedparam () from /lib/libpthread.so.0
> #1  0x0804a8f0 in main ()

Oh. Aha. mmh. right :) Thanks for the backtrace.

pthread_getschedparam(jack_client_thread_id (j_client),..

jack_client_thread_id() was always NULL because it was called before
jack_activate(). I suppose some systems don't like that, while others
simply ignore pthread_getschedparam(NULL,...). I did not dig into
pthread implementation just now.

I've pushed a fix (call jack_activate() before pthread_getschedparam())
which should resolve this issue.

robin


More information about the Linux-audio-user mailing list