Bug#589896: openarena: segfaults when using pulse-via-ALSA output and PulseAudio capture

Simon McVittie smcv at debian.org
Thu Jul 22 00:02:29 UTC 2010


Package: openarena
Version: 0.8.1-7
Severity: normal

OA can be configured such that it segfaults on startup. I believe this is
caused by the following situation, which I might have got into by
reconfiguring it to make better use of PulseAudio in the past:

- OpenAL enabled (+set s_useOpenAL 1)
- output (s_alDevice) is "ALSA Software", which is in turn configured via
  .asoundrc to use the ALSA pulse plugin
- OpenAL capture source, selected automatically by the engine, is PulseAudio
- audio capture enabled (set s_alCapture 1)

I could work around this by either setting s_alDevice to "PulseAudio Software"
or setting s_alCapture to 0. These settings get saved to q3config.cfg
automatically.

This might be the same as this Ubuntu bug:

    https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/584393

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages openarena depends on:
ii  libc6                     2.11.2-2       Embedded GNU C Library: Shared lib
ii  libcurl3-gnutls           7.21.0-1       Multi-protocol file transfer libra
ii  libgl1-mesa-glx [libgl1]  7.7.1-4        A free implementation of the OpenG
ii  libogg0                   1.2.0~dfsg-1   Ogg bitstream library
ii  libopenal1                1:1.12.854-2   Software implementation of the Ope
ii  libsdl1.2debian           1.2.14-6       Simple DirectMedia Layer
ii  libspeex1                 1.2~rc1-1      The Speex codec runtime library
ii  libspeexdsp1              1.2~rc1-1      The Speex extended runtime library
ii  libvorbis0a               1.3.1-1        The Vorbis General Audio Compressi
ii  libvorbisfile3            1.3.1-1        The Vorbis General Audio Compressi
ii  openarena-data            0.8.1+dfsg1-1  OpenArena game data
ii  openarena-server          0.8.1-8        game server for the game OpenArena

openarena recommends no packages.

openarena suggests no packages.

-- no debconf information
-------------- next part --------------
(gdb) thread apply all bt 

Thread 4 (Thread 30183):
#0  0x00007f3c55be4103 in *__GI___poll (fds=<value optimized out>, 
    nfds=<value optimized out>, timeout=30000)
    at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3c55707adf in poll_func (ufds=0x3997b30, nfds=2, timeout=30000, 
    userdata=0x39baa10) at pulse/thread-mainloop.c:75
#2  0x00007f3c556f7b76 in pa_mainloop_poll (m=0x39b8d80)
    at pulse/mainloop.c:879
#3  0x00007f3c556f8f59 in pa_mainloop_iterate (m=0x39b8d80, 
    block=<value optimized out>, retval=0x0) at pulse/mainloop.c:961
#4  0x00007f3c556f9010 in pa_mainloop_run (m=0x39b8d80, retval=0x0)
    at pulse/mainloop.c:979
#5  0x00007f3c557078eb in thread (userdata=0x398d2f0)
    at pulse/thread-mainloop.c:94
#6  0x00007f3c52c51710 in internal_thread_func (userdata=0x398c180)
    at pulsecore/thread-posix.c:72
#7  0x00007f3c54bc38ba in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
#8  0x00007f3c55bef01d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

---Type <return> to continue, or q <return> to quit---
Thread 3 (Thread 30172):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:140
#1  0x00007f3c557073db in pa_threaded_mainloop_wait (m=0x398d2f0)
    at pulse/thread-mainloop.c:209
#2  0x00007f3c57205239 in pulse_open_capture (device=0x7f3c43632010, 
    device_name=<value optimized out>)
    at /home/smcv/src/debian/games/openal-soft/Alc/pulseaudio.c:876
#3  0x00007f3c571e0207 in alcCaptureOpenDevice (deviceName=0x0, 
    frequency=<value optimized out>, format=<value optimized out>, 
    SampleSize=<value optimized out>)
    at /home/smcv/src/debian/games/openal-soft/Alc/ALc.c:712
