Hi.

Below are the BTs and strace...

At a first glance it seems that this is somehow related to sound
output,... it seems to always hang when sound was or is about to be played.
IRC is just "special" here, as I get the initial hello message from
NickServ, which makes sound.

Deactivating sound in pidgin stopped it from hanging (till now)


Cheers,
Chris.








(gdb) thread 1
[Switching to thread 1 (Thread 0x7ffff7fbf960 (LWP 7187))]
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:142
142     in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
(gdb) bt
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:142
#1  0x00007fffc1d467a0 in pa_threaded_mainloop_wait ()
   from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007fffc05d5fb4 in pulse_wait_operation ()
   from /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so
#3  0x00007fffc05d4ca0 in ?? ()
   from /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so
#4  0x00007fffc21f2e88 in ?? () from
/usr/lib/x86_64-linux-gnu/libasound.so.2
#5  0x00007fffc245bcbf in gst_alsasink_reset (asink=0x55555627b510)
    at gstalsasink.c:931
#6  0x00007fffccb931aa in gst_audioringbuffer_pause (buf=<optimized out>)
    at gstaudiosink.c:516
#7  0x00007fffccb83e6b in gst_ring_buffer_pause_unlocked
(buf=0x555556334590)
    at gstringbuffer.c:1172
#8  0x00007fffccb86b30 in gst_ring_buffer_pause (buf=0x555556334590)
    at gstringbuffer.c:1215
#9  0x00007fffccb8fa0a in gst_base_audio_sink_change_state (
    element=0x55555627b510, transition=GST_STATE_CHANGE_PLAYING_TO_PAUSED)
    at gstbaseaudiosink.c:1953
#10 0x00007ffff76d8a4c in gst_element_change_state
(element=0x55555627b510, 
    transition=<optimized out>) at gstelement.c:2718
#11 0x00007ffff76d9432 in gst_element_set_state_func
(element=0x55555627b510, 
---Type <return> to continue, or q <return> to quit---
    state=GST_STATE_PAUSED) at gstelement.c:2674
#12 0x00007ffff76c61fa in gst_bin_element_set_state
(next=GST_STATE_PAUSED, 
    current=GST_STATE_PLAYING, start_time=630793650, base_time=0, 
    element=0x55555627b510, bin=0x5555561bb2e0) at gstbin.c:2193
#13 gst_bin_change_state_func (element=0x5555561bb2e0, 
    transition=GST_STATE_CHANGE_PLAYING_TO_PAUSED) at gstbin.c:2489
#14 0x00007ffff76d8a4c in gst_element_change_state
(element=0x5555561bb2e0, 
    transition=<optimized out>) at gstelement.c:2718
#15 0x00007ffff76d9432 in gst_element_set_state_func
(element=0x5555561bb2e0, 
    state=GST_STATE_PAUSED) at gstelement.c:2674
#16 0x00007ffff76c61fa in gst_bin_element_set_state
(next=GST_STATE_PAUSED, 
    current=GST_STATE_PLAYING, start_time=630793650, base_time=0, 
    element=0x5555561bb2e0, bin=0x555556249050) at gstbin.c:2193
#17 gst_bin_change_state_func (element=0x555556249050, 
    transition=GST_STATE_CHANGE_PLAYING_TO_PAUSED) at gstbin.c:2489
#18 0x00007fffce0b9282 in gst_switch_sink_change_state (
    element=0x555556249050, transition=GST_STATE_CHANGE_PLAYING_TO_PAUSED)
    at gstswitchsink.c:257
#19 0x00007fffce0b73c7 in gst_gconf_audio_sink_change_state (
    element=0x555556249050, transition=GST_STATE_CHANGE_PLAYING_TO_PAUSED)
    at gstgconfaudiosink.c:298
#20 0x00007ffff76d8a4c in gst_element_change_state
(element=0x555556249050, 
    transition=<optimized out>) at gstelement.c:2718
---Type <return> to continue, or q <return> to quit---
#21 0x00007ffff76d9432 in gst_element_set_state_func
(element=0x555556249050, 
    state=GST_STATE_PAUSED) at gstelement.c:2674
#22 0x00007ffff76c61fa in gst_bin_element_set_state
(next=GST_STATE_PAUSED, 
    current=GST_STATE_PLAYING, start_time=630793650, base_time=0, 
    element=0x555556249050, bin=0x5555561bb170) at gstbin.c:2193
#23 gst_bin_change_state_func (element=0x5555561bb170, 
    transition=GST_STATE_CHANGE_PLAYING_TO_PAUSED) at gstbin.c:2489
#24 0x00007ffff76d8a4c in gst_element_change_state
(element=0x5555561bb170, 
    transition=<optimized out>) at gstelement.c:2718
#25 0x00007ffff76d9432 in gst_element_set_state_func
(element=0x5555561bb170, 
    state=GST_STATE_PAUSED) at gstelement.c:2674
