Bug 412871

Summary: Plasma crash on optimus laptop
Product: [Plasma] plasmashell Reporter: Vladimir <zo0b>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED NOT A BUG    
Severity: crash CC: plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.16.5   
Target Milestone: 1.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vladimir 2019-10-12 09:26:19 UTC
Application: plasmashell (5.16.5)
 (Compiled from sources)
Qt Version: 5.12.3
Frameworks Version: 5.60.0
Operating System: Linux 4.19.66-gentoo-acer x86_64
Distribution: "Gentoo Base System release 2.6"

-- Information about the crash:
On Gentoo distribution, my KDE Plasma started to crash with no obvious reason

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f1343fff700 (LWP 136725)):
#0  0x00007f13524b9ed4 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f135246ea8b in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f135246f47b in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f135246f66c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f13563e9ebb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f1356397a33 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f135620b546 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f135850c095 in  () at /usr/lib64/libQt5Qml.so.5
#8  0x00007f135620c771 in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f13544dc408 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f1355e7d7ff in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f13495cc700 (LWP 136701)):
#0  0x00007f13524b9ed4 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f135246ea8b in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f135246f47b in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f135246f66c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f13563e9ebb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f1356397a33 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f135620b546 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f13571ab455 in  () at /usr/lib64/libQt5DBus.so.5
#8  0x00007f135620c771 in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f13544dc408 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f1355e7d7ff in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f134d50d1c0 (LWP 136666)):
[KCrash Handler]
#6  0x00007f1355db0e0b in raise () at /lib64/libc.so.6
#7  0x00007f1355d9a535 in abort () at /lib64/libc.so.6
#8  0x00007f13561d502d in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f132fd86b58 in  () at /usr/lib64/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so
#10 0x00007f132fd86fd7 in  () at /usr/lib64/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so
#11 0x00007f134cb31846 in QXcbIntegration::createPlatformOpenGLContext(QOpenGLContext*) const () at /usr/lib64/libQt5XcbQpa.so.5
#12 0x00007f13569882bf in QOpenGLContext::create() () at /usr/lib64/libQt5Gui.so.5
#13 0x00007f13369ad14b in  () at /usr/lib64/qt5/qml/QtGraphicalEffects/private/libqtgraphicaleffectsprivate.so
#14 0x00007f13369a9076 in  () at /usr/lib64/qt5/qml/QtGraphicalEffects/private/libqtgraphicaleffectsprivate.so
#15 0x00007f135848b321 in QQmlType::SingletonInstanceInfo::init(QQmlEngine*) () at /usr/lib64/libQt5Qml.so.5
#16 0x00007f1358393cac in QV4::QQmlContextWrapper::getPropertyAndBase(QV4::QQmlContextWrapper const*, QV4::PropertyKey, QV4::Value const*, bool*, QV4::Value*, QV4::Lookup*) () at /usr/lib64/libQt5Qml.so.5
#17 0x00007f1358394062 in QV4::QQmlContextWrapper::resolveQmlContextPropertyLookupGetter(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value*) () at /usr/lib64/libQt5Qml.so.5
#18 0x00007f13583d42de in  () at /usr/lib64/libQt5Qml.so.5
#19 0x00007f13583d87e7 in  () at /usr/lib64/libQt5Qml.so.5
#20 0x00007f135836a640 in  () at /usr/lib64/libQt5Qml.so.5
#21 0x00007f135843982a in QV4::Runtime::method_callQmlContextPropertyLookup(QV4::ExecutionEngine*, unsigned int, QV4::Value*, int) () at /usr/lib64/libQt5Qml.so.5
#22 0x00007f13583d3475 in  () at /usr/lib64/libQt5Qml.so.5
#23 0x00007f13583d87e7 in  () at /usr/lib64/libQt5Qml.so.5
#24 0x00007f1358369b5b in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () at /usr/lib64/libQt5Qml.so.5
#25 0x00007f13584d9057 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /usr/lib64/libQt5Qml.so.5
#26 0x00007f135847c537 in QQmlBoundSignalExpression::evaluate(void**) () at /usr/lib64/libQt5Qml.so.5
#27 0x00007f135847d6bb in  () at /usr/lib64/libQt5Qml.so.5
#28 0x00007f13584bbfe3 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /usr/lib64/libQt5Qml.so.5
#29 0x00007f135845f45a in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () at /usr/lib64/libQt5Qml.so.5
#30 0x00007f13563bfe6f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#31 0x00007f135845bc95 in QQmlVMEMetaObject::writeVarProperty(int, QV4::Value const&) () at /usr/lib64/libQt5Qml.so.5
#32 0x00007f13584e0a3a in QQmlBinding::slowWrite(QQmlPropertyData const&, QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#33 0x00007f13584e2168 in  () at /usr/lib64/libQt5Qml.so.5
#34 0x00007f13584e3536 in  () at /usr/lib64/libQt5Qml.so.5
#35 0x00007f13584dfe6b in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#36 0x00007f13583b6d1d in QV4::QObjectWrapper::getProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*) () at /usr/lib64/libQt5Qml.so.5
#37 0x00007f13583b872f in QV4::QObjectWrapper::getQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, bool*, QQmlPropertyData**) () at /usr/lib64/libQt5Qml.so.5
#38 0x00007f13583938de in QV4::QQmlContextWrapper::getPropertyAndBase(QV4::QQmlContextWrapper const*, QV4::PropertyKey, QV4::Value const*, bool*, QV4::Value*, QV4::Lookup*) () at /usr/lib64/libQt5Qml.so.5
#39 0x00007f1358394062 in QV4::QQmlContextWrapper::resolveQmlContextPropertyLookupGetter(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value*) () at /usr/lib64/libQt5Qml.so.5
#40 0x00007f13583d42de in  () at /usr/lib64/libQt5Qml.so.5
#41 0x00007f13583d87e7 in  () at /usr/lib64/libQt5Qml.so.5
#42 0x00007f135836a640 in  () at /usr/lib64/libQt5Qml.so.5
#43 0x00007f135843982a in QV4::Runtime::method_callQmlContextPropertyLookup(QV4::ExecutionEngine*, unsigned int, QV4::Value*, int) () at /usr/lib64/libQt5Qml.so.5
#44 0x00007f13583d3475 in  () at /usr/lib64/libQt5Qml.so.5
#45 0x00007f13583d87e7 in  () at /usr/lib64/libQt5Qml.so.5
#46 0x00007f1358369b5b in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () at /usr/lib64/libQt5Qml.so.5
#47 0x00007f13584d9057 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /usr/lib64/libQt5Qml.so.5
#48 0x00007f135847c537 in QQmlBoundSignalExpression::evaluate(void**) () at /usr/lib64/libQt5Qml.so.5
#49 0x00007f135847d6bb in  () at /usr/lib64/libQt5Qml.so.5
#50 0x00007f13584bbfe3 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /usr/lib64/libQt5Qml.so.5
#51 0x00007f135845f45a in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () at /usr/lib64/libQt5Qml.so.5
#52 0x00007f13563bfe6f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#53 0x00007f135845b37c in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib64/libQt5Qml.so.5
#54 0x00007f13584e2883 in  () at /usr/lib64/libQt5Qml.so.5
#55 0x00007f13584e3536 in  () at /usr/lib64/libQt5Qml.so.5
#56 0x00007f13584dfe6b in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#57 0x00007f13583b6d1d in QV4::QObjectWrapper::getProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*) () at /usr/lib64/libQt5Qml.so.5
#58 0x00007f13583b872f in QV4::QObjectWrapper::getQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, bool*, QQmlPropertyData**) () at /usr/lib64/libQt5Qml.so.5
#59 0x00007f13583938de in QV4::QQmlContextWrapper::getPropertyAndBase(QV4::QQmlContextWrapper const*, QV4::PropertyKey, QV4::Value const*, bool*, QV4::Value*, QV4::Lookup*) () at /usr/lib64/libQt5Qml.so.5
#60 0x00007f1358394062 in QV4::QQmlContextWrapper::resolveQmlContextPropertyLookupGetter(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value*) () at /usr/lib64/libQt5Qml.so.5
#61 0x00007f13583d42de in  () at /usr/lib64/libQt5Qml.so.5
#62 0x00007f13583d87e7 in  () at /usr/lib64/libQt5Qml.so.5
#63 0x00007f135836a640 in  () at /usr/lib64/libQt5Qml.so.5
#64 0x00007f135843982a in QV4::Runtime::method_callQmlContextPropertyLookup(QV4::ExecutionEngine*, unsigned int, QV4::Value*, int) () at /usr/lib64/libQt5Qml.so.5
#65 0x00007f13583d3475 in  () at /usr/lib64/libQt5Qml.so.5
#66 0x00007f13583d87e7 in  () at /usr/lib64/libQt5Qml.so.5
#67 0x00007f1358369b5b in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () at /usr/lib64/libQt5Qml.so.5
#68 0x00007f13584d9057 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /usr/lib64/libQt5Qml.so.5
#69 0x00007f135847c537 in QQmlBoundSignalExpression::evaluate(void**) () at /usr/lib64/libQt5Qml.so.5
#70 0x00007f135847d6bb in  () at /usr/lib64/libQt5Qml.so.5
#71 0x00007f13584bbfe3 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /usr/lib64/libQt5Qml.so.5
#72 0x00007f135845f45a in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () at /usr/lib64/libQt5Qml.so.5
#73 0x00007f13563bfe6f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#74 0x00007f135845b37c in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib64/libQt5Qml.so.5
#75 0x00007f13584e2a37 in  () at /usr/lib64/libQt5Qml.so.5
#76 0x00007f13584e3536 in  () at /usr/lib64/libQt5Qml.so.5
#77 0x00007f13584dfe6b in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#78 0x00007f13583b6d1d in QV4::QObjectWrapper::getProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*) () at /usr/lib64/libQt5Qml.so.5
#79 0x00007f13583b7db9 in QV4::QObjectWrapper::virtualResolveLookupGetter(QV4::Object const*, QV4::ExecutionEngine*, QV4::Lookup*) () at /usr/lib64/libQt5Qml.so.5
#80 0x00007f13583d4506 in  () at /usr/lib64/libQt5Qml.so.5
#81 0x00007f13583d87e7 in  () at /usr/lib64/libQt5Qml.so.5
#82 0x00007f1358369b5b in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () at /usr/lib64/libQt5Qml.so.5
#83 0x00007f13584d9057 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /usr/lib64/libQt5Qml.so.5
#84 0x00007f13584dec0e in QQmlBinding::evaluate(bool*) () at /usr/lib64/libQt5Qml.so.5
#85 0x00007f13584e34e1 in  () at /usr/lib64/libQt5Qml.so.5
#86 0x00007f13584dfe6b in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#87 0x00007f13584ee186 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /usr/lib64/libQt5Qml.so.5
#88 0x00007f1358477d92 in  () at /usr/lib64/libQt5Qml.so.5
#89 0x00007f1358478366 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () at /usr/lib64/libQt5Qml.so.5
#90 0x00007f1358552fb7 in  () at /usr/lib64/libQt5Qml.so.5
#91 0x00007f13585530b1 in QQmlDelegateModel::object(int, QQmlIncubator::IncubationMode) () at /usr/lib64/libQt5Qml.so.5
#92 0x00007f1358b87ee5 in  () at /usr/lib64/libQt5Quick.so.5
#93 0x00007f1358b97635 in  () at /usr/lib64/libQt5Quick.so.5
#94 0x00007f1358b89cb3 in  () at /usr/lib64/libQt5Quick.so.5
#95 0x00007f1358b88430 in  () at /usr/lib64/libQt5Quick.so.5
#96 0x00007f1358aacd42 in QQuickWindowPrivate::polishItems() () at /usr/lib64/libQt5Quick.so.5
#97 0x00007f1358a6f08d in  () at /usr/lib64/libQt5Quick.so.5
#98 0x00007f1358a700aa in  () at /usr/lib64/libQt5Quick.so.5
#99 0x00007f13569579f5 in QWindow::event(QEvent*) () at /usr/lib64/libQt5Gui.so.5
#100 0x00007f1358ab7a2b in QQuickWindow::event(QEvent*) () at /usr/lib64/libQt5Quick.so.5
#101 0x000055d0939125c3 in  ()
#102 0x00007f1357611861 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#103 0x00007f1357618e58 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#104 0x00007f1356398a61 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#105 0x00007f135694df06 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () at /usr/lib64/libQt5Gui.so.5
#106 0x00007f135694e18d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5
#107 0x00007f135692a1fa in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#108 0x00007f134cb5a15a in  () at /usr/lib64/libQt5XcbQpa.so.5
#109 0x00007f135246f33d in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#110 0x00007f135246f5d8 in  () at /usr/lib64/libglib-2.0.so.0
#111 0x00007f135246f66c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#112 0x00007f13563e9ea3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#113 0x00007f1356397a33 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#114 0x00007f135639f7b2 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#115 0x000055d0938fb275 in  ()
#116 0x00007f1355d9becb in __libc_start_main () at /lib64/libc.so.6
#117 0x000055d0938fb6fa in _start ()
[Inferior 1 (process 136666) detached]

Reported using DrKonqi
Comment 1 Vladimir 2019-10-12 10:23:17 UTC
It turned out that I have wrong OpenGL set:
# eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11

Setting it to xorg-x11 solved the problem.