Your message dated Wed, 31 Jul 2013 19:03:50 +0000
with message-id <[email protected]>
and subject line Bug#717988: fixed in libusbx 2:1.0.16-3
has caused the Debian Bug report #717988,
regarding libusb-1.0-0: upowerd deadlocks in libusb (maybe related to 
suspend/resume)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
717988: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717988
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Source: libusbx
Source-Version: 2:1.0.16-3

We believe that the bug you reported is fixed in the latest version of
libusbx, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno <[email protected]> (supplier of updated libusbx package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 31 Jul 2013 20:46:44 +0200
Source: libusbx
Binary: libusb-1.0-0 libusb-1.0-0-dbg libusb-1.0-0-dev libusb-1.0-doc 
libusb-1.0-0-udeb
Architecture: source all amd64
Version: 2:1.0.16-3
Distribution: unstable
Urgency: medium
Maintainer: Aurelien Jarno <[email protected]>
Changed-By: Aurelien Jarno <[email protected]>
Description: 
 libusb-1.0-0 - userspace USB programming library
 libusb-1.0-0-dbg - userspace USB programming library development files
 libusb-1.0-0-dev - userspace USB programming library development files
 libusb-1.0-0-udeb - userspace USB programming library (udeb)
 libusb-1.0-doc - documentation for userspace USB programming
Closes: 717988
Changes: 
 libusbx (2:1.0.16-3) unstable; urgency=medium
 .
   * Add 0000-linux-Use-a-separate-lock-to-serialize-start-stop-vs.patch
     from ipstream to really fix the dead lock with upower
     (closes: #717988).
Checksums-Sha1: 
 593ec2871eb839622567315866ba661e66213426 1352 libusbx_1.0.16-3.dsc
 18b8daed9e57937c010a7b6a43b82136a2bd700a 13224 libusbx_1.0.16-3.debian.tar.xz
 58f6d4a3c14e7f963fe802befd2b084c263927c6 111434 libusb-1.0-doc_1.0.16-3_all.deb
 f1a141772b751093e359322046a14c2f93c514f7 45346 libusb-1.0-0_1.0.16-3_amd64.deb
 d62ba111cda34850f0d6ab7879a667e9db1e02b3 82794 
libusb-1.0-0-dbg_1.0.16-3_amd64.deb
 f7830d31561640389344e01e60123893783c2aab 61676 
libusb-1.0-0-dev_1.0.16-3_amd64.deb
 dccb7cf6105e618101c864ce61f248aae3c29847 32370 
libusb-1.0-0-udeb_1.0.16-3_amd64.udeb
Checksums-Sha256: 
 18b51ca16a257992d644efd4f89f95a71cd82d9478d32a043611d57a7999e1d1 1352 
libusbx_1.0.16-3.dsc
 a5c56282ce792d2ca25b93253f57a1357297a6eb2c0c15726d265093cef2e06d 13224 
libusbx_1.0.16-3.debian.tar.xz
 50dcf7e0b86bc7a68a48b9f7eec82a44fe4984451a4a6560a789862608844f01 111434 
libusb-1.0-doc_1.0.16-3_all.deb
 af50b963f6b5368c9198fed84a3ac3ce4288c0a2b4d8bd94fe92b48112b8ff79 45346 
libusb-1.0-0_1.0.16-3_amd64.deb
 c12ca5d871f0d9bc370416cef7860d56416ad3774c7a055b63fd707bef519a1b 82794 
libusb-1.0-0-dbg_1.0.16-3_amd64.deb
 95f9794d6db391e80f1c204feb6f5c87927d63f1bd4b7b249fa0223d30fd0221 61676 
libusb-1.0-0-dev_1.0.16-3_amd64.deb
 7103051d6a73e5dcbf34475272644a6e3f790d7c20070bc1013fcdc8cb5356df 32370 
libusb-1.0-0-udeb_1.0.16-3_amd64.udeb
Files: 
 7939d6add65067a1c6e773a1a7a2fc65 1352 libs optional libusbx_1.0.16-3.dsc
 a5124cfbd576d6c2cb79a3b25f52c927 13224 libs optional 
libusbx_1.0.16-3.debian.tar.xz
 6ccb0b65b7891c9b95c8222a7d280b8d 111434 doc optional 
libusb-1.0-doc_1.0.16-3_all.deb
 48705b1513ca89ce9dde53247117928f 45346 libs optional 
libusb-1.0-0_1.0.16-3_amd64.deb
 7641741eef338fcb1b33a786613b4c4b 82794 debug extra 
libusb-1.0-0-dbg_1.0.16-3_amd64.deb
 9aa61f94cba535768e7f8f0fcb7ed312 61676 libdevel optional 
libusb-1.0-0-dev_1.0.16-3_amd64.deb
 8baaa9e0ad956102db7ff915943ba802 32370 debian-installer optional 
libusb-1.0-0-udeb_1.0.16-3_amd64.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iD8DBQFR+Vyiw3ao2vG823MRAiBcAJoDas7bBsH1G9wPMfO1XoB5lnyXKwCfYV3J
wggsnqlowpRiHrpC6G8FDRo=
=1ANL
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to