[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
Sun Sep 21 04:09:40 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):
This one might be better (replaced -O option with -O0):
{{{
Core was generated by `pulseaudio -vvvvv --daemonize --high-priority
--realtime --disallow-module-load'.
Program terminated with signal 6, Aborted.
#0 0x00007f5af392a0c5 in raise () from /lib/libc.so.6
(gdb) info threads
2 process 12206 0x00007f5af39c30c8 in ppoll () from /lib/libc.so.6
* 1 process 12205 0x00007f5af392a0c5 in raise () from /lib/libc.so.6
(gdb) thread 1
[Switching to thread 1 (process 12205)]#0 0x00007f5af392a0c5 in raise ()
from /lib/libc.so.6
(gdb) bt full
#0 0x00007f5af392a0c5 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0x00007f5af392b97e in abort () from /lib/libc.so.6
No symbol table info available.
#2 0x00000000006774fa in pa_object_unref (o=0xb21320) at
pulsecore/object.c:60
__func__ = "pa_object_unref"
__PRETTY_FUNCTION__ = "pa_object_unref"
#3 0x00007f5af0f2f298 in connection_unref (o=0xb21320)
at pulsecore/protocol-simple.c:69
No locals.
#4 0x00007f5af0f2f320 in connection_free (o=0xb21320)
at pulsecore/protocol-simple.c:143
c = (connection *) 0xb21320
__func__ = "connection_free"
__PRETTY_FUNCTION__ = "connection_free"
#5 0x0000000000677580 in pa_object_unref (o=0xb21320) at
pulsecore/object.c:64
__func__ = "pa_object_unref"
__PRETTY_FUNCTION__ = "pa_object_unref"
#6 0x0000000000674536 in pa_msgobject_unref (o=0xb21320)
at ./pulsecore/msgobject.h:52
No locals.
#7 0x0000000000675137 in pa_asyncmsgq_done (a=0xb28460, ret=0)
at pulsecore/asyncmsgq.c:220
---Type <return> to continue, or q <return> to quit---
__func__ = "pa_asyncmsgq_done"
__PRETTY_FUNCTION__ = "pa_asyncmsgq_done"
#8 0x0000000000675ec9 in asyncmsgq_cb (api=0xb146f8, e=0xb28930, fd=16,
events=PA_IO_EVENT_INPUT, userdata=0xb27f00) at pulsecore/thread-
mq.c:68
ret = 0
data = (void *) 0x0
chunk = {memblock = 0x0, index = 0, length = 0}
object = (pa_msgobject *) 0xb21320
code = 2
offset = 0
q = (pa_thread_mq *) 0xb27f00
aq = (pa_asyncmsgq *) 0xb28460
__func__ = "asyncmsgq_cb"
__PRETTY_FUNCTION__ = "asyncmsgq_cb"
#9 0x00000000006290ed in dispatch_pollfds (m=0xb146a0) at
pulse/mainloop.c:679
e = (pa_io_event *) 0xb28930
r = 0
k = 1
__func__ = "dispatch_pollfds"
__PRETTY_FUNCTION__ = "dispatch_pollfds"
#10 0x0000000000629d2c in pa_mainloop_dispatch (m=0xb146a0)
at pulse/mainloop.c:892
dispatched = 0
---Type <return> to continue, or q <return> to quit---
__func__ = "pa_mainloop_dispatch"
__PRETTY_FUNCTION__ = "pa_mainloop_dispatch"
#11 0x0000000000629ea0 in pa_mainloop_iterate (m=0xb146a0, block=1,
retval=0x7ffffd3e8264) at pulse/mainloop.c:922
r = 1
__func__ = "pa_mainloop_iterate"
__PRETTY_FUNCTION__ = "pa_mainloop_iterate"
#12 0x0000000000629efc in pa_mainloop_run (m=0xb146a0,
retval=0x7ffffd3e8264)
at pulse/mainloop.c:937
r = 1
#13 0x000000000040a055 in main (argc=21, argv=0x7ffffd3e83a8)
at daemon/main.c:810
c = (pa_core *) 0xb15820
buf = (pa_strbuf *) 0xb142f0
conf = (pa_daemon_conf *) 0xb14000
mainloop = (pa_mainloop *) 0xb146a0
s = 0xb17d50 "\021"
r = 0
retval = 0
d = 21
daemon_pipe = {-1, 4}
suid_root = false
real_root = true
---Type <return> to continue, or q <return> to quit---
valid_pid_file = 1
gid = 4294967295
allow_realtime = true
allow_high_priority = true
ltdl_init = true
__func__ = "main"
__PRETTY_FUNCTION__ = "main"
rl = {value = 9, is_set = true}
(gdb) thread 2
[Switching to thread 2 (process 12206)]#0 0x00007f5af39c30c8 in ppoll ()
from /lib/libc.so.6
(gdb) bt full
#0 0x00007f5af39c30c8 in ppoll () from /lib/libc.so.6
No symbol table info available.
#1 0x000000000067942d in pa_rtpoll_run (p=0xb28980, wait=true)
at pulsecore/rtpoll.c:394
ts = {tv_sec = 4352, tv_nsec = 0}
i = (pa_rtpoll_item *) 0xb41310
r = 0
timeout = {tv_sec = 4352, tv_usec = 0}
__func__ = "pa_rtpoll_run"
__PRETTY_FUNCTION__ = "pa_rtpoll_run"
#2 0x00007f5af092345c in thread_func (userdata=0xb27ee0)
at modules/module-alsa-sink.c:642
ret = 1
u = (struct userdata *) 0xb27ee0
__func__ = "thread_func"
__PRETTY_FUNCTION__ = "thread_func"
#3 0x000000000067d8e6 in internal_thread_func (userdata=0xb38ef0)
at pulsecore/thread-posix.c:73
t = (pa_thread *) 0xb38ef0
__func__ = "internal_thread_func"
__PRETTY_FUNCTION__ = "internal_thread_func"
#4 0x00007f5af3c553a7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#5 0x00007f5af39cbb6d in clone () from /lib/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)
}}}
--
Ticket URL: <http://www.pulseaudio.org/ticket/363#comment:7>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list