Bug 342727 - Plasmashell crashes with recent qt5-git
Summary: Plasmashell crashes with recent qt5-git
Status: RESOLVED DUPLICATE of bug 344369
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-11 08:54 UTC by Yuking
Modified: 2015-03-06 11:28 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuking 2015-01-11 08:54:51 UTC
Plasmashell crashes with recent qt5-git (dev) while other applications of KF5/Plasma5 are ok.

I have recompiled all components of kf5/plasma5.

-------------------------------\
Application: plasmashell (plasmashell), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f0ed3f8c9dd in QV4::RuntimeHelpers::equalHelper(QV4::ValueRef, QV4::ValueRef) () from /kde/qt5/lib/libQt5Qml.so.5
#6  0x00007f0e9400154d in ?? ()
#7  0x000000000000002b in ?? ()
#8  0x0001800000000000 in ?? ()
#9  0x0003000000000003 in ?? ()
#10 0x0000000002c0fd08 in ?? ()
#11 0x0000000000000001 in ?? ()
#12 0x00007f0e838010e8 in ?? ()
#13 0x0000000002cb3370 in ?? ()
#14 0x00007f0e81ca8060 in ?? ()
#15 0x0000000002d59ae0 in ?? ()
#16 0x00007f0ed3f3a20a in ?? () from /kde/qt5/lib/libQt5Qml.so.5
#17 0x00007f0ed401ce8f in ?? () from /kde/qt5/lib/libQt5Qml.so.5
#18 0x00007f0ed3fc7686 in QQmlBoundSignalExpression::evaluate(void**) () from /kde/qt5/lib/libQt5Qml.so.5
#19 0x00007f0ed3fc812b in ?? () from /kde/qt5/lib/libQt5Qml.so.5
#20 0x00007f0ed4001377 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /kde/qt5/lib/libQt5Qml.so.5
#21 0x00007f0ed3fa8dfc in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () from /kde/qt5/lib/libQt5Qml.so.5
#22 0x00007f0ed1090b81 in QMetaObject::activate(QObject*, int, int, void**) () from /kde/qt5/lib/libQt5Core.so.5
#23 0x00007f0ed3fa1592 in QQmlVMEMetaObject::metaCall(QMetaObject::Call, int, void**) () from /kde/qt5/lib/libQt5Qml.so.5
#24 0x00007f0ed1072335 in QMetaProperty::write(QObject*, QVariant const&) const () from /kde/qt5/lib/libQt5Core.so.5
#25 0x00007f0ed109a64f in QObject::setProperty(char const*, QVariant const&) () from /kde/qt5/lib/libQt5Core.so.5
#26 0x00007f0ed6d0eed8 in ?? () from /kde/kde5/lib64/libKF5PlasmaQuick.so.5
#27 0x000000000044ccd4 in ShellCorona::addOutput(QSharedPointer<KScreen::Output> const&) ()
#28 0x000000000045102f in ?? ()
#29 0x0000000000451631 in ?? ()
#30 0x00007f0ed1090d76 in QMetaObject::activate(QObject*, int, int, void**) () from /kde/qt5/lib/libQt5Core.so.5
#31 0x00007f0ed5687e3f in KScreen::ConfigOperation::finished(KScreen::ConfigOperation*) () from /kde/kde5/lib64/libKF5Screen.so.6
#32 0x00007f0ed5673800 in ?? () from /kde/kde5/lib64/libKF5Screen.so.6
#33 0x00007f0ed10924e2 in QObject::event(QEvent*) () from /kde/qt5/lib/libQt5Core.so.5
#34 0x00007f0ed1f9961c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /kde/qt5/lib/libQt5Widgets.so.5
#35 0x00007f0ed1f9ea40 in QApplication::notify(QObject*, QEvent*) () from /kde/qt5/lib/libQt5Widgets.so.5
#36 0x00007f0ed1064993 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /kde/qt5/lib/libQt5Core.so.5
#37 0x00007f0ed106695b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /kde/qt5/lib/libQt5Core.so.5
#38 0x00007f0ed10b8293 in ?? () from /kde/qt5/lib/libQt5Core.so.5
#39 0x00007f0ec96a5509 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#40 0x00007f0ec96a5768 in ?? () from /usr/lib64/libglib-2.0.so.0
#41 0x00007f0ec96a580c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#42 0x00007f0ed10b8687 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /kde/qt5/lib/libQt5Core.so.5
#43 0x00007f0ed1062502 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /kde/qt5/lib/libQt5Core.so.5
#44 0x00007f0ed1069cbd in QCoreApplication::exec() () from /kde/qt5/lib/libQt5Core.so.5
#45 0x00000000004291cc in main ()


