Bug#562524: libopenal1: warzone2100 and openal-info hang with drivers=pulse (but not chromium-bsu)

Paul Wise pabs at debian.org
Fri Dec 25 12:50:59 UTC 2009


Package: libopenal1
Version: 1:1.10.622-1
Severity: important

The pulseaudio driver causes both openal-info and warzone2100 to hang on
startup. Interestingly, chromium-bsu does not trigger this issue. Prior
to openal-soft 1:1.10.622-1 warzone2100 would start up fine but only
send silence on to pulseaudio. I've included backtraces for both
openal-info and warzone2100 when interrupted using Ctrl+C in GDB:

pabs at chianamo:~/tmp/openal-soft-1.10.622/examples$ gcc -g -lopenal -o openal-info openal-info.c 
pabs at chianamo:~/tmp/openal-soft-1.10.622/examples$ gdb ./openal-info 
GNU gdb (GDB) 7.0-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/pabs/tmp/openal-soft-1.10.622/examples/openal-info...done.
(gdb) r
Starting program: /home/pabs/tmp/openal-soft-1.10.622/examples/openal-info 
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff3744910 (LWP 6983)]
^C
Program received signal SIGINT, Interrupt.
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
261	../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such file or directory.
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
Current language:  auto
The current source language is "auto; currently asm".
(gdb) thread apply all bt full

Thread 2 (Thread 0x7ffff3744910 (LWP 6983)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
No locals.
#1  0x00007ffff6d7f73d in pa_threaded_mainloop_signal (m=0x60bcd0, wait_for_accept=1) at pulse/thread-mainloop.c:197
        __func__ = "pa_threaded_mainloop_signal"
        __PRETTY_FUNCTION__ = "pa_threaded_mainloop_signal"
#2  0x00007ffff6d622e7 in pa_context_set_state (c=0x60bed0, st=PA_CONTEXT_AUTHORIZING) at pulse/context.c:316
        __func__ = "pa_context_set_state"
        __PRETTY_FUNCTION__ = "pa_context_set_state"
#3  0x00007ffff6d63be8 in setup_context (client=<value optimized out>, io=0x628db0, userdata=0x60bed0) at pulse/context.c:586
        t = 0x60b6c0
        tag = 0
        __func__ = "setup_context"
        __PRETTY_FUNCTION__ = "setup_context"
#4  on_connection (client=<value optimized out>, io=0x628db0, userdata=0x60bed0) at pulse/context.c:910
        saved_errno = 0
        __func__ = "on_connection"
        __PRETTY_FUNCTION__ = "on_connection"
#5  0x00007ffff6b33b65 in do_call (c=0x628e00) at pulsecore/socket-client.c:166
        io = 0x628db0
        error = 0
        lerror = 4
        __func__ = "do_call"
        __PRETTY_FUNCTION__ = "do_call"
#6  0x00007ffff6d70c9b in dispatch_defer (m=0x60b9e0) at pulse/mainloop.c:713
        e = 0x60b7c0
        __func__ = "dispatch_defer"
        __PRETTY_FUNCTION__ = "dispatch_defer"
#7  pa_mainloop_dispatch (m=0x60b9e0) at pulse/mainloop.c:924
        dispatched = 0
        __func__ = "pa_mainloop_dispatch"
        __PRETTY_FUNCTION__ = "pa_mainloop_dispatch"
#8  0x00007ffff6d71096 in pa_mainloop_iterate (m=0x60b9e0, block=<value optimized out>, retval=0x0) at pulse/mainloop.c:964
        r = <value optimized out>
        __func__ = "pa_mainloop_iterate"
        __PRETTY_FUNCTION__ = "pa_mainloop_iterate"
#9  0x00007ffff6d71140 in pa_mainloop_run (m=0x60b9e0, retval=0x0) at pulse/mainloop.c:979
        r = <value optimized out>
#10 0x00007ffff6d7fb1d in thread (userdata=0x60bcd0) at pulse/thread-mainloop.c:94
        mask = {__val = {18446744067267100671, 18446744073709551615 <repeats 15 times>}}
#11 0x00007ffff6b3da00 in internal_thread_func (userdata=0x60bb20) at pulsecore/thread-posix.c:72
        __func__ = "internal_thread_func"
        __PRETTY_FUNCTION__ = "internal_thread_func"
---Type <return> to continue, or q <return> to quit---
#12 0x00007ffff742073a in start_thread (arg=<value optimized out>) at pthread_create.c:300
        __res = <value optimized out>
        pd = 0x7ffff3744910
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737277872400, -4762386204627308281, 140737341728896, 0, 140737354129472, 3, 4762411548387307783, 4762403218367443207}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
#13 0x00007ffff790969d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#14 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 1 (Thread 0x7ffff7fd96f0 (LWP 6980)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
No locals.
#1  0x00007ffff6d7f60b in pa_threaded_mainloop_wait (m=0x60bcd0) at pulse/thread-mainloop.c:209
        __func__ = "pa_threaded_mainloop_wait"
        __PRETTY_FUNCTION__ = "pa_threaded_mainloop_wait"
