Pulse Jack module, dies sometimes on mpc toggle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 30.04.09 13:50, Ng Oon-Ee (ngoonee at gmail.com) wrote:

OK, this backtrace is very useful and gives me a good idea what is
going wrong.

May I ask you to open a bug report about this in the BTS and attach
this backtrace? That way we'll have an easy way to keep track of it
and make sure I won't forget.

Thanks,

Lennart

> (gdb) thread apply all bt full
> 
> Thread 8 (Thread 0x7f3bc2284950 (LWP 16736)):
> #0  0x00007f3bca868e95 in ppoll () from /lib/libc.so.6
> No symbol table info available.
> #1  0x00007f3bcdca4c60 in pa_rtpoll_run (p=0xac9830, wait=true)
>     at pulsecore/rtpoll.c:413
> 	ts = {tv_sec = 2, tv_nsec = 226871000}
> 	i = <value optimized out>
> 	r = <value optimized out>
> 	timeout = {tv_sec = 2, tv_usec = 226871}
> 	__func__ = "pa_rtpoll_run"
> 	__PRETTY_FUNCTION__ = "pa_rtpoll_run"
> #2  0x00007f3bc0be407f in thread_func (
>     userdata=<value optimized out>)
>     at modules/module-null-sink.c:238
> 	ret = <value optimized out>
> 	u = (struct userdata *) 0xabefe0
> 	__func__ = "thread_func"
> 	__PRETTY_FUNCTION__ = "thread_func"
> #3  0x00007f3bcd824c50 in internal_thread_func (userdata=0xac4140)
>     at pulsecore/thread-posix.c:72
> 	__func__ = "internal_thread_func"
> 	__PRETTY_FUNCTION__ = "internal_thread_func"
> ---Type <return> to continue, or q <return> to quit---
> #4  0x00007f3bcaafcfc7 in start_thread () from /lib/libpthread.so.0
> No symbol table info available.
> #5  0x00007f3bca8715dd in clone () from /lib/libc.so.6
> No symbol table info available.
> #6  0x0000000000000000 in ?? ()
> No symbol table info available.
> 
> Thread 7 (Thread 0x7f3bc385d950 (LWP 16626)):
> #0  0x00007f3bca868c66 in poll () from /lib/libc.so.6
> No symbol table info available.
> #1  0x00007f3bc228d0c6 in jack_client_core_wait ()
>    from /usr/lib/libjack.so.0
> No symbol table info available.
> #2  0x00007f3bc228d50b in jack_thread_wait ()
>    from /usr/lib/libjack.so.0
> No symbol table info available.
> #3  0x00007f3bc228d6aa in jack_client_thread ()
>    from /usr/lib/libjack.so.0
> No symbol table info available.
> #4  0x00007f3bcaafcfc7 in start_thread () from /lib/libpthread.so.0
> No symbol table info available.
> #5  0x00007f3bca8715dd in clone () from /lib/libc.so.6
> No symbol table info available.
> ---Type <return> to continue, or q <return> to quit---
> #6  0x0000000000000000 in ?? ()
> No symbol table info available.
> 
> Thread 6 (Thread 0x7f3bc36b2950 (LWP 16621)):
> #0  0x00007f3bca868e95 in ppoll () from /lib/libc.so.6
> No symbol table info available.
> #1  0x00007f3bcdca4c60 in pa_rtpoll_run (p=0xabad40, wait=true)
>     at pulsecore/rtpoll.c:413
> 	ts = {tv_sec = 0, tv_nsec = 0}
> 	i = <value optimized out>
> 	r = <value optimized out>
> 	timeout = {tv_sec = 0, tv_usec = 0}
> 	__func__ = "pa_rtpoll_run"
> 	__PRETTY_FUNCTION__ = "pa_rtpoll_run"
> #2  0x00007f3bc1000561 in thread_func (
>     userdata=<value optimized out>)
>     at modules/module-jack-source.c:202
> 	ret = -514
> 	u = (struct userdata *) 0xaab9d0
> 	__func__ = "thread_func"
> 	__PRETTY_FUNCTION__ = "thread_func"
> #3  0x00007f3bcd824c50 in internal_thread_func (userdata=0xaa6a00)
>     at pulsecore/thread-posix.c:72
> ---Type <return> to continue, or q <return> to quit---
> 	__func__ = "internal_thread_func"
> 	__PRETTY_FUNCTION__ = "internal_thread_func"
> #4  0x00007f3bcaafcfc7 in start_thread () from /lib/libpthread.so.0
> No symbol table info available.
> #5  0x00007f3bca8715dd in clone () from /lib/libc.so.6
> No symbol table info available.
> #6  0x0000000000000000 in ?? ()
> No symbol table info available.
> 
> Thread 4 (Thread 0x7f3bc1a83950 (LWP 16611)):
> #0  0x00007f3bc228e8c4 in jack_port_get_total_latency ()
>    from /usr/lib/libjack.so.0
> No symbol table info available.
> #1  0x00007f3bc24a2208 in sink_process_msg (o=0xabff70, code=7, 
>     data=0x7f3bc1a82ea0, offset=0, memchunk=0x0)
>     at modules/module-jack-sink.c:175
> 	l = <value optimized out>
> 	ft = <value optimized out>
> 	d = <value optimized out>
> 	u = (struct userdata *) 0xabbdd0
> 	__func__ = "sink_process_msg"
> 	__PRETTY_FUNCTION__ = "sink_process_msg"
> #2  0x00007f3bcdcbd00d in pa_sink_process_msg (o=0xabff70, 
> ---Type <return> to continue, or q <return> to quit---
>     code=<value optimized out>, userdata=<value optimized out>, 
>     offset=0, chunk=<value optimized out>) at pulsecore/sink.c:1542
> 	usec = 0
> 	sink_nbytes = <value optimized out>
> 	total_nbytes = <value optimized out>
> 	i = (pa_sink_input *) 0xac6ca0
> 	__func__ = "pa_sink_process_msg"
> 	__PRETTY_FUNCTION__ = "pa_sink_process_msg"
> #3  0x00007f3bc24a2151 in sink_process_msg (o=0xabff70, code=10, 
>     data=0xac6ca0, offset=0, memchunk=0x7f3bc1a82f90)
>     at modules/module-jack-sink.c:195
> 	u = (struct userdata *) 0xabbdd0
> 	__func__ = "sink_process_msg"
> 	__PRETTY_FUNCTION__ = "sink_process_msg"
> #4  0x00007f3bcdca3904 in asyncmsgq_read_work (i=0xabd470)
>     at pulsecore/rtpoll.c:730
> 	ret = <value optimized out>
> 	object = (pa_msgobject *) 0xabff70
> 	code = 10
> 	data = (void *) 0xac6ca0
> 	chunk = {memblock = 0x0, index = 0, length = 0}
> 	offset = 0
> 	__func__ = "asyncmsgq_read_work"
> ---Type <return> to continue, or q <return> to quit---
> 	__PRETTY_FUNCTION__ = "asyncmsgq_read_work"
> #5  0x00007f3bcdca4b5f in pa_rtpoll_run (p=0xabc060, wait=true)
>     at pulsecore/rtpoll.c:341
> 	k = <value optimized out>
> 	i = (pa_rtpoll_item *) 0xabd470
> 	r = <value optimized out>
> 	timeout = {tv_sec = 0, tv_usec = 0}
> 	__func__ = "pa_rtpoll_run"
> 	__PRETTY_FUNCTION__ = "pa_rtpoll_run"
> #6  0x00007f3bc24a2889 in thread_func (
>     userdata=<value optimized out>)
>     at modules/module-jack-sink.c:235
> 	ret = -839773947
> 	u = (struct userdata *) 0xabbdd0
> 	__func__ = "thread_func"
> 	__PRETTY_FUNCTION__ = "thread_func"
> #7  0x00007f3bcd824c50 in internal_thread_func (userdata=0xac1b80)
>     at pulsecore/thread-posix.c:72
> 	__func__ = "internal_thread_func"
> 	__PRETTY_FUNCTION__ = "internal_thread_func"
> #8  0x00007f3bcaafcfc7 in start_thread () from /lib/libpthread.so.0
> No symbol table info available.
> #9  0x00007f3bca8715dd in clone () from /lib/libc.so.6
> ---Type <return> to continue, or q <return> to quit---
> No symbol table info available.
> #10 0x0000000000000000 in ?? ()
> No symbol table info available.
> 
> Thread 1 (Thread 0x7f3bce0d8740 (LWP 16577)):
> #0  0x00007f3bcab02ba1 in sem_wait () from /lib/libpthread.so.0
> No symbol table info available.
> #1  0x00007f3bcd824e18 in pa_semaphore_wait (s=0xaab810)
>     at pulsecore/semaphore-posix.c:63
> 	ret = <value optimized out>
> 	__func__ = "pa_semaphore_wait"
> 	__PRETTY_FUNCTION__ = "pa_semaphore_wait"
> #2  0x00007f3bcdc8635a in pa_asyncmsgq_send (a=0xa7e180, 
>     object=<value optimized out>, code=<value optimized out>, 
>     userdata=<value optimized out>, offset=<value optimized out>, 
>     chunk=<value optimized out>) at pulsecore/asyncmsgq.c:167
> 	i = {code = 10, object = 0xabff70, userdata = 0xac6ca0, 
>   free_cb = 0, offset = 0, memchunk = {memblock = 0x0, index = 0, 
>     length = 0}, semaphore = 0xaab810, ret = -1}
> 	__func__ = "pa_asyncmsgq_send"
> 	__PRETTY_FUNCTION__ = "pa_asyncmsgq_send"
> #3  0x00007f3bcdcb3440 in pa_sink_input_start_move (i=0xac6ca0)
>     at pulsecore/sink-input.c:1165
> ---Type <return> to continue, or q <return> to quit---
> 	p = (pa_source_output *) 0x0
> 	r = <value optimized out>
> 	__func__ = "pa_sink_input_start_move"
> 	__PRETTY_FUNCTION__ = "pa_sink_input_start_move"
> #4  0x00007f3bcdcb38e2 in pa_sink_input_move_to (i=0xac6ca0, 
>     dest=0xacb140, save=false) at pulsecore/sink-input.c:1286
> 	r = -19
> 	__func__ = "pa_sink_input_move_to"
> 	__PRETTY_FUNCTION__ = "pa_sink_input_move_to"
> #5  0x00007f3bc3aba265 in sink_hook_callback (c=0xa67940, 
>     sink=0xabff70, userdata=<value optimized out>)
>     at modules/module-rescue-streams.c:80
> 	target = (pa_sink *) 0xacb140
> 	__func__ = "sink_hook_callback"
> 	__PRETTY_FUNCTION__ = "sink_hook_callback"
> #6  0x00007f3bcdc9a290 in pa_hook_fire (hook=0xa67b78, 
>     data=0xabff70) at pulsecore/hook-list.c:104
> 	slot = (pa_hook_slot *) 0xaa3cc0
> 	next = <value optimized out>
> 	result = PA_HOOK_OK
> 	__func__ = "pa_hook_fire"
> 	__PRETTY_FUNCTION__ = "pa_hook_fire"
> #7  0x00007f3bcdcb8a2b in pa_sink_unlink (s=0xabff70)
> ---Type <return> to continue, or q <return> to quit---
>     at pulsecore/sink.c:404
> 	linked = true
> 	j = <value optimized out>
> 	__func__ = "pa_sink_unlink"
> 	__PRETTY_FUNCTION__ = "pa_sink_unlink"
> #8  0x00007f3bc24a15bb in module_jack_sink_LTX_pa__done (
>     m=<value optimized out>) at modules/module-jack-sink.c:475
> 	u = (struct userdata *) 0xabbdd0
> 	__func__ = "module_jack_sink_LTX_pa__done"
> 	__PRETTY_FUNCTION__ = "module_jack_sink_LTX_pa__done"
> #9  0x00007f3bcdc9ba19 in pa_module_free (m=0xaba390)
>     at pulsecore/module.c:156
> 	__func__ = "pa_module_free"
> 	__PRETTY_FUNCTION__ = "pa_module_free"
> #10 0x00007f3bcdc96ab0 in core_process_msg (o=0xa67940, code=0, 
>     userdata=0xaba390, offset=<value optimized out>, 
>     chunk=<value optimized out>) at pulsecore/core.c:58
> No locals.
> #11 0x00007f3bcdcc9d7b in asyncmsgq_read_cb (
>     api=<value optimized out>, e=<value optimized out>, 
>     fd=<value optimized out>, events=<value optimized out>, 
>     userdata=<value optimized out>) at pulsecore/thread-mq.c:65
> 	ret = <value optimized out>
> ---Type <return> to continue, or q <return> to quit---
> 	data = (void *) 0xaba390
> 	chunk = {memblock = 0x0, index = 0, length = 0}
> 	object = (pa_msgobject *) 0xa67940
> 	code = 0
> 	offset = 0
> 	aq = (pa_asyncmsgq *) 0xab04f0
> 	__func__ = "asyncmsgq_read_cb"
> 	__PRETTY_FUNCTION__ = "asyncmsgq_read_cb"
> #12 0x00007f3bcda526c4 in pa_mainloop_dispatch (m=0xa654a0)
>     at pulse/mainloop.c:683
> 	dispatched = 0
> 	__func__ = "pa_mainloop_dispatch"
> 	__PRETTY_FUNCTION__ = "pa_mainloop_dispatch"
> #13 0x00007f3bcda52986 in pa_mainloop_iterate (m=0xa654a0, 
>     block=<value optimized out>, retval=0x7fffd610214c)
>     at pulse/mainloop.c:926
> 	r = <value optimized out>
> 	__func__ = "pa_mainloop_iterate"
> 	__PRETTY_FUNCTION__ = "pa_mainloop_iterate"
> #14 0x00007f3bcda52a40 in pa_mainloop_run (m=0xa654a0, 
>     retval=0x7fffd610214c) at pulse/mainloop.c:941
> 	r = <value optimized out>
> #15 0x000000000040b026 in main (argc=1, argv=<value optimized out>)
> ---Type <return> to continue, or q <return> to quit---
>     at daemon/main.c:1054
> 	c = <value optimized out>
> 	buf = (pa_strbuf *) 0xa65290
> 	conf = <value optimized out>
> 	mainloop = <value optimized out>
> 	s = <value optimized out>
> 	r = <value optimized out>
> 	retval = 0
> 	d = 1
> 	suid_root = <value optimized out>
> 	real_root = <value optimized out>
> 	valid_pid_file = true
> 	gid = 4294967295
> 	ltdl_init = <value optimized out>
> 	passed_fd = <value optimized out>
> 	e = <value optimized out>
> 	daemon_pipe = {-1, -1}
> 	autospawn_fd = -1
> 	autospawn_locked = false
> 	dbus = <value optimized out>
> 	__func__ = "main"
> 	__PRETTY_FUNCTION__ = "main"
> #0  0x00007f3bc228e8c4 in jack_port_get_total_latency ()
> ---Type <return> to continue, or q <return> to quit---
>    from /usr/lib/libjack.so.0
> (gdb) q
> The program is running.  Exit anyway? (y or n) y
> [ngoonee at ngoonee-laptop ~]$ 

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux