[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 03:58:39 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 figured out how to get the meaningful backtrace:

 {{{
 Core was generated by `pulseaudio -vvvvv --daemonize --high-priority
 --realtime --disallow-module-load'.
 Program terminated with signal 6, Aborted.
 #0  0x00007fdd9c42d0c5 in raise () from /lib/libc.so.6
 (gdb) info threads
   2 process 11108  0x00007fdd9c4c60c8 in ppoll () from /lib/libc.so.6
 * 1 process 11107  0x00007fdd9c42d0c5 in raise () from /lib/libc.so.6
 (gdb) thread 1
 [Switching to thread 1 (process 11107)]#0  0x00007fdd9c42d0c5 in raise ()
    from /lib/libc.so.6
 (gdb) bt full
 #0  0x00007fdd9c42d0c5 in raise () from /lib/libc.so.6
 No symbol table info available.
 #1  0x00007fdd9c42e97e in abort () from /lib/libc.so.6
 No symbol table info available.
 #2  0x00007fdd9df2388c in pa_object_unref (o=<value optimized out>)
     at pulsecore/object.c:60
         __func__ = "pa_object_unref"
         __PRETTY_FUNCTION__ = "pa_object_unref"
 #3  0x00007fdd99a35c7a in connection_free (o=<value optimized out>)
     at pulsecore/protocol-simple.c:69
         c = (connection *) 0x877320
         __func__ = "connection_free"
         __PRETTY_FUNCTION__ = "connection_free"
 #4  0x00007fdd9df238f4 in pa_object_unref (o=0x6) at pulsecore/object.c:64
         __func__ = "pa_object_unref"
         __PRETTY_FUNCTION__ = "pa_object_unref"
 #5  0x00007fdd9df21d1f in pa_asyncmsgq_done (a=0x87e460,
     ret=<value optimized out>) at ./pulsecore/msgobject.h:52
         __func__ = "pa_asyncmsgq_done"
         __PRETTY_FUNCTION__ = "pa_asyncmsgq_done"
 #6  0x00007fdd9df22af8 in asyncmsgq_cb (api=<value optimized out>,
     e=<value optimized out>, fd=<value optimized out>,
     events=<value optimized out>, userdata=<value optimized out>)
 ---Type <return> to continue, or q <return> to quit---
     at pulsecore/thread-mq.c:68
         ret = 11107
         data = (void *) 0x0
         chunk = {memblock = 0x0, index = 0, length = 0}
         object = (pa_msgobject *) 0x877320
         code = 2
         offset = 0
         q = <value optimized out>
         aq = (pa_asyncmsgq *) 0x87e460
         __func__ = "asyncmsgq_cb"
         __PRETTY_FUNCTION__ = "asyncmsgq_cb"
 #7  0x00007fdd9dee1ad4 in pa_mainloop_dispatch (m=0x86a6a0)
     at pulse/mainloop.c:679
         dispatched = 0
         __func__ = "pa_mainloop_dispatch"
         __PRETTY_FUNCTION__ = "pa_mainloop_dispatch"
 #8  0x00007fdd9dee1bd4 in pa_mainloop_iterate (m=0x86a6a0,
     block=<value optimized out>, retval=0x7fffa6169ffc) at
 pulse/mainloop.c:922
         r = 0
         __func__ = "pa_mainloop_iterate"
         __PRETTY_FUNCTION__ = "pa_mainloop_iterate"
 #9  0x00007fdd9dee1c17 in pa_mainloop_run (m=0x86a6a0,
 retval=0x7fffa6169ffc)
     at pulse/mainloop.c:937
 ---Type <return> to continue, or q <return> to quit---
         r = <value optimized out>
 #10 0x0000000000408cca in main (argc=<value optimized out>,
     argv=<value optimized out>) at daemon/main.c:810
         c = (pa_core *) 0x86b820
         buf = <value optimized out>
         conf = (pa_daemon_conf *) 0x86a000
         mainloop = (pa_mainloop *) 0x86a6a0
         s = 0x86dd50 "\021"
         r = 0
         retval = 0
         d = 21
         daemon_pipe = {-1, 4}
         suid_root = <value optimized out>
         real_root = <value optimized out>
         valid_pid_file = 1
         gid = 4294967295
         allow_realtime = false
         allow_high_priority = <value optimized out>
         ltdl_init = <value optimized out>
         __func__ = "main"
         __PRETTY_FUNCTION__ = "main"
         rl = {value = 9, is_set = true}
 (gdb) thread 2
 [Switching to thread 2 (process 11108)]#0  0x00007fdd9c4c60c8 in ppoll ()
    from /lib/libc.so.6
 (gdb) bt full
 #0  0x00007fdd9c4c60c8 in ppoll () from /lib/libc.so.6
 No symbol table info available.
 #1  0x00007fdd9df252e8 in pa_rtpoll_run (p=0x87e980, wait=true)
     at pulsecore/rtpoll.c:394
         ts = {tv_sec = 1088, tv_nsec = 140589814230882000}
         i = (pa_rtpoll_item *) 0x897310
         r = <value optimized out>
         timeout = {tv_sec = 1088, tv_usec = 140589814230882}
         __func__ = "pa_rtpoll_run"
         __PRETTY_FUNCTION__ = "pa_rtpoll_run"
 #2  0x00007fdd9942a827 in thread_func (userdata=<value optimized out>)
     at modules/module-alsa-sink.c:642
         pollfd = <value optimized out>
         revents = 0
         err = <value optimized out>
         n = 1
         ret = <value optimized out>
         u = (struct userdata *) 0x87dee0
         __func__ = "thread_func"
         __PRETTY_FUNCTION__ = "thread_func"
 #3  0x00007fdd9df28278 in internal_thread_func (userdata=<value optimized
 out>)
     at pulsecore/thread-posix.c:73
         t = (pa_thread *) 0x88eef0
 ---Type <return> to continue, or q <return> to quit---
         __func__ = "internal_thread_func"
         __PRETTY_FUNCTION__ = "internal_thread_func"
 #4  0x00007fdd9c7583a7 in start_thread () from /lib/libpthread.so.0
 No symbol table info available.
 #5  0x00007fdd9c4ceb6d 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:6>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list