Summary: | PowerDevil crashes KDE Daemon in QVariant | ||
---|---|---|---|
Product: | [Unmaintained] solid | Reporter: | Christopher Yeleighton <giecrilj> |
Component: | powermanagement-daemon | Assignee: | Oliver Henshaw <oliver.henshaw> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | cfeck, drf, estellnb, giecrilj, kde-bugs, lukas, oliver.henshaw |
Priority: | NOR | ||
Version: | 4.10.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-workspace/144ee3d1f7a5b91e221c5af9e3720884d0acc8d8 | Version Fixed In: | 4.10.3 |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi Patch to avoid crash |
Description
Christopher Yeleighton
2013-02-11 18:16:07 UTC
Created attachment 77260 [details]
New crash information added by DrKonqi
kded4 ($Id$) on KDE Platform 4.9.00 using Qt 4.8.1
- What I was doing when the application crashed:
I opened KDE desktop and noticed DrKonqi as one of the applications.
-- Backtrace (Reduced):
#6 Private (other=..., this=0x7fff6cf81980) at kernel/qvariant.h:356
#7 QVariant::QVariant (this=0x7fff6cf81980, p=...) at kernel/qvariant.cpp:1411
#8 0x00007fa479431ed5 in QDBusPendingReplyData::argumentAt (this=0x7fff6cf818a0, index=0) at qdbuspendingreply.cpp:270
#9 0x00007fa46140de41 in argumentAt<0> (this=0x7fff6cf818a0) at /usr/include/QtDBus/qdbuspendingreply.h:176
#10 operator QDBusPendingReplyTypes::Select<0, QList<QDBusObjectPath>, void, void, void, void, void, void, void>::Type (this=0x7fff6cf818a0) at /usr/include/QtDBus/qdbuspendingreply.h:186
I see a crash with similar backtrace on KDE 4.10 on up-to-date openSUSE Factory - updating the "version" field from 4.9.0 to 4.10.0... Created attachment 77358 [details]
New crash information added by DrKonqi
kded4 ($Id$) on KDE Platform 4.9.00 using Qt 4.8.1
- What I was doing when the application crashed:
I had just logged in and I was waiting for the KDE desktop to show up.
-- Backtrace (Reduced):
#6 Private (other=..., this=0x7fff992a79d0) at kernel/qvariant.h:356
#7 QVariant::QVariant (this=0x7fff992a79d0, p=...) at kernel/qvariant.cpp:1411
#8 0x00007f5e27516ed5 in QDBusPendingReplyData::argumentAt (this=0x7fff992a78f0, index=0) at qdbuspendingreply.cpp:270
#9 0x00007f5e0f4f2e41 in argumentAt<0> (this=0x7fff992a78f0) at /usr/include/QtDBus/qdbuspendingreply.h:176
#10 operator QDBusPendingReplyTypes::Select<0, QList<QDBusObjectPath>, void, void, void, void, void, void, void>::Type (this=0x7fff992a78f0) at /usr/include/QtDBus/qdbuspendingreply.h:186
Created attachment 77383 [details]
New crash information added by DrKonqi
kded4 ($Id$) on KDE Platform 4.9.00 using Qt 4.8.1
- What I was doing when the application crashed:
I had just logged in and I was waiting for the KDE desktop to show up.
-- Backtrace (Reduced):
#6 Private (other=..., this=0x7fffd8643f30) at kernel/qvariant.h:356
#7 QVariant::QVariant (this=0x7fffd8643f30, p=...) at kernel/qvariant.cpp:1411
#8 0x00007f5f80daced5 in QDBusPendingReplyData::argumentAt (this=0x7fffd8643e50, index=0) at qdbuspendingreply.cpp:270
#9 0x00007f5f68d88e41 in argumentAt<0> (this=0x7fffd8643e50) at /usr/include/QtDBus/qdbuspendingreply.h:176
#10 operator QDBusPendingReplyTypes::Select<0, QList<QDBusObjectPath>, void, void, void, void, void, void, void>::Type (this=0x7fffd8643e50) at /usr/include/QtDBus/qdbuspendingreply.h:186
Created attachment 77443 [details]
New crash information added by DrKonqi
kded4 ($Id$) on KDE Platform 4.9.00 using Qt 4.8.1
- What I was doing when the application crashed:
I had just logged into KDE and I was waiting for the desktop to show up.
-- Backtrace (Reduced):
#6 Private (other=..., this=0x7fff734f80d0) at kernel/qvariant.h:356
#7 QVariant::QVariant (this=0x7fff734f80d0, p=...) at kernel/qvariant.cpp:1411
#8 0x00007f2db9220ed5 in QDBusPendingReplyData::argumentAt (this=0x7fff734f7ff0, index=0) at qdbuspendingreply.cpp:270
#9 0x00007f2da11fce41 in argumentAt<0> (this=0x7fff734f7ff0) at /usr/include/QtDBus/qdbuspendingreply.h:176
#10 operator QDBusPendingReplyTypes::Select<0, QList<QDBusObjectPath>, void, void, void, void, void, void, void>::Type (this=0x7fff734f7ff0) at /usr/include/QtDBus/qdbuspendingreply.h:186
Created attachment 77538 [details]
New crash information added by DrKonqi
kded4 ($Id$) on KDE Platform 4.9.00 using Qt 4.8.1
- What I was doing when the application crashed:
I had just logged in and I was waiting for the KDE desktop to show up.
-- Backtrace (Reduced):
#6 Private (other=..., this=0x7fff6401fa60) at kernel/qvariant.h:356
#7 QVariant::QVariant (this=0x7fff6401fa60, p=...) at kernel/qvariant.cpp:1411
#8 0x00007f0047e71ed5 in QDBusPendingReplyData::argumentAt (this=0x7fff6401f980, index=0) at qdbuspendingreply.cpp:270
#9 0x00007f002fc36e41 in argumentAt<0> (this=0x7fff6401f980) at /usr/include/QtDBus/qdbuspendingreply.h:176
#10 operator QDBusPendingReplyTypes::Select<0, QList<QDBusObjectPath>, void, void, void, void, void, void, void>::Type (this=0x7fff6401f980) at /usr/include/QtDBus/qdbuspendingreply.h:186
Created attachment 77553 [details]
New crash information added by DrKonqi
kded4 ($Id$) on KDE Platform 4.9.00 using Qt 4.8.1
- What I was doing when the application crashed:
I had just logged in and I was waiting for the KDE desktop to show up.
-- Backtrace (Reduced):
#6 Private (other=..., this=0x7fff3172f590) at kernel/qvariant.h:356
#7 QVariant::QVariant (this=0x7fff3172f590, p=...) at kernel/qvariant.cpp:1411
#8 0x00007f963f361ed5 in QDBusPendingReplyData::argumentAt (this=0x7fff3172f4b0, index=0) at qdbuspendingreply.cpp:270
#9 0x00007f962733be41 in argumentAt<0> (this=0x7fff3172f4b0) at /usr/include/QtDBus/qdbuspendingreply.h:176
#10 operator QDBusPendingReplyTypes::Select<0, QList<QDBusObjectPath>, void, void, void, void, void, void, void>::Type (this=0x7fff3172f4b0) at /usr/include/QtDBus/qdbuspendingreply.h:186
Created attachment 77574 [details]
New crash information added by DrKonqi
kded4 ($Id$) on KDE Platform 4.9.00 using Qt 4.8.1
- What I was doing when the application crashed:
I had just logged in and I was waiting for the KDE desktop to show up.
-- Backtrace (Reduced):
#6 Private (other=..., this=0x7fff19ca6430) at kernel/qvariant.h:356
#7 QVariant::QVariant (this=0x7fff19ca6430, p=...) at kernel/qvariant.cpp:1411
#8 0x00007f51c0946ed5 in QDBusPendingReplyData::argumentAt (this=0x7fff19ca6350, index=0) at qdbuspendingreply.cpp:270
#9 0x00007f51a8920e41 in argumentAt<0> (this=0x7fff19ca6350) at /usr/include/QtDBus/qdbuspendingreply.h:176
#10 operator QDBusPendingReplyTypes::Select<0, QList<QDBusObjectPath>, void, void, void, void, void, void, void>::Type (this=0x7fff19ca6350) at /usr/include/QtDBus/qdbuspendingreply.h:186
Created attachment 77596 [details]
New crash information added by DrKonqi
kded4 ($Id$) on KDE Platform 4.9.00 using Qt 4.8.1
- What I was doing when the application crashed:
I had just logged in and I was waiting for the KDE desktop to show up.
-- Backtrace (Reduced):
#6 Private (other=..., this=0x7fff9e93d6f0) at kernel/qvariant.h:356
#7 QVariant::QVariant (this=0x7fff9e93d6f0, p=...) at kernel/qvariant.cpp:1411
#8 0x00007fc3b6b4ced5 in QDBusPendingReplyData::argumentAt (this=0x7fff9e93d610, index=0) at qdbuspendingreply.cpp:270
#9 0x00007fc39eb26e41 in argumentAt<0> (this=0x7fff9e93d610) at /usr/include/QtDBus/qdbuspendingreply.h:176
#10 operator QDBusPendingReplyTypes::Select<0, QList<QDBusObjectPath>, void, void, void, void, void, void, void>::Type (this=0x7fff9e93d610) at /usr/include/QtDBus/qdbuspendingreply.h:186
Created attachment 77632 [details]
New crash information added by DrKonqi
kded4 ($Id$) on KDE Platform 4.9.00 using Qt 4.8.1
- What I was doing when the application crashed:
I had just logged in and I was waiting for the KDE desktop to show up.
-- Backtrace (Reduced):
#6 Private (other=..., this=0x7fffc12ebfe0) at kernel/qvariant.h:356
#7 QVariant::QVariant (this=0x7fffc12ebfe0, p=...) at kernel/qvariant.cpp:1411
#8 0x00007f3109d88ed5 in QDBusPendingReplyData::argumentAt (this=0x7fffc12ebf00, index=0) at qdbuspendingreply.cpp:270
#9 0x00007f30f1d62e41 in argumentAt<0> (this=0x7fffc12ebf00) at /usr/include/QtDBus/qdbuspendingreply.h:176
#10 operator QDBusPendingReplyTypes::Select<0, QList<QDBusObjectPath>, void, void, void, void, void, void, void>::Type (this=0x7fffc12ebf00) at /usr/include/QtDBus/qdbuspendingreply.h:186
Created attachment 77654 [details]
New crash information added by DrKonqi
kded4 ($Id$) on KDE Platform 4.9.00 using Qt 4.8.1
- What I was doing when the application crashed:
I had just logged in and I was waiting for the KDE desktop to show up.
-- Backtrace (Reduced):
#6 Private (other=..., this=0x7fff83ed4600) at kernel/qvariant.h:356
#7 QVariant::QVariant (this=0x7fff83ed4600, p=...) at kernel/qvariant.cpp:1411
#8 0x00007ff633362ed5 in QDBusPendingReplyData::argumentAt (this=0x7fff83ed4520, index=0) at qdbuspendingreply.cpp:270
#9 0x00007ff61b33ce41 in argumentAt<0> (this=0x7fff83ed4520) at /usr/include/QtDBus/qdbuspendingreply.h:176
#10 operator QDBusPendingReplyTypes::Select<0, QList<QDBusObjectPath>, void, void, void, void, void, void, void>::Type (this=0x7fff83ed4520) at /usr/include/QtDBus/qdbuspendingreply.h:186
Either the UPower dbus interface doesn't exist or the EnumerateDevices call fails (times out?) I don't think it's the dbus interface because the upower backend shouldn't get loaded if the upower interface doesn't exist. Can you tell me the result of "dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.EnumerateDevices" and roughly how long it takes to return? It indeed looks like a timeout: (tested on openSUSE Factory) # time dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.EnumerateDevices 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. real 0m25.063s user 0m0.001s sys 0m0.001s { time dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.EnumerateDevices; } method return sender=:1.2 -> dest=:1.69 reply_serial=2 array [ ] real 0m0.027s user 0m0.001s sys 0m0.004s Created attachment 77772 [details]
Patch to avoid crash
Can you try this patch? This should avoid the crash but won't prevent the slow login.
So could you also file a bug with opensuse or upstream upower about the timeout from the EnumerateDevices call and link to it here? That way we can get to the bottom of what's up with upower.
I created test packages with the patch added: https://build.opensuse.org/package/show?package=kdebase4-workspace&project=home%3Acboltz%3Abranches%3AKDE%3ADistro%3AFactory and will report back if they fix the crash. I also opened a bugreport for upower: https://bugzilla.novell.com/show_bug.cgi?id=807616 According to https://bugzilla.novell.com/show_bug.cgi?id=807616#c2 upowerd isn't starting. So powerdevil should be bailing out earlier and not trying to use the upower backend. I didn't see a crash dialog since I installed the patched package, which means your patch probably works. Some minutes ago I updated to latest openSUSE Factory which fixed the problem with policykit and upowerd, which means I'm no longer available as tester ;-) Best to try and fix this so that powerdevil will check that the upower dbus service get started properly. *** Bug 317425 has been marked as a duplicate of this bug. *** Fixed by 144ee3d1f7a5b91e221c5af9e3720884d0acc8d8. I got it totally wrong and mentioned 316472 in the commit. Sorry for multitasking. |