Re: [LAU] [ANN] setBfree - DSP tonewheel organ

From: Robin Gareus <robin@email-addr-hidden>
Date: Tue Jul 17 2012 - 00:47:43 EEST

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
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Tue Jul 17 04:15:04 2012

This archive was generated by hypermail 2.1.8 : Tue Jul 17 2012 - 04:15:04 EEST