Package: libusb-1.0-0
Version: 2:1.0.16-1
Severity: important

Dear Maintainer,

   * What led up to the situation?

Exact steps are unknown but during last two days I have noticed upowerd
daemon beeing stuck for unknown reason after suspend/resume.

   * What exactly did you do (or not do) that was effective (or ineffective)?

I suspend my laptop frequently using keyboard hotkey. That used to work
without problems until upowerd now started deadlocking.

   * What was the outcome of this action?

upowerd daemon deadlocks forcing me to manually restart it before any
power related functionality works in gnome.

Following backtrace shows the deadlock:
(gdb) thread apply all bt

Thread 4 (Thread 0x7f3b12fcc700 (LWP 3744)):
#0  0x00007f3b15dd719d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3b16517194 in g_main_context_poll (priority=2147483647, n_fds=1, 
fds=0x7f3b0c0008e0, timeout=-1, context=0x10149a0)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gmain.c:3995
#2  g_main_context_iterate (context=context@entry=0x10149a0, 
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gmain.c:3696
#3  0x00007f3b1651729c in g_main_context_iteration (context=0x10149a0, 
may_block=may_block@entry=1)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gmain.c:3762
#4  0x00007f3b165172e9 in glib_worker_main (data=<optimized out>) at 
/tmp/buildd/glib2.0-2.36.3/./glib/gmain.c:5427
#5  0x00007f3b1653b1d5 in g_thread_proxy (data=0x1012c50) at 
/tmp/buildd/glib2.0-2.36.3/./glib/gthread.c:798
#6  0x00007f3b1578ae0e in start_thread (arg=0x7f3b12fcc700) at 
pthread_create.c:311
#7  0x00007f3b15de293d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f3b127cb700 (LWP 3745)):
#0  0x00007f3b15dd719d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3b16517194 in g_main_context_poll (priority=2147483647, n_fds=3, 
fds=0x7f3b040010c0, timeout=-1, context=0x1024fa0)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gmain.c:3995
#2  g_main_context_iterate (context=0x1024fa0, block=block@entry=1, 
dispatch=dispatch@entry=1, self=<optimized out>)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gmain.c:3696
#3  0x00007f3b165175fa in g_main_loop_run (loop=0x1024f30) at 
/tmp/buildd/glib2.0-2.36.3/./glib/gmain.c:3895
#4  0x00007f3b15a65cf6 in gdbus_shared_thread_func (user_data=0x1024f70) at 
/tmp/buildd/glib2.0-2.36.3/./gio/gdbusprivate.c:278
#5  0x00007f3b1653b1d5 in g_thread_proxy (data=0x1020b70) at 
/tmp/buildd/glib2.0-2.36.3/./glib/gthread.c:798
#6  0x00007f3b1578ae0e in start_thread (arg=0x7f3b127cb700) at 
pthread_create.c:311
#7  0x00007f3b15de293d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f3b11fca700 (LWP 20328)):
#0  __lll_lock_wait () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007f3b1578cf3c in _L_lock_974 () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007f3b1578cd8b in __GI___pthread_mutex_lock (mutex=0x7f3b16e3e4a0 
<linux_hotplug_lock>) at pthread_mutex_lock.c:64
#3  0x00007f3b16c365f9 in linux_udev_event_thread_main (arg=<optimized out>) at 
../../libusb/os/linux_udev.c:153
#4  0x00007f3b1578ae0e in start_thread (arg=0x7f3b11fca700) at 
pthread_create.c:311
#5  0x00007f3b15de293d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f3b17bb6800 (LWP 3743)):
#0  0x00007f3b1578bff8 in pthread_join (threadid=139891681568512, 
thread_return=thread_return@entry=0x0) at pthread_join.c:92
#1  0x00007f3b16c3689f in linux_udev_stop_event_monitor () at 
../../libusb/os/linux_udev.c:126
#2  0x00007f3b16c35088 in linux_stop_event_monitor () at 
../../libusb/os/linux_usbfs.c:464
#3  op_exit () at ../../libusb/os/linux_usbfs.c:447
#4  0x00007f3b16c2df51 in libusb_exit (ctx=0x105f200) at 
../../libusb/core.c:1946
#5  0x0000000000415de2 in ?? ()
---Type <return> to continue, or q <return> to quit---
#6  0x00007f3b167e28da in g_object_unref (_object=0x109d460) at 
/tmp/buildd/glib2.0-2.36.3/./gobject/gobject.c:3024
#7  0x0000000000411bba in ?? ()
#8  0x00007f3b167ddf28 in g_closure_invoke (closure=0x101b140, 
return_value=0x0, n_param_values=3, param_values=0x7fffdc9b2980, 
    invocation_hint=0x7fffdc9b2920) at 
/tmp/buildd/glib2.0-2.36.3/./gobject/gclosure.c:777
#9  0x00007f3b167eeedd in signal_emit_unlocked_R (node=node@entry=0x101bf10, 
detail=detail@entry=0, instance=instance@entry=0x1015c40, 
    emission_return=emission_return@entry=0x0, 
instance_and_params=instance_and_params@entry=0x7fffdc9b2980)
    at /tmp/buildd/glib2.0-2.36.3/./gobject/gsignal.c:3584
#10 0x00007f3b167f6ce9 in g_signal_emit_valist (instance=<optimized out>, 
signal_id=<optimized out>, detail=<optimized out>, 
    var_args=var_args@entry=0x7fffdc9b2b38) at 
/tmp/buildd/glib2.0-2.36.3/./gobject/gsignal.c:3328
#11 0x00007f3b167f6f32 in g_signal_emit (instance=<optimized out>, 
signal_id=<optimized out>, detail=<optimized out>)
    at /tmp/buildd/glib2.0-2.36.3/./gobject/gsignal.c:3384
#12 0x00007f3b16a21f23 in ?? () from /usr/lib/x86_64-linux-gnu/libgudev-1.0.so.0
#13 0x00007f3b16516ea6 in g_main_dispatch (context=0x10102b0) at 
/tmp/buildd/glib2.0-2.36.3/./glib/gmain.c:3054
#14 g_main_context_dispatch (context=context@entry=0x10102b0) at 
/tmp/buildd/glib2.0-2.36.3/./glib/gmain.c:3630
#15 0x00007f3b165171f8 in g_main_context_iterate (context=0x10102b0, 
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gmain.c:3701
#16 0x00007f3b165175fa in g_main_loop_run (loop=0x101b1e0) at 
/tmp/buildd/glib2.0-2.36.3/./glib/gmain.c:3895
#17 0x0000000000406f7a in ?? ()
#18 0x00007f3b15d1b995 in __libc_start_main (main=0x406c30, argc=1, 
ubp_av=0x7fffdc9b2f68, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffdc9b2f58) at libc-start.c:260
#19 0x00000000004070a9 in ?? ()


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to