[pulseaudio-tickets] [PulseAudio] #363: pulseaudio exits when a remote peer closes a connection to module-simple-protocol-tcp.
PulseAudio
trac-noreply at tango.0pointer.de
Sat Sep 20 19:06:48 PDT 2008
#363: pulseaudio exits when a remote peer closes a connection to module-simple-
protocol-tcp.
----------------------+-----------------------------------------------------
Reporter: trustin | Owner: lennart
Type: defect | Status: new
Priority: normal | Milestone:
Component: daemon | Severity: major
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment (by trustin):
I'm using PulseAudio 0.9.10-r1 distributed with Gentoo Linux. The
following is the only patch applied:
{{{
Index: pulseaudio-0.9.10/src/daemon/caps.c
===================================================================
--- pulseaudio-0.9.10.orig/src/daemon/caps.c
+++ pulseaudio-0.9.10/src/daemon/caps.c
@@ -131,9 +131,8 @@ int pa_limit_caps(void) {
return 0;
}
-int pa_drop_caps(void) {
+void pa_drop_caps(void) {
pa_drop_root();
- return 0;
}
#endif
}}}
I've tried to generate the binary with debug information, but I couldn't.
Here's the GDB output anyway:
{{{
GNU gdb 6.7.1
Copyright (C) 2007 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-pc-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/lib64/libpulsecore.so.5...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libpulsecore.so.5
Reading symbols from /usr/lib64/libltdl.so.3...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libltdl.so.3
Reading symbols from /usr/lib64/libsamplerate.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsamplerate.so.0
Reading symbols from /usr/lib64/libsndfile.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libsndfile.so.1
Reading symbols from /usr/lib64/libFLAC.so.8...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libFLAC.so.8
Reading symbols from /usr/lib64/libogg.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libogg.so.0
Reading symbols from /usr/lib64/liboil-0.3.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/liboil-0.3.so.0
Reading symbols from /usr/lib64/libdbus-1.so.3...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libdbus-1.so.3
Reading symbols from /lib64/librt.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib64/libdl.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib64/libm.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols
found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib64/libc.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib64/pulse-0.9/modules/module-native-protocol-
unix.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/pulse-0.9/modules/module-native-protocol-
unix.so
Reading symbols from /usr/lib64/pulse-0.9/modules/libprotocol-
native.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/pulse-0.9/modules/libprotocol-native.so
Reading symbols from /usr/lib64/pulse-0.9/modules/libsocket-server.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/pulse-0.9/modules/libsocket-server.so
Reading symbols from /usr/lib64/pulse-0.9/modules/libsocket-util.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib64/pulse-0.9/modules/libsocket-util.so
Reading symbols from /usr/lib64/pulse-0.9/modules/libpstream.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/pulse-0.9/modules/libpstream.so
Reading symbols from /usr/lib64/pulse-0.9/modules/libpstream-util.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib64/pulse-0.9/modules/libpstream-util.so
Reading symbols from /usr/lib64/pulse-0.9/modules/libpdispatch.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/pulse-0.9/modules/libpdispatch.so
Reading symbols from /usr/lib64/pulse-0.9/modules/libtagstruct.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib64/pulse-0.9/modules/libtagstruct.so
Reading symbols from /usr/lib64/pulse-0.9/modules/libauthkey.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/pulse-0.9/modules/libauthkey.so
Reading symbols from /usr/lib64/pulse-0.9/modules/libauthkey-prop.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib64/pulse-0.9/modules/libauthkey-prop.so
Reading symbols from /usr/lib64/pulse-0.9/modules/libstrlist.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/pulse-0.9/modules/libstrlist.so
Reading symbols from /usr/lib64/pulse-0.9/modules/libiochannel.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib64/pulse-0.9/modules/libiochannel.so
Reading symbols from /usr/lib64/pulse-0.9/modules/libipacl.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/pulse-0.9/modules/libipacl.so
Reading symbols from /lib64/libwrap.so.0...(no debugging symbols
found)...done.
Loaded symbols for /lib/libwrap.so.0
Reading symbols from /usr/lib64/pulse-0.9/modules/libpacket.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/pulse-0.9/modules/libpacket.so
Reading symbols from /usr/lib64/pulse-0.9/modules/module-native-protocol-
tcp.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/pulse-0.9/modules/module-native-protocol-
tcp.so
Reading symbols from /lib64/libnss_files.so.2...
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/lib64/pulse-0.9/modules/module-simple-protocol-
tcp.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/pulse-0.9/modules/module-simple-protocol-
tcp.so
Reading symbols from /usr/lib64/pulse-0.9/modules/libprotocol-simple.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/pulse-0.9/modules/libprotocol-simple.so
Reading symbols from /usr/lib64/pulse-0.9/modules/module-default-device-
restore.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/pulse-0.9/modules/module-default-device-
restore.so
Reading symbols from /usr/lib64/pulse-0.9/modules/module-rescue-
streams.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/pulse-0.9/modules/module-rescue-streams.so
Reading symbols from /usr/lib64/pulse-0.9/modules/module-alsa-
sink.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/pulse-0.9/modules/module-alsa-sink.so
Reading symbols from /usr/lib64/libasound.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libasound.so.2
Reading symbols from /usr/lib64/pulse-0.9/modules/libalsa-util.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib64/pulse-0.9/modules/libalsa-util.so
(no debugging symbols found)
Core was generated by `pulseaudio -vvvvv --daemonize --high-priority
--realtime --disallow-module-load'.
Program terminated with signal 6, Aborted.
#0 0x00007f38a81950c5 in raise () from /lib/libc.so.6
(gdb) thread 1
[Switching to thread 1 (process 21725)]#0 0x00007f38a81950c5 in raise ()
from /lib/libc.so.6
(gdb) bt full
#0 0x00007f38a81950c5 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0x00007f38a819697e in abort () from /lib/libc.so.6
No symbol table info available.
#2 0x000000000066888c in pa_object_unref () from
/usr/lib/libpulsecore.so.5
No symbol table info available.
#3 0x00007f38a579dc7a in ?? ()
from /usr/lib64/pulse-0.9/modules/libprotocol-simple.so
No symbol table info available.
#4 0x00000000006688f4 in pa_object_unref () from
/usr/lib/libpulsecore.so.5
No symbol table info available.
#5 0x0000000000666d1f in pa_asyncmsgq_done () from
/usr/lib/libpulsecore.so.5
No symbol table info available.
#6 0x0000000000667af8 in ?? () from /usr/lib/libpulsecore.so.5
No symbol table info available.
#7 0x0000000000626ad4 in pa_mainloop_dispatch ()
from /usr/lib/libpulsecore.so.5
No symbol table info available.
#8 0x0000000000626bd4 in pa_mainloop_iterate ()
from /usr/lib/libpulsecore.so.5
No symbol table info available.
#9 0x0000000000626c17 in pa_mainloop_run () from
/usr/lib/libpulsecore.so.5
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#10 0x0000000000408cca in main ()
No symbol table info available.
(gdb) thread 2
[Switching to thread 2 (process 21726)]#0 0x00007f38a822e0c8 in ppoll ()
from /lib/libc.so.6
(gdb) bt full
#0 0x00007f38a822e0c8 in ppoll () from /lib/libc.so.6
No symbol table info available.
#1 0x000000000066a2e8 in pa_rtpoll_run () from /usr/lib/libpulsecore.so.5
No symbol table info available.
#2 0x00007f38a5192827 in ?? ()
from /usr/lib64/pulse-0.9/modules/module-alsa-sink.so
No symbol table info available.
#3 0x000000000066d278 in ?? () from /usr/lib/libpulsecore.so.5
No symbol table info available.
#4 0x00007f38a84c03a7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5 0x00007f38a8236b6d in clone () from /lib/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)
}}}
I'd like to run it again with debug symbols attached, but how? What flag
do I need to append? I replaced -O3 with -O, removed -fomit-frame-
pointers, added -ggdb, and removed -UNDEBUG, but it still doesn't generate
debug binary.
--
Ticket URL: <http://www.pulseaudio.org/ticket/363#comment:4>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list