Bug 67738 - upower does not reply
Summary: upower does not reply
Status: RESOLVED NOTOURBUG
Alias: None
Product: upower
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-04 09:46 UTC by chx1975
Modified: 2013-08-04 22:48 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description chx1975 2013-08-04 09:46:15 UTC
qdbus --system org.freedesktop.UPower
Error: org.freedesktop.DBus.Error.NoReply
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

If I do sudo systemctl restart upower it is fixed but after a few dock-undock operations, it's back. This is on a Lenovo T420, kernel 3.10.2, polkit 0.111, upower 0.9.20, dbus 1.6.12. How can I help debugging this?
Comment 1 chx1975 2013-08-04 10:14:20 UTC
This happens when the T420 is docked. It doesn't happen on undocking. If I attach an strace to the process before it gets hung then I can't reproduce. If I attach an strace to the process after it got hung then

futex(0x7fb02ffff9d0, FUTEX_WAIT, 14813, NULL
Comment 2 chx1975 2013-08-04 10:23:02 UTC
Here's with strace -f -p (doesn't help a lot):

Process 16132 attached with 4 threads
[pid 16134] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
[pid 16578] futex(0x7f99793de4a0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
[pid 16133] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
[pid 16132] futex(0x7f9974a4b9d0, FUTEX_WAIT, 16578, NULL
Comment 3 Richard Hughes 2013-08-04 15:20:36 UTC
Hey. Is it possible to install the debuginfo, run upowerd in gdb and then get a backtrace when it's blocking? Thanks.
Comment 4 chx1975 2013-08-04 19:49:56 UTC
Thanks for the tip, this bug report can be closed, I have ran into https://bugzilla.redhat.com/show_bug.cgi?id=985484 .


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.