Reproducible: Always
Comment 1 Martin Klapetek 2015-01-16 17:40:02 UTC
Thanks for the report!

Can you install Qt's (qtbase and qtdeclarative) debug symbols (or compile as debug) as well as Plasma* and KScreen debug symbols?

Then please repost the backtrace again.

Thanks
Comment 2 Hrvoje Senjan 2015-01-17 19:43:47 UTC
even will all those debug symbols, i cannot get more than:

Thread 1 (Thread 0x7fe9c3e777c0 (LWP 3031)):
[KCrash Handler]
#5  0x00007fe9c13d25b9 in QV4::RuntimeHelpers::equalHelper(QV4::ValueRef, QV4::ValueRef) (this=0x7fe8cc7fd078) at jsruntime/qv4value_inl_p.h:52
#6  0x00007fe9c13d25b9 in QV4::RuntimeHelpers::equalHelper(QV4::ValueRef, QV4::ValueRef) (x=..., y=...) at jsruntime/qv4runtime.cpp:709
#7  0x00007fe96430754d in  ()
#8  0x00000000031c5610 in  ()
#9  0x0001800000000000 in  ()
#10 0x0003000000000003 in  ()
#11 0x00007fe900000000 in  ()
#12 0x0000000000000000 in  ()
Comment 3 Yuking 2015-01-20 12:51:29 UTC
(In reply to Martin Klapetek from comment #1)
> Thanks for the report!
> 
> Can you install Qt's (qtbase and qtdeclarative) debug symbols (or compile as
> debug) as well as Plasma* and KScreen debug symbols?
> 
> Then please repost the backtrace again.
> 
> Thanks