#26 0x00007ffff76c61fa in gst_bin_element_set_state
(next=GST_STATE_PAUSED, 
    current=GST_STATE_PLAYING, start_time=630793650, base_time=0, 
    element=0x5555561bb170, bin=0x555556252240) at gstbin.c:2193
#27 gst_bin_change_state_func (element=0x555556252240, 
    transition=GST_STATE_CHANGE_PLAYING_TO_PAUSED) at gstbin.c:2489
#28 0x00007ffff76f8730 in gst_pipeline_change_state
(element=0x555556252240, 
    transition=GST_STATE_CHANGE_PLAYING_TO_PAUSED) at gstpipeline.c:482
#29 0x00007fffcda27e2a in gst_play_base_bin_change_state (
    element=0x555556252240, transition=GST_STATE_CHANGE_PLAYING_TO_PAUSED)
    at gstplaybasebin.c:2744
#30 0x00007fffcda0fd8f in gst_play_bin_change_state
(element=0x555556252240, 
    transition=GST_STATE_CHANGE_PLAYING_TO_PAUSED) at gstplaybin.c:1952
---Type <return> to continue, or q <return> to quit---
#31 0x00007ffff76d8a4c in gst_element_change_state
(element=0x555556252240, 
    transition=<optimized out>) at gstelement.c:2718
#32 0x00007ffff76d9432 in gst_element_set_state_func
(element=0x555556252240, 
    state=GST_STATE_NULL) at gstelement.c:2674
#33 0x0000555555609939 in bus_call (bus=<optimized out>, msg=<optimized
out>, 
    data=0x555556252240) at
/usr/src/debian/work/pidgin/./pidgin/gtksound.c:395
#34 0x00007ffff76c9da4 in gst_bus_source_dispatch (source=0x555556250100, 
    callback=0x5555556098c0 <bus_call>, user_data=0x555556252240)
    at gstbus.c:761
#35 0x00007ffff51df0cf in g_main_dispatch (context=0x55555585e440)
    at /tmp/buildd/glib2.0-2.30.2/./glib/gmain.c:2442
#36 g_main_context_dispatch (context=0x55555585e440)
    at /tmp/buildd/glib2.0-2.30.2/./glib/gmain.c:2998
#37 0x00007ffff51df8c8 in g_main_context_iterate (context=0x55555585e440, 
    block=<optimized out>, dispatch=1, self=<optimized out>)
    at /tmp/buildd/glib2.0-2.30.2/./glib/gmain.c:3076
#38 0x00007ffff51dfe02 in g_main_loop_run (loop=0x555555d95450)
    at /tmp/buildd/glib2.0-2.30.2/./glib/gmain.c:3284
#39 0x00007ffff6625987 in IA__gtk_main ()
    at /tmp/buildd/gtk+2.0-2.24.8/gtk/gtkmain.c:1256
#40 0x000055555559342e in main (argc=1, argv=0x7fffffffe3c8)
    at /usr/src/debian/work/pidgin/./pidgin/gtkmain.c:934
(gdb) 













(gdb) thread 2
[Switching to thread 2 (Thread 0x7fffcc94f700 (LWP 7291))]
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
166     in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
(gdb) bt
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x00007ffff771b5a7 in gst_task_func (task=0x555555de0110) at
gsttask.c:303
#2  0x00007ffff5206d08 in g_thread_pool_thread_proxy (data=<optimized
out>)
    at /tmp/buildd/glib2.0-2.30.2/./glib/gthreadpool.c:319
#3  0x00007ffff52047e6 in g_thread_create_proxy (data=0x5555563232b0)
    at /tmp/buildd/glib2.0-2.30.2/./glib/gthread.c:1962
#4  0x00007ffff7982b50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#5  0x00007ffff4bb33bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()













(gdb) thread 3
[Switching to thread 3 (Thread 0x7fffbc5d0700 (LWP 7295))]
#0  0x00007ffff4ba8773 in *__GI___poll (fds=<optimized out>, 
    nfds=<optimized out>, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:87
87      in ../sysdeps/unix/sysv/linux/poll.c
(gdb) bt
#0  0x00007ffff4ba8773 in *__GI___poll (fds=<optimized out>, 
    nfds=<optimized out>, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fffc1d4617f in ?? () from
/usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007fffc1d3759c in pa_mainloop_poll ()
   from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007fffc1d37c09 in pa_mainloop_iterate ()
   from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007fffc1d37cc0 in pa_mainloop_run ()
   from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007fffc1d4612f in ?? () from
/usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007fffc18ee978 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so
#7  0x00007ffff7982b50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#8  0x00007ffff4bb33bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()













(gdb) thread 4
[Switching to thread 4 (Thread 0x7fffbbdcf700 (LWP 7296))]
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
166     ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such
file or directory.
        in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
