Re: [LAU] Simple, easy multithreaded circular buffer library for Linux?

From: Olivier Guilyardi <ml@email-addr-hidden>
Date: Mon Oct 20 2008 - 17:02:49 EEST

Ken Restivo wrote:

> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1082132816 (LWP 17164)]
> 0xffffffffff600808 in ?? ()
>
> (gdb) bt
> #0 0xffffffffff600808 in ?? ()
> #1 0x00002b53c56aa7f0 in sched_getcpu () from /lib/libc.so.6
> #2 0x0000000000400941 in reader_start (arg=0x0) at test-int-array.c:50
> #3 0x00002b53c53cd3f7 in start_thread () from /lib/libpthread.so.0
> #4 0x00002b53c56b993d in clone () from /lib/libc.so.6
>
> (gdb) f 1
> #1 0x00002b53c56aa7f0 in sched_getcpu () from /lib/libc.so.6
>
> (gdb) f 2
> #2 0x0000000000400941 in reader_start (arg=0x0) at test-int-array.c:50
> 50 printf("reader started on cpu %d\n", sched_getcpu());
>
>
> (gdb) i thr
> 4 Thread 1090525520 (LWP 17165) 0x00002b53c56b9901 in clone () from /lib/libc.so.6
> 3 Thread 47638797092576 (LWP 17156) 0x00002b53c56b9901 in clone () from /lib/libc.so.6
> * 2 Thread 1082132816 (LWP 17164) 0xffffffffff600808 in ?? ()
> 1 LWP 17156 0x00002b53c56b9901 in clone () from /lib/libc.so.6

Okay, sched_getcpu() is causing a lot of trouble (not always available,
segfault'ing, ...). It's gone.

Please update to r310.

-- 
  Olivier Guilyardi / Samalyse
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Mon Oct 20 20:15:03 2008

This archive was generated by hypermail 2.1.8 : Mon Oct 20 2008 - 20:15:03 EEST