[Openal-devel] openal-soft
Jason Daly
jdaly at ist.ucf.edu
Fri Feb 8 14:21:35 PST 2008
Chris Robinson wrote:
>
> That backtrace is very odd. I can't see how '*list' would ever crash
> since 'list' is always set by taking the address of the the next device in
> the list (and there's no way it can't be in the list since that's where it
> got the device handle from to try and close in the first place).
>
> Perhaps it's actually crashing on the mixing thread. Can you get a backtrace
> of the other threads?
>
Could you post that trace again? I deleted the original message, but
now I might be running into the same problem. I'm purposely not closing
the device because I still need to work around a limitation of the SI
for the moment. Anyway, here's my trace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208603904 (LWP 14665)]
alcCloseDevice (pDevice=0xb5624298)
at /irl/work/jdaly/audio/openal-soft-1.2.218/Alc/ALc.c:1207
1207 while(*list != pDevice)
Current language: auto; currently c
(gdb) where
#0 alcCloseDevice (pDevice=0xb5624298)
at /irl/work/jdaly/audio/openal-soft-1.2.218/Alc/ALc.c:1207
#1 0x060bc0ca in ReleaseALC ()
at /irl/work/jdaly/audio/openal-soft-1.2.218/Alc/ALc.c:1248
#2 0x060bab91 in my_deinit ()
at /irl/work/jdaly/audio/openal-soft-1.2.218/OpenAL32/OpenAL32.c:65
#3 0x060af652 in __do_global_dtors_aux ()
from /irl/work/jdaly/audio/openal/lib/libopenal.so.1
#4 0x060c8fcc in _fini () from
/irl/work/jdaly/audio/openal/lib/libopenal.so.1
#5 0x00ac46de in _dl_fini () from /lib/ld-linux.so.2
#6 0x00b02859 in exit () from /lib/libc.so.6
#7 0x00aecdf4 in __libc_start_main () from /lib/libc.so.6
#8 0x08048591 in _start ()
(gdb) list
1202 if ((pDevice)&&(!pDevice->IsCaptureDevice))
1203 {
1204 SuspendContext(NULL);
1205
1206 list = &g_pDeviceList;
1207 while(*list != pDevice)
1208 list = &(*list)->next;
1209
1210 *list = (*list)->next;
1211 g_ulDeviceCount--;
(gdb) print *list
Cannot access memory at address 0x2c
(gdb)
--
--"J"
"I'm a castaway stranded in a desolate land,
I can see the footprints in the virtual sand."
--Neil Peart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal-devel/attachments/20080208/290769be/attachment.html
More information about the Openal-devel
mailing list