Bug#608621: ogg123: Assertion 'p' failed at pulse/simple.c:384, function pa_simple_drain()

Jonathan Nieder jrnieder at gmail.com
Sun Jan 2 02:05:56 UTC 2011


Package: vorbis-tools
Version: 1.4.0-1

Using ogg123 to play through pulseaudio consistently segfaults
for me.

$ gdb --args ogg123  -d pulse TWID_001.ogg;	# This week in Debian, #1
GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/ogg123...Reading symbols from /usr/lib/debug/usr/bin/ogg123...done.
done.
(gdb) run
Starting program: /usr/bin/ogg123 -d pulse TWID_001.ogg
[Thread debugging using libthread_db enabled]

Audio Device:   PulseAudio Output

[New Thread 0xb714fb70 (LWP 5986)]
Playing: TWID_001.ogg
Ogg Vorbis stream: 2 channel, 44100 Hz
Description: audiotest wave
[New Thread 0xb2946b70 (LWP 5987)]
[New Thread 0xb2145b70 (LWP 5988)]
[New Thread 0xb1944b70 (LWP 5989)]
[Thread 0xb2946b70 (LWP 5987) exited]
[Thread 0xb1944b70 (LWP 5989) exited]
[Thread 0xb2145b70 (LWP 5988) exited]
Assertion 'p' failed at pulse/simple.c:384, function pa_simple_drain(). Aborting.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb714fb70 (LWP 5986)]
0xb7fe2424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb7d6a751 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xb7d6db82 in abort () at abort.c:92
#3  0xb7fd5c87 in pa_simple_drain () from /usr/lib/libpulse-simple.so.0
#4  0xb7fd8b67 in ao_plugin_close () from /usr/lib/ao/plugins-4/libpulse.so
#5  0xb7f9b80c in ao_close () from /usr/lib/libao.so.4
#6  0xb7f9cd13 in ?? () from /usr/lib/libao.so.4
#7  0x0804ca47 in audio_reopen_action (buf=0xb7151008, arg=0x808cea8) at callbacks.c:65
#8  0x0804b150 in execute_actions (buf=0xb7151008, action_list=0xb71510c4, position=0) at buffer.c:154
#9  0x0804c3ef in buffer_thread_func (arg=0xb7151008) at buffer.c:237
#10 0xb7f1f955 in start_thread (arg=0xb714fb70) at pthread_create.c:300
#11 0xb7e0be7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
(gdb) bt full
#0  0xb7fe2424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7d6a751 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        resultvar = <value optimized out>
        pid = -1209524236
        selftid = 5986
#2  0xb7d6db82 in abort () at abort.c:92
        act = {__sigaction_handler = {sa_handler = 0x4, sa_sigaction = 0x4}, sa_mask = {__val = {3071602712, 
              3084582028, 1633839468, 3087003636, 3086590748, 3, 3071602844, 3086925606, 3071602744, 3084595560, 
              134812416, 3071602831, 4, 3086620008, 1, 134812456, 3071603112, 3086590824, 3086989148, 3071602788, 
              1, 10, 3086591544, 134669604, 1174141162, 3071602831, 61, 3086622720, 0, 0, 5, 45}}, sa_flags = 0, 
          sa_restorer = 0xb7fa2000}
        sigs = {__val = {32, 0 <repeats 31 times>}}
#3  0xb7fd5c87 in pa_simple_drain () from /usr/lib/libpulse-simple.so.0
No symbol table info available.
#4  0xb7fd8b67 in ao_plugin_close () from /usr/lib/ao/plugins-4/libpulse.so
No symbol table info available.
#5  0xb7f9b80c in ao_close () from /usr/lib/libao.so.4
No symbol table info available.
#6  0xb7f9cd13 in ?? () from /usr/lib/libao.so.4
No symbol table info available.
#7  0x0804ca47 in audio_reopen_action (buf=0xb7151008, arg=0x808cea8) at callbacks.c:65
        info = 0x0
        current = 0xb7fda778
        format = {bits = 16, rate = 44100, channels = 2, byte_format = 1, matrix = 0x808ce98 "L,R"}
#8  0x0804b150 in execute_actions (buf=0xb7151008, action_list=0xb71510c4, position=0) at buffer.c:154
No locals.
#9  0x0804c3ef in buffer_thread_func (arg=0xb7151008) at buffer.c:237
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1208811532, -1223361680, 4001536, -1223363720, 
                -141991790, -672156180}, __mask_was_saved = 0}}, __pad = {0xb714f434, 0x0, 0xb7f1c224, 0x16088}}
        not_first_call = <value optimized out>
        buf = 0xb7151008
        write_amount = <value optimized out>
#10 0xb7f1f955 in start_thread (arg=0xb714fb70) at pthread_create.c:300
        __res = <value optimized out>
        __ignore1 = <value optimized out>
        __ignore2 = <value optimized out>
        pd = 0xb714fb70
        now = <value optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1208811532, 0, 4001536, -1223363464, -141844334, 1033816723}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, 
              canceltype = 0}}}
---Type <return> to continue, or q <return> to quit---
        not_first_call = <value optimized out>
        freesize = <value optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#11 0xb7e0be7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
(gdb) q
$ dpkg -l libao4 libpulse0 | tail -2
ii  libao4             1.0.0-5         Cross Platform Audio Output Library
ii  libpulse0          0.9.22-1        PulseAudio client libraries

Hints for debugging this?





More information about the pkg-xiph-maint mailing list