Sorry can not provide new information because the compiled debug-version QT5 can not work with the error message: it could not find or load the Qt platform plugin "xcb". I checked everything, but was not able to solve it.
Comment 4 David Edmundson 2015-01-20 12:56:02 UTC
Your QT_PLUGIN_PATH is probably wrong?
Comment 5 Yuking 2015-01-20 14:41:46 UTC
(In reply to David Edmundson from comment #4)
> Your QT_PLUGIN_PATH is probably wrong?

Two versions of QT5 shared the same parameters, except one is -debug and  the other is -release for qt5's configure.
Comment 6 Yuking 2015-01-21 10:33:01 UTC
Recompiled Qt5/plasma*/libkscreen,and the backtrace are :

Application: plasmashell (plasmashell), signal: Aborted
[KCrash Handler]
#5  0x00007f9cbbead607 in raise () from /usr/lib64/libc.so.6
#6  0x00007f9cbbeaf22a in abort () from /usr/lib64/libc.so.6
#7  0x00007f9cbcb1e1e5 in qt_message_fatal (context=..., message=...) at /home/src/kde5-src/qt5/qtbase/src/corelib/global/qlogging.cpp:1589
#8  QMessageLogger::fatal (this=this@entry=0x7fffe7a68bf0, msg=msg@entry=0x7f9cbcddf0f8 "ASSERT: \"%s\" in file %s, line %d") at /home/src/kde5-src/qt5/qtbase/src/corelib/global/qlogging.cpp:795
#9  0x00007f9cbcb17ff4 in qt_assert (assertion=assertion@entry=0x7f9cbff5fbbe "o", file=file@entry=0x7f9cbff96e00 "/home/src/kde5-src/qt5/qtdeclarative/src/qml/jsruntime/qv4engine.cpp", line=line@entry=1286) at /home/src/kde5-src/qt5/qtbase/src/corelib/global/qglobal.cpp:2812
#10 0x00007f9cbfd85f04 in toVariant (e=e@entry=0x1849830, value=..., typeHint=typeHint@entry=-1, createJSValueForObjects=createJSValueForObjects@entry=true, visitedObjects=visitedObjects@entry=0x0) at /home/src/kde5-src/qt5/qtdeclarative/src/qml/jsruntime/qv4engine.cpp:1286
#11 0x00007f9cbfd85f40 in QV4::ExecutionEngine::toVariant (this=this@entry=0x1849830, value=..., value@entry=..., typeHint=typeHint@entry=-1, createJSValueForObjects=createJSValueForObjects@entry=true) at /home/src/kde5-src/qt5/qtdeclarative/src/qml/jsruntime/qv4engine.cpp:1201
#12 0x00007f9cbfe51090 in value (isUndefined=<optimized out>, this=<optimized out>) at /home/src/kde5-src/qt5/qtdeclarative/src/qml/qml/qqmlexpression.cpp:281
#13 QQmlExpression::evaluate (this=<optimized out>, valueIsUndefined=<optimized out>) at /home/src/kde5-src/qt5/qtdeclarative/src/qml/qml/qqmlexpression.cpp:301
#14 0x00007f9c92fbfa27 in WallpaperInterface::loadFinished (this=0x184a9e0) at /home/src/kde5-src/frameworks/plasma-framework/src/scriptengines/qml/plasmoid/wallpaperinterface.cpp:173
#15 0x00007f9c92fc1fea in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (WallpaperInterface::*)()>::call(void (WallpaperInterface::*)(), WallpaperInterface*, void**) (f=(void (WallpaperInterface::*)(WallpaperInterface * const)) 0x7f9c92fbf80a <WallpaperInterface::loadFinished()>, o=0x184a9e0, arg=0x7fffe7a68fd0) at /kde/qt5/include/QtCore/qobjectdefs_impl.h:500
#16 0x00007f9c92fc1c8d in QtPrivate::FunctionPointer<void (WallpaperInterface::*)()>::call<QtPrivate::List<>, void>(void (WallpaperInterface::*)(), WallpaperInterface*, void**) (f=(void (WallpaperInterface::*)(WallpaperInterface * const)) 0x7f9c92fbf80a <WallpaperInterface::loadFinished()>, o=0x184a9e0, arg=0x7fffe7a68fd0) at /kde/qt5/include/QtCore/qobjectdefs_impl.h:519
#17 0x00007f9c92fc18b5 in QtPrivate::QSlotObject<void (WallpaperInterface::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x18ff4e0, r=0x184a9e0, a=0x7fffe7a68fd0, ret=0x0) at /kde/qt5/include/QtCore/qobject_impl.h:143
#18 0x00007f9cbcd590d9 in call (a=0x7fffe7a68fd0, r=0x184a9e0, this=0x18ff4e0) at ../../include/QtCore/../../../../../home/src/kde5-src/qt5/qtbase/src/corelib/kernel/qobject_impl.h:124
#19 QMetaObject::activate (sender=0x16b7880, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at /home/src/kde5-src/qt5/qtbase/src/corelib/kernel/qobject.cpp:3703
#20 0x00007f9cc226206a in ?? () from /kde/kde5/lib64/libKF5Declarative.so.5
#21 0x00007f9cbcd5ab52 in QObject::event (this=0x16b7880, e=<optimized out>) at /home/src/kde5-src/qt5/qtbase/src/corelib/kernel/qobject.cpp:1246
#22 0x00007f9cbdcd9c74 in QApplicationPrivate::notify_helper (this=this@entry=0xb5b830, receiver=receiver@entry=0x16b7880, e=e@entry=0x1909760) at /home/src/kde5-src/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3706
#23 0x00007f9cbdce22e0 in QApplication::notify (this=0x7fffe7a69850, receiver=0x16b7880, e=0x1909760) at /home/src/kde5-src/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3489
#24 0x00007f9cbcd2a6ab in QCoreApplication::notifyInternal (this=0x7fffe7a69850, receiver=0x16b7880, event=event@entry=0x1909760) at /home/src/kde5-src/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:930
#25 0x00007f9cbcd2d45d in sendEvent (event=0x1909760, receiver=<optimized out>) at ../../include/QtCore/../../../../../home/src/kde5-src/qt5/qtbase/src/corelib/kernel/qcoreapplication.h:228
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xb52020) at /home/src/kde5-src/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1534
#27 0x00007f9cbcd2d9b8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at /home/src/kde5-src/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1392
#28 0x00007f9cbcd836f3 in postEventSourceDispatch (s=0xb992e0) at /home/src/kde5-src/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:271
#29 0x00007f9cb532a509 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f9cb532a768 in ?? () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f9cb532a80c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f9cbcd83af7 in QEventDispatcherGlib::processEvents (this=0xba58f0, flags=...) at /home/src/kde5-src/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:418
#33 0x00007f9cbcd27fe2 in QEventLoop::exec (this=this@entry=0x7fffe7a69730, flags=..., flags@entry=...) at /home/src/kde5-src/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:204
#34 0x00007f9cbcd3033d in QCoreApplication::exec () at /home/src/kde5-src/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1183
#35 0x000000000046abc0 in main (argc=1, argv=0x7fffe7a69e18) at /home/src/kde5-src/desktop/plasma-workspace/shell/main.cpp:150
Comment 7 Hrvoje Senjan 2015-01-24 17:45:35 UTC
same backtrace here,