#4  0x0000000000470faf in ?? ()
#5  0x000000000046ec7c in ?? ()
#6  0x0000000000426773 in ?? ()
#7  0x0000000000449411 in ?? ()
#8  0x0000000000564bb1 in ?? ()
#9  0x00007f3c55b3ec4d in __libc_start_main (main=<value optimized out>, 
    argc=<value optimized out>, ubp_av=<value optimized out>, 
    init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff991eba38)
    at libc-start.c:228
#10 0x0000000000406b49 in ?? ()
---Type <return> to continue, or q <return> to quit---
#11 0x00007fff991eba38 in ?? ()
#12 0x000000000000001c in ?? ()
#13 0x0000000000000004 in ?? ()
#14 0x00007fff991ec421 in ?? ()
#15 0x00007fff991ec42b in ?? ()
#16 0x00007fff991ec430 in ?? ()
#17 0x00007fff991ec43c in ?? ()
#18 0x0000000000000000 in ?? ()

Thread 2 (Thread 30178):
#0  0x00007f3c55be4103 in *__GI___poll (fds=<value optimized out>, 
    nfds=<value optimized out>, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3c437184da in ?? () from /usr/lib/libasound.so.2
#2  0x00007f3c437187bd in ?? () from /usr/lib/libasound.so.2
#3  0x00007f3c437569ab in ?? () from /usr/lib/libasound.so.2
#4  0x00007f3c571fbc48 in ALSANoMMapProc (ptr=<value optimized out>)
    at /home/smcv/src/debian/games/openal-soft/Alc/alsa.c:453
#5  0x00007f3c571f99aa in StarterFunc (ptr=0x398d1a0)
    at /home/smcv/src/debian/games/openal-soft/Alc/alcThread.c:95
#6  0x00007f3c54bc38ba in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
#7  0x00007f3c55bef01d in clone ()
---Type <return> to continue, or q <return> to quit---
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 30177):
#0  0x00007f3c434bf9b0 in ?? ()
#1  0x00007f3c557039c7 in pa_command_request (pd=<value optimized out>, 
    command=<value optimized out>, tag=<value optimized out>, t=0x398ce00, 
    userdata=0x398b980) at pulse/stream.c:745
#2  0x00007f3c52c405b6 in pa_pdispatch_run (pd=0x39ba7d0, 
    packet=<value optimized out>, creds=<value optimized out>, 
    userdata=0x398b980) at pulsecore/pdispatch.c:331
#3  0x00007f3c556ebd9d in pstream_packet_callback (p=<value optimized out>, 
    packet=0x39b9f70, creds=0x398c480, userdata=0x398b980)
    at pulse/context.c:360
#4  0x00007f3c52c44324 in do_read (p=0x398c330) at pulsecore/pstream.c:816
#5  do_something (p=0x398c330) at pulsecore/pstream.c:184
#6  0x00007f3c556f8bdd in dispatch_pollfds (m=0x398b030)
    at pulse/mainloop.c:688
#7  pa_mainloop_dispatch (m=0x398b030) at pulse/mainloop.c:933
#8  0x00007f3c556f8f68 in pa_mainloop_iterate (m=0x398b030, 
    block=<value optimized out>, retval=0x0) at pulse/mainloop.c:964
#9  0x00007f3c556f9010 in pa_mainloop_run (m=0x398b030, retval=0x0)
    at pulse/mainloop.c:979
---Type <return> to continue, or q <return> to quit---
#10 0x00007f3c557078eb in thread (userdata=0x39bad90)
    at pulse/thread-mainloop.c:94
#11 0x00007f3c52c51710 in internal_thread_func (userdata=0x398d360)
    at pulsecore/thread-posix.c:72
#12 0x00007f3c54bc38ba in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
#13 0x00007f3c55bef01d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 793 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20100722/01e577bc/attachment-0001.pgp>


More information about the Pkg-games-devel mailing list