[pulseaudio-tickets] [PulseAudio] #195: possible deadlocks when running pulseaudio with --high-priority=1
PulseAudio
trac-noreply at tango.0pointer.de
Fri Dec 21 03:37:42 PST 2007
#195: possible deadlocks when running pulseaudio with --high-priority=1
--------------------------+-------------------------------------------------
Reporter: kaivehmanen | Owner: lennart
Type: defect | Status: new
Priority: normal | Milestone:
Component: core | Severity: normal
Resolution: | Keywords: SCHED_FIFO
--------------------------+-------------------------------------------------
Comment (by kaivehmanen):
{{{
Some backtraces attached (sorry, debugging symbols lacking from many
libraries):
chrt info
--cut--
pid 7280's current scheduling policy: SCHED_OTHER
pid 7280's current scheduling priority: 0
pid 7287's current scheduling policy: SCHED_FIFO
pid 7287's current scheduling priority: 1
--cut--
thread 1
--cut--
Using host libthread_db library "/lib/libthread_db.so.1".
Attaching to program: /usr/bin/pulseaudio, process 7280 Reading symbols
from /lib/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libpulsecore.so.4...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libpulsecore.so.4 Reading symbols from
/usr/lib/libsndfile.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsndfile.so.1 Reading symbols from
/usr/lib/liboil-0.3.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/liboil-0.3.so.0 Reading symbols from
/usr/lib/libdbus-1.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdbus-1.so.3 Reading symbols from
/lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libdl.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.3...
(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.3
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnss_files.so.2 Reading symbols from
/usr/lib/pulse-0.9/modules/module-alsa-sink.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/module-alsa-sink.so
Reading symbols from /usr/lib/libasound.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libasound.so.2 Reading symbols from
/usr/lib/pulse-0.9/modules/libalsa-util.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libalsa-util.so
Reading symbols from /usr/lib/pulse-0.9/modules/module-native-protocol-
unix.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/module-native-protocol-
unix.so
Reading symbols from /usr/lib/pulse-0.9/modules/libprotocol-native.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libprotocol-native.so
Reading symbols from /usr/lib/pulse-0.9/modules/libsocket-server.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libsocket-server.so
Reading symbols from /usr/lib/pulse-0.9/modules/libsocket-util.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libsocket-util.so
Reading symbols from /usr/lib/pulse-0.9/modules/libpstream.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libpstream.so
Reading symbols from /usr/lib/pulse-0.9/modules/libpstream-util.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libpstream-util.so
Reading symbols from /usr/lib/pulse-0.9/modules/libpdispatch.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libpdispatch.so
Reading symbols from /usr/lib/pulse-0.9/modules/libtagstruct.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libtagstruct.so
Reading symbols from /usr/lib/pulse-0.9/modules/libauthkey.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libauthkey.so
Reading symbols from /usr/lib/pulse-0.9/modules/libauthkey-prop.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libauthkey-prop.so
Reading symbols from /usr/lib/pulse-0.9/modules/libstrlist.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libstrlist.so
Reading symbols from /usr/lib/pulse-0.9/modules/libiochannel.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libiochannel.so
Reading symbols from /usr/lib/pulse-0.9/modules/libipacl.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libipacl.so
Reading symbols from /usr/lib/pulse-0.9/modules/libpacket.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libpacket.so
Reading symbols from /usr/lib/pulse-0.9/modules/module-rescue-
streams.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/module-rescue-streams.so
Reading symbols from /usr/lib/pulse-0.9/modules/module-suspend-on-
idle.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/module-suspend-on-idle.so
0x4003042c in sem_wait
() from /lib/libpthread.so.0
(gdb) bt
#0 0x4003042c in sem_wait () from /lib/libpthread.so.0
#1 0x40091058 in pa_semaphore_wait () from /usr/lib/libpulsecore.so.4
#2 0x4008b248 in pa_asyncmsgq_send () from /usr/lib/libpulsecore.so.4
#3 0x40e80a44 in ?? () from /usr/lib/pulse-0.9/modules/libprotocol-
native.so
--cut--
thread 2 (SCHED_FIFO thread)
--cut--
warning: process 7287 is a cloned process Reading symbols from
/lib/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libpulsecore.so.4...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libpulsecore.so.4 Reading symbols from
/usr/lib/libsndfile.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsndfile.so.1 Reading symbols from
/usr/lib/liboil-0.3.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/liboil-0.3.so.0 Reading symbols from
/usr/lib/libdbus-1.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdbus-1.so.3 Reading symbols from
/lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libdl.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.3...
(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.3
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnss_files.so.2 Reading symbols from
/usr/lib/pulse-0.9/modules/module-alsa-sink.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/module-alsa-sink.so
Reading symbols from /usr/lib/libasound.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libasound.so.2 Reading symbols from
/usr/lib/pulse-0.9/modules/libalsa-util.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libalsa-util.so
Reading symbols from /usr/lib/pulse-0.9/modules/module-native-protocol-
unix.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/module-native-protocol-
unix.so
Reading symbols from /usr/lib/pulse-0.9/modules/libprotocol-native.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libprotocol-native.so
Reading symbols from /usr/lib/pulse-0.9/modules/libsocket-server.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libsocket-server.so
Reading symbols from /usr/lib/pulse-0.9/modules/libsocket-util.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libsocket-util.so
Reading symbols from /usr/lib/pulse-0.9/modules/libpstream.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libpstream.so
Reading symbols from /usr/lib/pulse-0.9/modules/libpstream-util.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libpstream-util.so
Reading symbols from /usr/lib/pulse-0.9/modules/libpdispatch.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libpdispatch.so
Reading symbols from /usr/lib/pulse-0.9/modules/libtagstruct.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libtagstruct.so
Reading symbols from /usr/lib/pulse-0.9/modules/libauthkey.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libauthkey.so
Reading symbols from /usr/lib/pulse-0.9/modules/libauthkey-prop.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libauthkey-prop.so
Reading symbols from /usr/lib/pulse-0.9/modules/libstrlist.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libstrlist.so
Reading symbols from /usr/lib/pulse-0.9/modules/libiochannel.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libiochannel.so
Reading symbols from /usr/lib/pulse-0.9/modules/libipacl.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libipacl.so
Reading symbols from /usr/lib/pulse-0.9/modules/libpacket.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/libpacket.so
Reading symbols from /usr/lib/pulse-0.9/modules/module-rescue-
streams.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/module-rescue-streams.so
Reading symbols from /usr/lib/pulse-0.9/modules/module-suspend-on-
idle.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pulse-0.9/modules/module-suspend-on-idle.so
0x4002b71c in pthread_mutex_lock () from /lib/libpthread.so.0
(gdb) bt
#0 0x4002b71c in pthread_mutex_lock () from /lib/libpthread.so.0
#1 0x40090428 in pa_mutex_lock () from /usr/lib/libpulsecore.so.4
#2 0x4006a0a8 in pa_memblock_unref () from /usr/lib/libpulsecore.so.4
#3 0x400803ec in pa_sink_input_peek () from /usr/lib/libpulsecore.so.4
#4 0x4007b114 in ?? () from /usr/lib/libpulsecore.so.4
--cut--
}}}
--
Ticket URL: <http://www.pulseaudio.org/ticket/195#comment:1>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list