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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Olivier Guilyardi <ml@...>
Cc: <linux-audio-user@...>, Kjetil S. Matheussen <k.s.matheussen@...>, Ken Restivo <kenrestivo@...>
Date: Sunday, October 19, 2008 - 7:39 pm

On Sun, Oct 19, 2008 at 09:23:44PM +0200, Olivier Guilyardi wrote:

$ gdb --args ./test-int-array-jack 512
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
[Thread debugging using libthread_db enabled]
[New process 17156]
starting ringbuffer stress test (2 minutes max)
buffer size (bytes): 512
array size (bytes): 256
[New Thread 1082132816 (LWP 17164)]
[New Thread 47638797092576 (LWP 17156)]

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

Weird, indeed.

-ken
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAU] Simple, easy multithreaded circular buffer library..., Olivier Guilyardi, (Sun Oct 19, 7:23 pm)
Re: [LAU] Simple, easy multithreaded circular buffer library..., Ken Restivo, (Sun Oct 19, 7:39 pm)
Re: [LAU] Simple, easy multithreaded circular buffer library..., Olivier Guilyardi, (Mon Oct 20, 2:02 pm)