Thread 1 (Thread 0x7f66fe507780 (LWP 30642)):
[KCrash Handler]
#5  0x00007f66f7fd60f7 in raise () at /lib64/libc.so.6
#6  0x00007f66f7fd74ca in abort () at /lib64/libc.so.6
#7  0x00007f66f86e0b05 in QMessageLogger::fatal(char const*, ...) const (context=..., message=...) at global/qlogging.cpp:1589
#8  0x00007f66f86e0b05 in QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7fff34c22dc0, msg=msg@entry=0x7f66f893d350 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:795
#9  0x00007f66f86db3b4 in qt_assert(char const*, char const*, int) (assertion=assertion@entry=0x7f66fba4346c "o", file=file@entry=0x7f66fba3b540 "jsruntime/qv4engine.cpp", line=line@entry=1252) at global/qglobal.cpp:2870
#10 0x00007f66fb84728e in toVariant(QV4::ExecutionEngine*, QV4::Value const&, int, bool, V4ObjectSet*) (e=e@entry=0x31496a0, value=..., typeHint=typeHint@entry=-1, createJSValueForObjects=createJSValueForObjects@entry=true, visitedObjects=visitedObjects@entry=0x0) at jsruntime/qv4engine.cpp:1252
#11 0x00007f66fb8472c0 in QV4::ExecutionEngine::toVariant(QV4::Value const&, int, bool) (this=this@entry=0x31496a0, value=..., typeHint=typeHint@entry=-1, createJSValueForObjects=createJSValueForObjects@entry=true) at jsruntime/qv4engine.cpp:1167
#12 0x00007f66fb90a4b9 in QQmlExpressionPrivate::value(bool*) (this=<optimized out>, isUndefined=isUndefined@entry=0x0) at qml/qqmlexpression.cpp:281
#13 0x00007f66fb90a66d in QQmlExpression::evaluate(bool*) (this=this@entry=0x7fff34c22f90, valueIsUndefined=valueIsUndefined@entry=0x0) at qml/qqmlexpression.cpp:301
#14 0x00007f66cd90c758 in WallpaperInterface::loadFinished() (this=0x3143350) at /usr/src/debug/plasma-framework-5.7.0git/src/scriptengines/qml/plasmoid/wallpaperinterface.cpp:173
#15 0x00007f66f88c6dc3 in QMetaObject::activate(QObject*, int, int, void**) (a=0x7fff34c23080, r=0x3143350, this=0x3237b40) at ../../src/corelib/kernel/qobject_impl.h:124
#16 0x00007f66f88c6dc3 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x315d4b0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3703
#17 0x00007f66fc8186c9 in KDeclarative::QmlObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdeclarative-5.7.0git/build/src/kdeclarative/moc_qmlobject.cpp:103
#18 0x00007f66f88c861e in QObject::event(QEvent*) (this=0x315d4b0, e=<optimized out>) at kernel/qobject.cpp:1246
#19 0x00007f66f9bda5dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x21ea690, receiver=receiver@entry=0x315d4b0, e=e@entry=0x30ebce0) at kernel/qapplication.cpp:3706
#20 0x00007f66f9bdf738 in QApplication::notify(QObject*, QEvent*) (this=0x7fff34c239e0, receiver=0x315d4b0, e=0x30ebce0) at kernel/qapplication.cpp:3489
#21 0x00007f66f889ce2d in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fff34c239e0, receiver=0x315d4b0, event=event@entry=0x30ebce0) at kernel/qcoreapplication.cpp:930
#22 0x00007f66f889fb02 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x30ebce0, receiver=<optimized out>) at kernel/qcoreapplication.h:228
#23 0x00007f66f889fb02 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x21dff40) at kernel/qcoreapplication.cpp:1534
#24 0x00007f66f88a0068 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1392
#25 0x00007f66f88ede63 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x223ae40) at kernel/qeventdispatcher_glib.cpp:271
#26 0x00007f66f433ba04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#27 0x00007f66f433bc48 in  () at /usr/lib64/libglib-2.0.so.0
#28 0x00007f66f433bcec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#29 0x00007f66f88ed61c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x222d980, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#30 0x00007f66f889b2ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff34c23870, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#31 0x00007f66f88a2856 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1183
#32 0x00007f66f8dda8bc in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1512
#33 0x00007f66f9bd7685 in QApplication::exec() () at kernel/qapplication.cpp:2964
#34 0x0000000000431184 in main(int, char**) (argc=2, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.2.90git/shell/main.cpp:150
Comment 8 Yuking 2015-02-10 02:40:20 UTC
This problem still exists up till now.
Comment 9 David Edmundson 2015-03-06 11:28:29 UTC

*** This bug has been marked as a duplicate of bug 344369 ***