#2  0x00007ffff7bbd4d9 in pulse_open (device=0x7ffff7f06010, device_name=0x7ffff7bc3120 "PulseAudio Software") at /build/buildd/openal-soft-1.10.622/Alc/pulseaudio.c:391
        data = <value optimized out>
        state = <value optimized out>
#3  0x00007ffff7bbe393 in pulse_open_playback (device=0x7ffff7f06010, device_name=0x7ffff7bc3120 "PulseAudio Software") at /build/buildd/openal-soft-1.10.622/Alc/pulseaudio.c:452
No locals.
#4  0x00007ffff7ba6fc2 in alcOpenDevice (deviceName=0x0) at /build/buildd/openal-soft-1.10.622/Alc/ALc.c:1587
        fmt = <value optimized out>
        device = 0x7ffff7f06010
        i = 1
#5  0x000000000040143d in main () at openal-info.c:279
        device = 0x7fffffffdf60
        context = 0x0
(gdb) quit
A debugging session is active.

	Inferior 1 [process 6980] will be killed.

Quit anyway? (y or n) y

pabs at chianamo:~$ gdb warzone2100 
GNU gdb (GDB) 7.0-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/games/warzone2100...Reading symbols from /usr/lib/debug/usr/games/warzone2100...done.
(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/games/warzone2100 
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffef880910 (LWP 6271)]
[New Thread 0x7fffee91e910 (LWP 6273)]
[New Thread 0x7fffec9c1910 (LWP 6274)]
[Thread 0x7fffef880910 (LWP 6271) exited]
^C
Program received signal SIGINT, Interrupt.
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
261	../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such file or directory.
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
Current language:  auto
The current source language is "auto; currently asm".
(gdb) thread apply all bt full

