Bug 351286

Summary: PlasmaShell crashes at startup
Product: [Plasma] plasmashell Reporter: Mike <noeerover>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED UPSTREAM    
Severity: crash CC: andreiamenta, bhush94, maldela, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: master   
Target Milestone: 1.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mike 2015-08-14 11:26:39 UTC
Application: plasmashell (5.3.95)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-rc6-2.g72c7b5d-desktop x86_64
Distribution: "openSUSE 20150812 (Tumbleweed) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

Logging into plasma5 using SDDM.  In this case, I had only one monitor connected and there was only one crash.  If my second monitor was connected (HDMI), then it will crash three times and I will have just a "black" desktop.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f684dfba880 (LWP 1589))]

Thread 7 (Thread 0x7f68375d2700 (LWP 1591)):
#0  0x00007f6847603fbd in poll () at /lib64/libc.so.6
#1  0x00007f684c42b332 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f684c42ce17 in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f683995b7f9 in  () at /usr/lib64/qt5/plugins/platforms/libqxcb.so
#4  0x00007f6847cefeaf in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f6846e07324 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f684760c70d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f6834b65700 (LWP 1595)):
#0  0x00007f6847603fbd in poll () at /lib64/libc.so.6
#1  0x00007f6843d13e94 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f6843d13f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f6847f1420b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f6847ebd5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f6847ceb13c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f684af0fd05 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f6847cefeaf in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f6846e07324 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f684760c70d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f682b9a8700 (LWP 1623)):
#0  0x00007f6846e0c93f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f6831b5118a in  () at /usr/lib64/dri/r600_dri.so
#2  0x00007f6831b509f7 in  () at /usr/lib64/dri/r600_dri.so
#3  0x00007f6846e07324 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f684760c70d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f6825a47700 (LWP 1627)):
#0  0x00007f6847603fbd in poll () at /lib64/libc.so.6
#1  0x00007f6843d13e94 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f6843d13f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f6847f1420b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f6847ebd5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f6847ceb13c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f684af0fd05 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f6847cefeaf in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f6846e07324 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f684760c70d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f68237ec700 (LWP 1631)):
#0  0x00007f6847603fbd in poll () at /lib64/libc.so.6
#1  0x00007f6843d13e94 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f6843d13f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f6847f1420b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f6847ebd5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f6847ceb13c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f684af0fd05 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f6847cefeaf in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f6846e07324 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f684760c70d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f6821e74700 (LWP 1632)):
#0  0x00007f6846e0c93f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f684d69c7f4 in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f684d69c839 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f6846e07324 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f684760c70d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f684dfba880 (LWP 1589)):
[KCrash Handler]
#6  0x00007f684adfc19d in QV4::MemoryManager::collectFromJSStack() const () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f684adfc2c3 in QV4::MemoryManager::mark() () at /usr/lib64/libQt5Qml.so.5
#8  0x00007f684adfccb8 in QV4::MemoryManager::runGC() () at /usr/lib64/libQt5Qml.so.5
#9  0x00007f684adfdb43 in QV4::MemoryManager::allocData(unsigned long) () at /usr/lib64/libQt5Qml.so.5
#10 0x00007f684ae2775b in  () at /usr/lib64/libQt5Qml.so.5
#11 0x00007f684ae2981c in QV4::Object::Data::Data(QV4::InternalClass*) () at /usr/lib64/libQt5Qml.so.5
#12 0x00007f684adeb490 in QV4::ExecutionEngine::newObject(QV4::InternalClass*) () at /usr/lib64/libQt5Qml.so.5
#13 0x00007f684ae1b58c in QV4::FunctionObject::init(QV4::String*, bool) () at /usr/lib64/libQt5Qml.so.5
#14 0x00007f684ae1b644 in QV4::FunctionObject::Data::Data(QV4::ExecutionContext*, QV4::String*, bool) () at /usr/lib64/libQt5Qml.so.5
#15 0x00007f684ae1bb2f in  () at /usr/lib64/libQt5Qml.so.5
#16 0x00007f684ae1bda3 in QV4::FunctionObject::createScriptFunction(QV4::ExecutionContext*, QV4::Function*, bool) () at /usr/lib64/libQt5Qml.so.5
#17 0x00007f684af09e3f in  () at /usr/lib64/libQt5Qml.so.5
#18 0x00007f684af0a4c0 in  () at /usr/lib64/libQt5Qml.so.5
#19 0x00007f684af0ae9c in  () at /usr/lib64/libQt5Qml.so.5
#20 0x00007f684af0bf54 in  () at /usr/lib64/libQt5Qml.so.5
#21 0x00007f684ae99c07 in  () at /usr/lib64/libQt5Qml.so.5
#22 0x00007f684ae9a45c in QQmlIncubationController::incubateFor(int) () at /usr/lib64/libQt5Qml.so.5
#23 0x00007f684bf683fc in  () at /usr/lib64/libKF5Declarative.so.5
#24 0x00007f684ae9a2c9 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () at /usr/lib64/libQt5Qml.so.5
#25 0x00007f684ae95d5c in QQmlComponent::create(QQmlIncubator&, QQmlContext*, QQmlContext*) () at /usr/lib64/libQt5Qml.so.5
#26 0x00007f684bbbdb4a in  () at /usr/lib64/libQt5Quick.so.5
#27 0x00007f684bbbdcc8 in  () at /usr/lib64/libQt5Quick.so.5
#28 0x00007f684af07d72 in  () at /usr/lib64/libQt5Qml.so.5
#29 0x00007f684ae9994a in  () at /usr/lib64/libQt5Qml.so.5
#30 0x00007f684ae9a45c in QQmlIncubationController::incubateFor(int) () at /usr/lib64/libQt5Qml.so.5
#31 0x00007f684bf683fc in  () at /usr/lib64/libKF5Declarative.so.5
#32 0x00007f684ae9a2c9 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () at /usr/lib64/libQt5Qml.so.5
#33 0x00007f684ae95d5c in QQmlComponent::create(QQmlIncubator&, QQmlContext*, QQmlContext*) () at /usr/lib64/libQt5Qml.so.5
#34 0x00007f684bf58e25 in KDeclarative::QmlObject::completeInitialization(QHash<QString, QVariant> const&) () at /usr/lib64/libKF5Declarative.so.5
#35 0x00007f684d9c7898 in PlasmaQuick::AppletQuickItem::init() () at /usr/lib64/libKF5PlasmaQuick.so.5
#36 0x00007f6823801b54 in  () at /usr/lib64/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#37 0x00007f68238011a9 in  () at /usr/lib64/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#38 0x00007f6847eefb39 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#39 0x00007f684bb11e3b in QQuickItem::event(QEvent*) () at /usr/lib64/libQt5Quick.so.5
#40 0x00007f6823801e06 in  () at /usr/lib64/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#41 0x00007f684921186c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#42 0x00007f6849216b80 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#43 0x00007f6847ebfbf3 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#44 0x00007f6847ec1c37 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#45 0x00007f6847f13de3 in  () at /usr/lib64/libQt5Core.so.5
#46 0x00007f6843d13cc7 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#47 0x00007f6843d13ef8 in  () at /usr/lib64/libglib-2.0.so.0
#48 0x00007f6843d13f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#49 0x00007f6847f141ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#50 0x00007f6847ebd5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#51 0x00007f6847ec4d6d in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#52 0x0000000000435dc0 in main ()

Possible duplicates by query: bug 351197, bug 336493.

Reported using DrKonqi
Comment 1 Malte Veerman 2015-08-14 15:33:27 UTC
Upgrading frameworks to version 5.13 solved it for me.
Comment 2 David Edmundson 2015-08-16 18:36:13 UTC
*** Bug 351197 has been marked as a duplicate of this bug. ***
Comment 3 David Edmundson 2015-08-16 18:37:05 UTC
Probably changing to Qt5.4

This problem might be fixed by upstream with following commit. 
https://qt.gitorious.org/qt/qtdeclarative/commit/06514a3fa24a66ce1e29aca14c3c699d1aa8185a 
Which will come with Qt 5.4.