(gdb) bt
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x00007ffff771b5a7 in gst_task_func (task=0x555556073c70) at
gsttask.c:303
#2  0x00007ffff5206d08 in g_thread_pool_thread_proxy (data=<optimized
out>)
    at /tmp/buildd/glib2.0-2.30.2/./glib/gthreadpool.c:319
#3  0x00007ffff52047e6 in g_thread_create_proxy (data=0x7fffc81227b0)
    at /tmp/buildd/glib2.0-2.30.2/./glib/gthread.c:1962
#4  0x00007ffff7982b50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#5  0x00007ffff4bb33bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()










(gdb) thread 5
[Switching to thread 5 (Thread 0x7fffbb5ce700 (LWP 7297))]
#0  __lll_lock_wait ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
136     ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: No such file or
directory.
        in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
(gdb) bt
#0  __lll_lock_wait ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
#1  0x00007ffff7985339 in _L_lock_926 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007ffff798515b in __pthread_mutex_lock (mutex=0x55555627c3c0)
    at pthread_mutex_lock.c:61
#3  0x00007fffccb9386f in audioringbuffer_thread_func (buf=0x555556334590)
    at gstaudiosink.c:265
#4  0x00007ffff52047e6 in g_thread_create_proxy (data=0x555555a33be0)
    at /tmp/buildd/glib2.0-2.30.2/./glib/gthread.c:1962
#5  0x00007ffff7982b50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#6  0x00007ffff4bb33bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()


















strace -p

poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN},
{fd=10, events=POLLIN}, {fd=14, events=POLLIN}, {fd=11, events=POLLIN},
{fd=29, events=POLLIN}, {fd=36, events=POLLIN}, {fd=30, events=POLLIN},
{fd=25, events=POLLIN}, {fd=31, events=POLLIN}, {fd=8, events=POLLIN},
{fd=34, events=POLLIN}, {fd=33, events=POLLIN}, {fd=32, events=POLLIN},
{fd=47, events=POLLIN}, {fd=27, events=POLLIN}, {fd=59, events=POLLIN},
{fd=60, events=POLLIN}, {fd=21, events=POLLIN}, {fd=45, events=POLLIN},
{fd=63, events=POLLOUT}, {fd=42, events=POLLIN}, {fd=58, events=POLLIN},
{fd=64, events=POLLOUT}, {fd=23, events=POLLIN}, {fd=62, events=POLLIN},
{fd=13, events=POLLIN}, {fd=4, events=POLLIN}, {fd=24, events=POLLIN}], 30,
0) = 0 (Timeout)
read(5, 0x7fffac51d940, 16)             = -1 EAGAIN (Resource temporarily
unavailable)
futex(0x7f9f048c5390, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
write(54, "W", 1)                       = 1
write(54, "W", 1)                       = 1
write(54, "W", 1)                       = 1
write(54, "W", 1)                       = 1
write(54, "W", 1)                       = 1
write(54, "W", 1)                       = 1
write(54, "W", 1)                       = 1
write(54, "W", 1)                       = 1
write(54, "W", 1)                       = 1
write(54, "W", 1)                       = 1
write(54, "W", 1)                       = 1
futex(0x7f9f04456850, FUTEX_UNLOCK_PI_PRIVATE, 33) = 0
futex(0x7f9f0455f1d0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f9f0455f1d4, FUTEX_WAIT_REQUEUE_PI_PRIVATE, 15, NULL,
0x7f9f04456850) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x7f9f0455f1d4, FUTEX_WAIT_REQUEUE_PI_PRIVATE, 17, NULL,
0x7f9f04456850) = ? ERESTARTNOINTR (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
write(3, "\21\0\0\0", 4)                = 4
rt_sigreturn(0x2)                       = 202
futex(0x7f9f0455f1d4, FUTEX_WAIT_REQUEUE_PI_PRIVATE, 17, NULL,
0x7f9f04456850
) = ? ERESTARTNOINTR (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
write(3, "\21\0\0\0", 4)                = 4
rt_sigreturn(0x2)                       = 202
futex(0x7f9f0455f1d4, FUTEX_WAIT_REQUEUE_PI_PRIVATE, 17, NULL,
0x7f9f04456850) = ? ERESTARTNOINTR (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
write(3, "\21\0\0\0", 4)                = 4
rt_sigreturn(0x2)                       = 202
futex(0x7f9f0455f1d4, FUTEX_WAIT_REQUEUE_PI_PRIVATE, 17, NULL,
0x7f9f04456850) = ? ERESTARTNOINTR (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
write(3, "\21\0\0\0", 4)                = 4
rt_sigreturn(0x2)                       = 202
futex(0x7f9f0455f1d4, FUTEX_WAIT_REQUEUE_PI_PRIVATE, 17, NULL,
0x7f9f04456850^C <unfinished ...>
Process 7472 detached




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to