Thread 4 (Thread 0x7fffec9c1910 (LWP 6274)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
No locals.
#1  0x00007ffff4c7873d in pa_threaded_mainloop_signal (m=0x14faa90, wait_for_accept=1) at pulse/thread-mainloop.c:197
        __func__ = "pa_threaded_mainloop_signal"
        __PRETTY_FUNCTION__ = "pa_threaded_mainloop_signal"
#2  0x00007ffff4c5b2e7 in pa_context_set_state (c=0x1842e50, st=PA_CONTEXT_AUTHORIZING) at pulse/context.c:316
        __func__ = "pa_context_set_state"
        __PRETTY_FUNCTION__ = "pa_context_set_state"
#3  0x00007ffff4c5cbe8 in setup_context (client=<value optimized out>, io=0x1854130, userdata=0x1842e50) at pulse/context.c:586
        t = 0x1853fc0
        tag = 0
        __func__ = "setup_context"
        __PRETTY_FUNCTION__ = "setup_context"
#4  on_connection (client=<value optimized out>, io=0x1854130, userdata=0x1842e50) at pulse/context.c:910
        saved_errno = 0
        __func__ = "on_connection"
        __PRETTY_FUNCTION__ = "on_connection"
#5  0x00007ffff2a02b65 in do_call (c=0x1854180) at pulsecore/socket-client.c:166
        io = 0x1854130
        error = 0
        lerror = 4
        __func__ = "do_call"
        __PRETTY_FUNCTION__ = "do_call"
#6  0x00007ffff4c69c9b in dispatch_defer (m=0x1842ac0) at pulse/mainloop.c:713
        e = 0x1843d80
        __func__ = "dispatch_defer"
        __PRETTY_FUNCTION__ = "dispatch_defer"
#7  pa_mainloop_dispatch (m=0x1842ac0) at pulse/mainloop.c:924
        dispatched = 0
        __func__ = "pa_mainloop_dispatch"
        __PRETTY_FUNCTION__ = "pa_mainloop_dispatch"
#8  0x00007ffff4c6a096 in pa_mainloop_iterate (m=0x1842ac0, block=<value optimized out>, retval=0x0) at pulse/mainloop.c:964
        r = <value optimized out>
        __func__ = "pa_mainloop_iterate"
        __PRETTY_FUNCTION__ = "pa_mainloop_iterate"
#9  0x00007ffff4c6a140 in pa_mainloop_run (m=0x1842ac0, retval=0x0) at pulse/mainloop.c:979
        r = <value optimized out>
#10 0x00007ffff4c78b1d in thread (userdata=0x14faa90) at pulse/thread-mainloop.c:94
        mask = {__val = {18446744067267100671, 18446744073709551615 <repeats 15 times>}}
#11 0x00007ffff2a0ca00 in internal_thread_func (userdata=0x1842c40) at pulsecore/thread-posix.c:72
        __func__ = "internal_thread_func"
        __PRETTY_FUNCTION__ = "internal_thread_func"
---Type <return> to continue, or q <return> to quit---
#12 0x00007ffff55d673a in start_thread (arg=<value optimized out>) at pthread_create.c:300
        __res = <value optimized out>
        pd = 0x7fffec9c1910
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737163041040, 5254217679765944624, 140737309968512, 0, 140737354129472, 3, -5254185516116035280, -5254203648912213712}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
#13 0x00007ffff58b769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#14 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 3 (Thread 0x7fffee91e910 (LWP 6273)):
#0  0x00007ffff5888c91 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00007ffff7b80834 in SDL_Delay () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#2  0x00007ffff7b80872 in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#3  0x00007ffff7b372f7 in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#4  0x00007ffff7b7d9e9 in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#5  0x00007ffff55d673a in start_thread (arg=<value optimized out>) at pthread_create.c:300
        __res = <value optimized out>
        pd = 0x7fffee91e910
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737195927824, 5254217679765944624, 140737488346240, 0, 140737354129472, 3, -5254181207726966480, -5254203648912213712}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
#6  0x00007ffff58b769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#7  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 1 (Thread 0x7ffff7fc6790 (LWP 6262)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
No locals.
#1  0x00007ffff4c7860b in pa_threaded_mainloop_wait (m=0x14faa90) at pulse/thread-mainloop.c:209
        __func__ = "pa_threaded_mainloop_wait"
        __PRETTY_FUNCTION__ = "pa_threaded_mainloop_wait"
#2  0x00007ffff6c364d9 in pulse_open (device=0x185ecf0, device_name=0x7ffff6c3c120 "PulseAudio Software") at /build/buildd/openal-soft-1.10.622/Alc/pulseaudio.c:391
        data = <value optimized out>
        state = <value optimized out>
#3  0x00007ffff6c37393 in pulse_open_playback (device=0x185ecf0, device_name=0x7ffff6c3c120 "PulseAudio Software") at /build/buildd/openal-soft-1.10.622/Alc/pulseaudio.c:452
No locals.
---Type <return> to continue, or q <return> to quit---
#4  0x00007ffff6c1ffc2 in alcOpenDevice (deviceName=0x0) at /build/buildd/openal-soft-1.10.622/Alc/ALc.c:1587
        fmt = <value optimized out>
        device = 0x185ecf0
        i = 1
#5  0x0000000000585a6e in sound_InitLibrary () at openal_track.c:180
        err = <value optimized out>
        listenerVel = {0, 0, 0}
        listenerOri = {0, 0, 1, 0, 1, 0}
        __FUNCTION__ = "sound_InitLibrary"
#6  0x00000000005867f3 in sound_Init () at track.c:52
        __FUNCTION__ = "sound_Init"
#7  0x00000000005839b1 in audio_Init (pStopTrackCallback=0x1842bc4) at audio.c:103
No locals.
#8  0x00000000004defaa in systemInitialise () at init.c:433
        __FUNCTION__ = "systemInitialise"
#9  0x00000000004f9a9a in main (argc=<value optimized out>, argv=<value optimized out>) at main.c:1035
        __FUNCTION__ = "main"
Current language:  auto
The current source language is "auto; currently c".
Current language:  auto
The current source language is "auto; currently asm".
(gdb) quit
A debugging session is active.

	Inferior 1 [process 6262] will be killed.

Quit anyway? (y or n) y

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libopenal1 depends on:
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries

-- 
bye,
pabs

http://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20091225/d9b302b4/attachment.pgp>


More information about the Pkg-games-devel mailing list