Summary: | KInfoCenter crashes after click Energy Information | ||
---|---|---|---|
Product: | [Applications] kinfocenter | Reporter: | Symeon Huang <hzwhuang> |
Component: | Energy Information | Assignee: | Kai Uwe Broulik <kde> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | alexey.min, andreashohl, aramgrigoryan, aspotashev, asturm, aversa, bugrprt21882, chazzofalf, datiti, dfasre, edoubrayrie, glitch.mr, johnny.vriesacker, kde, kde, kerrylange, luis.st, mgraesslin, miras199002, notmart, ogldelphi, OliPro007, opensuse.lietuviu.kalba, optiluca, pedron.alexandre, pmanousis, ramindeh, rygyhy, shadasviarus, shashtheash95, spamtrap_kde, sr240soon, sven, vylu, xavier.besnard, zhx, zwpwjwtz |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.3.0 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Symeon Huang
2015-05-06 21:27:37 UTC
Interesting. That cell resizer is for the handle to drag the sidebar bigger, but it clearly crashes somewhere with cursors. CC'ing Marco as he wrote the QML KCM stuff. *** Bug 348372 has been marked as a duplicate of this bug. *** *** Bug 349338 has been marked as a duplicate of this bug. *** *** Bug 349739 has been marked as a duplicate of this bug. *** *** Bug 350861 has been marked as a duplicate of this bug. *** Bug 350861 has full debug symbols. *** Bug 353157 has been marked as a duplicate of this bug. *** *** Bug 353170 has been marked as a duplicate of this bug. *** The backtrace of bug 353170 reveals the issue: - the application exits (#162) and destroys Solid global Battery object (#149) - this causes associated QML objects to get destroyed, which signal other QML objects that try to change the cursor shape, but creating a Pixmap fails, because the application is already in its destructor. I am not sure why Solid references QML objects, but global objects are always evil. *** Bug 354119 has been marked as a duplicate of this bug. *** *** Bug 355357 has been marked as a duplicate of this bug. *** *** Bug 355500 has been marked as a duplicate of this bug. *** *** Bug 355914 has been marked as a duplicate of this bug. *** *** Bug 356184 has been marked as a duplicate of this bug. *** *** Bug 356623 has been marked as a duplicate of this bug. *** *** Bug 357639 has been marked as a duplicate of this bug. *** *** Bug 357853 has been marked as a duplicate of this bug. *** *** Bug 358241 has been marked as a duplicate of this bug. *** *** Bug 360458 has been marked as a duplicate of this bug. *** *** Bug 360650 has been marked as a duplicate of this bug. *** *** Bug 361464 has been marked as a duplicate of this bug. *** *** Bug 354083 has been marked as a duplicate of this bug. *** *** Bug 357211 has been marked as a duplicate of this bug. *** *** Bug 357931 has been marked as a duplicate of this bug. *** *** Bug 361527 has been marked as a duplicate of this bug. *** *** Bug 362127 has been marked as a duplicate of this bug. *** *** Bug 362481 has been marked as a duplicate of this bug. *** My system might also have this bug, but I am not sure. Here is what I found and I hope this could be helpful. ------------------------------------------- Application: kinfocenter (5.6.2) Qt Version: 5.5.1 Frameworks Version: 5.21.0 Operating System: Linux 4.5.2-1-default x86_64 Distribution: "openSUSE Tumbleweed (20160422) (x86_64)" -- Information about the crash: What I am doing: 1. Run kinfocenter in GUI, 2. Click to view "Energy Information", 3. Then "Graphical Information" -> "X Server", 4. Click x (close) from the top-right corner. BUT, the app doesn't crash if the step 2 and step 3 not included both, but they could be in reverse sequence. The crash can be reproduced every time. -- Backtrace: A useful backtrace could not be generated Report to https://bugs.kde.org/ Gentoo, Qt-5.6, Plasma 5.3, always reproducible. You should always try to go to energy info tab, and then close app. When started from console it says (I cliked also other tabs): Error loading plugin "kcm_energyinfo" "Cannot find shared library." Plugin search paths are ("/usr/lib64/kde4/plugins", "/usr/lib64/qt5/plugins", "/usr/bin") The environment variable QT_PLUGIN_PATH might be not correctly set Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion file:///usr/lib64/qt5/qml/QtQuick/Controls/ComboBox.qml:564: TypeError: Cannot read property '__dropDownStyle' of null QQmlExpression: Expression file:///usr/share/kpackage/kcms/kcm_energyinfo/contents/ui/main.qml:447:43 depends on non-NOTIFYable properties: Solid::Battery::serial file:///usr/share/kpackage/kcms/kcm_energyinfo/contents/ui/main.qml:118:9: QML ColumnLayout: Binding loop detected for property "width" file:///usr/share/kpackage/kcms/kcm_energyinfo/contents/ui/main.qml:118:9: QML ColumnLayout: Binding loop detected for property "width" file:///usr/share/kpackage/kcms/kcm_energyinfo/contents/ui/main.qml:118:9: QML ColumnLayout: Binding loop detected for property "width" file:///usr/share/kpackage/kcms/kcm_energyinfo/contents/ui/Graph.qml:64: TypeError: Cannot read property 'x' of undefined QPixmap: Must construct a QGuiApplication before a QPixmap Stopped ================================= Relevant backtrace part: Thread 1 (Thread 0x7fa026588800 (LWP 886)): [KCrash Handler] #6 0x00007fa030d550b7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55 #7 0x00007fa030d56429 in __GI_abort () at abort.c:89 #8 0x00007fa0314e5483 in qt_message_fatal (context=..., message=...) at global/qlogging.cpp:1610 #9 0x00007fa0314e1602 in QMessageLogger::fatal (this=0x7ffd6f25b9b0, msg=0x7fa031f53728 "QPixmap: Must construct a QGuiApplication before a QPixmap") at global/qlogging.cpp:784 #10 0x00007fa031bc1d9e in qt_pixmap_thread_test () at image/qpixmap.cpp:68 #11 0x00007fa031bc1ef9 in QPixmap::QPixmap (this=0x27d0c48) at image/qpixmap.cpp:103 #12 0x00007fa031b4d534 in QCursorData::QCursorData (this=0x27d0c30, s=Qt::ArrowCursor) at kernel/qcursor.cpp:624 #13 0x00007fa031b4d6a5 in QCursorData::initialize () at kernel/qcursor.cpp:655 #14 0x00007fa031b4d29f in QCursor::QCursor (this=0x7ffd6f25bad0, c=...) at kernel/qcursor.cpp:566 #15 0x00007fa0307ac17b in QQuickItem::cursor (this=0x2752cc0) at items/qquickitem.cpp:6999 #16 0x00007fa030867fb4 in QQuickMouseArea::setCursorShape (this=0x2752cc0, shape=Qt::IBeamCursor) at items/qquickmousearea.cpp:1257 #17 0x00007fa03096c163 in QQuickMouseArea::qt_static_metacall (_o=0x2752cc0, _c=QMetaObject::WriteProperty, _id=12, _a=0x7ffd6f25bf10) at .moc/moc_qquickmousearea_p.cpp:467 #18 0x00007fa03096c2dd in QQuickMouseArea::qt_metacall (this=0x2752cc0, _c=QMetaObject::WriteProperty, _id=12, _a=0x7ffd6f25bf10) at .moc/moc_qquickmousearea_p.cpp:517 #19 0x00007fa0302df47e in QQmlVMEMetaObject::metaCall (this=0x2752f60, o=0x2752cc0, c=QMetaObject::WriteProperty, _id=53, a=0x7ffd6f25bf10) at qml/qqmlvmemetaobject.cpp:875 #20 0x00007fa031736cdb in QMetaObject::metacall (object=0x2752cc0, cl=QMetaObject::WriteProperty, idx=53, argv=0x7ffd6f25bf10) at kernel/qmetaobject.cpp:293 #21 0x00007fa030381f7d in QQmlBinding::write (this=0x27531c0, core=..., result=..., isUndefined=false, flags=...) at qml/qqmlbinding.cpp:240 #22 0x00007fa030381c19 in QQmlBinding::update (this=0x27531c0, flags=...) at qml/qqmlbinding.cpp:191 #23 0x00007fa030383181 in QQmlBinding::expressionChanged (this=0x27531c0) at qml/qqmlbinding.cpp:398 #24 0x00007fa03037b3ae in QQmlJavaScriptExpressionGuard_callback (e=0x2733d88) at qml/qqmljavascriptexpression.cpp:431 #25 0x00007fa030358c28 in QQmlNotifier::emitNotify (endpoint=0x0, a=0x0) at qml/qqmlnotifier.cpp:94 #26 0x00007fa0302e41ee in QQmlData::signalEmitted (object=0x2684450, index=18, a=0x0) at qml/qqmlengine.cpp:772 #27 0x00007fa03176f496 in QMetaObject::activate (sender=0x2684450, signalOffset=3, local_signal_index=15, argv=0x0) at kernel/qobject.cpp:3616 #28 0x00007fa03176f2b0 in QMetaObject::activate (sender=0x2684450, m=0x7fa030aee1c0 <QQuickItem::staticMetaObject>, local_signal_index=15, argv=0x0) at kernel/qobject.cpp:3595 #29 0x00007fa0307b1287 in QQuickItem::visibleChanged (this=0x2684450) at .moc/moc_qquickitem.cpp:1094 #30 0x00007fa0307a7c9c in QQuickItemPrivate::setEffectiveVisibleRecur (this=0x2684540, newEffectiveVisible=false) at items/qquickitem.cpp:5714 #31 0x00007fa0307a7bc8 in QQuickItemPrivate::setEffectiveVisibleRecur (this=0x27524b0, newEffectiveVisible=false) at items/qquickitem.cpp:5705 #32 0x00007fa0307a7bc8 in QQuickItemPrivate::setEffectiveVisibleRecur (this=0x2603d80, newEffectiveVisible=false) at items/qquickitem.cpp:5705 #33 0x00007fa0307a78d9 in QQuickItem::setVisible (this=0x2602100, v=false) at items/qquickitem.cpp:5613 #34 0x00007fa0307b08ed in QQuickItem::qt_static_metacall (_o=0x2602100, _c=QMetaObject::WriteProperty, _id=11, _a=0x7ffd6f25e3d0) at .moc/moc_qquickitem.cpp:904 #35 0x00007fa0307b0c76 in QQuickItem::qt_metacall (this=0x2602100, _c=QMetaObject::WriteProperty, _id=11, _a=0x7ffd6f25e3d0) at .moc/moc_qquickitem.cpp:972 #36 0x00007fa0302df47e in QQmlVMEMetaObject::metaCall (this=0x2603f80, o=0x2602100, c=QMetaObject::WriteProperty, _id=12, a=0x7ffd6f25e3d0) at qml/qqmlvmemetaobject.cpp:875 #37 0x00007fa0302df445 in QQmlVMEMetaObject::metaCall (this=0x2754f60, o=0x2602100, c=QMetaObject::WriteProperty, _id=12, a=0x7ffd6f25e3d0) at qml/qqmlvmemetaobject.cpp:873 #38 0x00007fa031736cdb in QMetaObject::metacall (object=0x2602100, cl=QMetaObject::WriteProperty, idx=12, argv=0x7ffd6f25e3d0) at kernel/qmetaobject.cpp:293 #39 0x00007fa0302fc7c7 in QQmlPropertyPrivate::write (object=0x2602100, property=..., value=..., context=0x25f9680, flags=...) at qml/qqmlproperty.cpp:1247 #40 0x00007fa0302fc14d in QQmlPropertyPrivate::writeValueProperty (object=0x2602100, core=..., value=..., context=0x25f9680, flags=...) at qml/qqmlproperty.cpp:1176 #41 0x00007fa030382b1c in QQmlBinding::write (this=0x27557d0, core=..., result=..., isUndefined=false, flags=...) at qml/qqmlbinding.cpp:327 #42 0x00007fa030381c19 in QQmlBinding::update (this=0x27557d0, flags=...) at qml/qqmlbinding.cpp:191 #43 0x00007fa030383181 in QQmlBinding::expressionChanged (this=0x27557d0) at qml/qqmlbinding.cpp:398 #44 0x00007fa03037b3ae in QQmlJavaScriptExpressionGuard_callback (e=0x2732770) at qml/qqmljavascriptexpression.cpp:431 #45 0x00007fa030358c28 in QQmlNotifier::emitNotify (endpoint=0x0, a=0x0) at qml/qqmlnotifier.cpp:94 #46 0x00007fa0302e41ee in QQmlData::signalEmitted (object=0x2602100, index=43, a=0x0) at qml/qqmlengine.cpp:772 #47 0x00007fa03176f496 in QMetaObject::activate (sender=0x2602100, signalOffset=42, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3616 #48 0x00007fa0302e0756 in QQmlVMEMetaObject::activate (this=0x2754f60, object=0x2602100, index=57, args=0x0) at qml/qqmlvmemetaobject.cpp:1195 #49 0x00007fa0302dea9a in QQmlVMEMetaObject::metaCall (this=0x2754f60, o=0x2602100, c=QMetaObject::WriteProperty, _id=55, a=0x7ffd6f260610) at qml/qqmlvmemetaobject.cpp:747 #50 0x00007fa031736cdb in QMetaObject::metacall (object=0x2602100, cl=QMetaObject::WriteProperty, idx=55, argv=0x7ffd6f260610) at kernel/qmetaobject.cpp:293 #51 0x00007fa0302fc7c7 in QQmlPropertyPrivate::write (object=0x2602100, property=..., value=..., context=0x25f9680, flags=...) at qml/qqmlproperty.cpp:1247 #52 0x00007fa0302fc14d in QQmlPropertyPrivate::writeValueProperty (object=0x2602100, core=..., value=..., context=0x25f9680, flags=...) at qml/qqmlproperty.cpp:1176 #53 0x00007fa030382b1c in QQmlBinding::write (this=0x2755c60, core=..., result=..., isUndefined=false, flags=...) at qml/qqmlbinding.cpp:327 #54 0x00007fa030381c19 in QQmlBinding::update (this=0x2755c60, flags=...) at qml/qqmlbinding.cpp:191 #55 0x00007fa030383181 in QQmlBinding::expressionChanged (this=0x2755c60) at qml/qqmlbinding.cpp:398 #56 0x00007fa03037b3ae in QQmlJavaScriptExpressionGuard_callback (e=0x2732700) at qml/qqmljavascriptexpression.cpp:431 #57 0x00007fa030358c28 in QQmlNotifier::emitNotify (endpoint=0x0, a=0x0) at qml/qqmlnotifier.cpp:94 #58 0x00007fa0302e41ee in QQmlData::signalEmitted (object=0x2602100, index=42, a=0x0) at qml/qqmlengine.cpp:772 #59 0x00007fa03176f496 in QMetaObject::activate (sender=0x2602100, signalOffset=42, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3616 #60 0x00007fa0302e0756 in QQmlVMEMetaObject::activate (this=0x2754f60, object=0x2602100, index=56, args=0x0) at qml/qqmlvmemetaobject.cpp:1195 #61 0x00007fa0302dea9a in QQmlVMEMetaObject::metaCall (this=0x2754f60, o=0x2602100, c=QMetaObject::WriteProperty, _id=54, a=0x7ffd6f262890) at qml/qqmlvmemetaobject.cpp:747 #62 0x00007fa031736cdb in QMetaObject::metacall (object=0x2602100, cl=QMetaObject::WriteProperty, idx=54, argv=0x7ffd6f262890) at kernel/qmetaobject.cpp:293 #63 0x00007fa030382062 in QQmlBinding::write (this=0x2755cd0, core=..., result=..., isUndefined=false, flags=...) at qml/qqmlbinding.cpp:242 #64 0x00007fa030381c19 in QQmlBinding::update (this=0x2755cd0, flags=...) at qml/qqmlbinding.cpp:191 #65 0x00007fa030383181 in QQmlBinding::expressionChanged (this=0x2755cd0) at qml/qqmlbinding.cpp:398 #66 0x00007fa03037b3ae in QQmlJavaScriptExpressionGuard_callback (e=0x27326c8) at qml/qqmljavascriptexpression.cpp:431 #67 0x00007fa030358c28 in QQmlNotifier::emitNotify (endpoint=0x0, a=0x0) at qml/qqmlnotifier.cpp:94 #68 0x00007fa0302e41ee in QQmlData::signalEmitted (object=0x25f7dd0, index=32, a=0x0) at qml/qqmlengine.cpp:772 #69 0x00007fa03176f496 in QMetaObject::activate (sender=0x25f7dd0, signalOffset=29, local_signal_index=3, argv=0x0) at kernel/qobject.cpp:3616 #70 0x00007fa0302e0756 in QQmlVMEMetaObject::activate (this=0x25f9b30, object=0x25f7dd0, index=46, args=0x0) at qml/qqmlvmemetaobject.cpp:1195 #71 0x00007fa0302dea9a in QQmlVMEMetaObject::metaCall (this=0x25f9b30, o=0x25f7dd0, c=QMetaObject::WriteProperty, _id=44, a=0x7ffd6f264a50) at qml/qqmlvmemetaobject.cpp:747 #72 0x00007fa0302df445 in QQmlVMEMetaObject::metaCall (this=0x2756ba0, o=0x25f7dd0, c=QMetaObject::WriteProperty, _id=44, a=0x7ffd6f264a50) at qml/qqmlvmemetaobject.cpp:873 #73 0x00007fa031736cdb in QMetaObject::metacall (object=0x25f7dd0, cl=QMetaObject::WriteProperty, idx=44, argv=0x7ffd6f264a50) at kernel/qmetaobject.cpp:293 #74 0x00007fa0302a0e1e in QV4::QObjectWrapper::setProperty (engine=0x2549c70, object=0x25f7dd0, property=0x7fa008219e60, value=...) at jsruntime/qv4qobjectwrapper.cpp:507 #75 0x00007fa0302a1c11 in QV4::QObjectWrapper::setProperty (engine=0x2549c70, object=0x25f7dd0, propertyIndex=44, value=...) at jsruntime/qv4qobjectwrapper.cpp:656 #76 0x00007fa0302a1b7f in QV4::QObjectWrapper::setProperty (this=0x7fa00ee6e480, engine=0x2549c70, propertyIndex=44, value=...) at jsruntime/qv4qobjectwrapper.cpp:641 #77 0x00007fa0302c8f9e in QV4::Runtime::setQmlQObjectProperty (engine=0x2549c70, object=..., propertyIndex=44, value=...) at jsruntime/qv4runtime.cpp:1457 #78 0x00007fa00ea7d8e3 in ?? () #79 0x00007fa00ee6e410 in ?? () #80 0x00007fa00ee6e408 in ?? () #81 0x00007fa010e57010 in ?? () #82 0x0001000000000001 in ?? () #83 0x00007fa00ee6e408 in ?? () #84 0xef6402d182bcb000 in ?? () #85 0x00007ffd6f264c00 in ?? () #86 0x0000000002549c70 in ?? () #87 0x00007fa00ee6e3f0 in ?? () #88 0x00007fa00ea7d460 in ?? () #89 0x00007ffd6f264cf0 in ?? () #90 0x00007fa030238af1 in QV4::SimpleScriptFunction::call (that=0x2c82bcb000, callData=0x7fa00ee6e428) at jsruntime/qv4functionobject.cpp:576 Backtrace stopped: frame did not save the PC *** Bug 362950 has been marked as a duplicate of this bug. *** This bug seems to be fixed in recent updates: KDE Plasma: 5.6.4 Qt Version: 5.6.0 Frameworks Version: 5.22.0 Operating System: Linux 4.5.4-1-default x86_64 Distribution: "openSUSE Tumbleweed (20160520) (x86_64)" Fixed on Fedora 23 also! While the underlying Qt bug is not fixed (the cursor shape changing causing a crash on teardown) it was only exhibited by faulty behavior on our side. Thanks for your feedback! Closing then. For the commit, see bug 350861. *** Bug 364351 has been marked as a duplicate of this bug. *** *** Bug 364364 has been marked as a duplicate of this bug. *** *** Bug 366783 has been marked as a duplicate of this bug. *** *** Bug 367528 has been marked as a duplicate of this bug. *** *** Bug 368576 has been marked as a duplicate of this bug. *** *** Bug 348677 has been marked as a duplicate of this bug. *** *** Bug 381200 has been marked as a duplicate of this bug. *** *** Bug 390442 has been marked as a duplicate of this bug. *** |