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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux