Bug 350009

Summary: Plasma crashes on every startup after last update
Product: [Plasma] plasmashell Reporter: Rafael Linux User <rafael.linux.user>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED NOT A BUG    
Severity: crash CC: arparamir, bhush94, plasma-bugs, rafael.linux.user
Priority: NOR Keywords: drkonqi
Version: 5.2.2   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rafael Linux User 2015-07-07 18:27:43 UTC
Application: plasmashell (5.2.2)

Qt Version: 5.4.1
Operating System: Linux 3.16.7-21-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
I updated Plasma yesterday and since I try to reboot, plasma always crash. No panels at all, no <Alt><F2>, no <Alt><Tab> visual selector ... only windows without control buttons on their window head.

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 0x7f1d04415800 (LWP 3211))]

Thread 3 (Thread 0x7f1cecd25700 (LWP 3213)):
#0  0x00007f1cfe148c5d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1d00fae322 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f1d00fafdef in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f1cef8bbbd9 in QXcbEventReader::run (this=0x1058790) at qxcbconnection.cpp:1105
#4  0x00007f1cfe7c27cf in QThreadPrivate::start (arg=0x1058790) at thread/qthread_unix.cpp:337
#5  0x00007f1cfd8050a4 in start_thread (arg=0x7f1cecd25700) at pthread_create.c:309
#6  0x00007f1cfe15108d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f1ce6709700 (LWP 3223)):
#0  0x00007f1cfe148c5d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1cfa3e7be4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f1cfa3e7cec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f1cfe9f414b in QEventDispatcherGlib::processEvents (this=0x7f1ce00008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f1cfe99ad5b in QEventLoop::exec (this=this@entry=0x7f1ce6708db0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f1cfe7bdbaa in QThread::exec (this=this@entry=0x1134fe0) at thread/qthread.cpp:503
#6  0x00007f1d00a4e3f8 in QQmlThreadPrivate::run (this=0x1134fe0) at /usr/src/debug/qtdeclarative-opensource-src-5.4.1/src/qml/qml/ftw/qqmlthread.cpp:141
#7  0x00007f1cfe7c27cf in QThreadPrivate::start (arg=0x1134fe0) at thread/qthread_unix.cpp:337
#8  0x00007f1cfd8050a4 in start_thread (arg=0x7f1ce6709700) at pthread_create.c:309
#9  0x00007f1cfe15108d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f1d04415800 (LWP 3211)):
[KCrash Handler]
#5  0x00007f1cfe0a1187 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#6  0x00007f1cfe0a2538 in __GI_abort () at abort.c:78
#7  0x00007f1cfe7b0e60 in qt_message_fatal (context=..., message=...) at global/qlogging.cpp:1415
#8  QMessageLogger::fatal (this=this@entry=0x7ffc0f6b6dc0, msg=msg@entry=0x7f1cef91ff84 "Could not initialize GLX") at global/qlogging.cpp:636
#9  0x00007f1cef8e326e in QGLXContext::init (this=0x13b8d00, screen=0x105ab40, share=0x0) at qglxintegration.cpp:303
#10 0x00007f1cef8bd1bb in QXcbIntegration::createPlatformOpenGLContext (this=<optimized out>, context=0x7ffc0f6b6ea0) at qxcbintegration.cpp:254
#11 0x00007f1cfef10a6b in QOpenGLContext::create (this=0x7ffc0f6b6ea0) at kernel/qopenglcontext.cpp:596
#12 0x00007f1cef8e35fd in QGLXContext::queryDummyContext () at qglxintegration.cpp:657
#13 0x00007f1cef8e3771 in QGLXContext::supportsThreading () at qglxintegration.cpp:688
#14 0x00007f1d03e29833 in QSGRenderLoop::instance () at /usr/src/debug/qtdeclarative-opensource-src-5.4.1/src/quick/scenegraph/qsgrenderloop.cpp:174
#15 0x00007f1d03e58d50 in QQuickWindowPrivate::init (this=0x13bbec0, c=0x13bd8b0, control=0x0) at /usr/src/debug/qtdeclarative-opensource-src-5.4.1/src/quick/items/qquickwindow.cpp:443
#16 0x00007f1d03109a5e in PlasmaQuick::Dialog::Dialog (this=0x13bd8b0, parent=<optimized out>) at /usr/src/debug/plasma-framework-5.10.0/src/plasmaquick/dialog.cpp:654
#17 0x00007f1ce5064480 in QQmlElement (this=0x13bd8b0) at /usr/include/qt5/QtQml/qqmlprivate.h:93
#18 QQmlPrivate::createInto<PlasmaQuick::Dialog> (memory=0x13bd8b0) at /usr/include/qt5/QtQml/qqmlprivate.h:102
#19 0x00007f1d009e9809 in QQmlType::create (this=this@entry=0x7f1ce00466a0) at /usr/src/debug/qtdeclarative-opensource-src-5.4.1/src/qml/qml/qqmlmetatype.cpp:713
#20 0x00007f1d00a49f4f in QQmlObjectCreator::createInstance (this=this@entry=0x13b5d90, index=index@entry=0, parent=parent@entry=0x0, isContextObject=isContextObject@entry=true) at /usr/src/debug/qtdeclarative-opensource-src-5.4.1/src/qml/qml/qqmlobjectcreator.cpp:1061
#21 0x00007f1d00a4a814 in QQmlObjectCreator::create (this=0x13b5d90, subComponentIndex=-1, parent=parent@entry=0x0, interrupt=interrupt@entry=0x7ffc0f6b73c0) at /usr/src/debug/qtdeclarative-opensource-src-5.4.1/src/qml/qml/qqmlobjectcreator.cpp:222
#22 0x00007f1d009d9117 in QQmlIncubatorPrivate::incubate (this=0x1138480, i=...) at /usr/src/debug/qtdeclarative-opensource-src-5.4.1/src/qml/qml/qqmlincubator.cpp:302
#23 0x00007f1d009d991e in QQmlIncubationController::incubateFor (this=this@entry=0x1274c40, msecs=<optimized out>) at /usr/src/debug/qtdeclarative-opensource-src-5.4.1/src/qml/qml/qqmlincubator.cpp:395
#24 0x00007f1d0278f38c in incubate (this=0x1274c30) at /usr/src/debug/kdeclarative-5.10.0/src/kdeclarative/private/qmlobject_p.h:63
#25 KDeclarative::QmlObjectIncubationController::incubatingObjectCountChanged (this=0x1274c30, count=1) at /usr/src/debug/kdeclarative-5.10.0/src/kdeclarative/private/qmlobject_p.h:79
#26 0x00007f1d009d95b5 in QQmlEnginePrivate::incubate (this=this@entry=0x1134cc0, i=..., forContext=forContext@entry=0x1274740) at /usr/src/debug/qtdeclarative-opensource-src-5.4.1/src/qml/qml/qqmlincubator.cpp:97
#27 0x00007f1d009d52dc in QQmlComponent::create (this=<optimized out>, incubator=..., context=<optimized out>, context@entry=0x0, forContext=forContext@entry=0x0) at /usr/src/debug/qtdeclarative-opensource-src-5.4.1/src/qml/qml/qqmlcomponent.cpp:1068
#28 0x00007f1d0277f92d in KDeclarative::QmlObject::completeInitialization (this=0x10bfa50, initialProperties=...) at /usr/src/debug/kdeclarative-5.10.0/src/kdeclarative/qmlobject.cpp:270
#29 0x00007f1d0277f9dc in KDeclarative::QmlObjectPrivate::scheduleExecutionEnd (this=0x1137d80) at /usr/src/debug/kdeclarative-5.10.0/src/kdeclarative/qmlobject.cpp:136
#30 0x0000000000460ed9 in Osd::Osd (this=0x1137cb0, corona=<optimized out>) at /usr/src/debug/plasma-workspace-5.2.2/shell/osd.cpp:42
#31 0x000000000045525e in ShellCorona::ShellCorona (this=0x111dfa0, parent=<optimized out>) at /usr/src/debug/plasma-workspace-5.2.2/shell/shellcorona.cpp:193
#32 0x000000000045e199 in ShellManager::loadHandlers (this=0x10cc110) at /usr/src/debug/plasma-workspace-5.2.2/shell/shellmanager.cpp:101
#33 0x0000000000479f8d in ShellManager::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/plasma-workspace-5.2.2/build/shell/moc_shellmanager.cpp:100
#34 0x00007f1cfe9cd456 in QObject::event (this=0x10cc110, e=<optimized out>) at kernel/qobject.cpp:1245
#35 0x00007f1cff65cb5c in QApplicationPrivate::notify_helper (this=this@entry=0x1028c60, receiver=receiver@entry=0x10cc110, e=e@entry=0x10f7520) at kernel/qapplication.cpp:3720
#36 0x00007f1cff661a26 in QApplication::notify (this=0x7ffc0f6b8100, receiver=0x10cc110, e=0x10f7520) at kernel/qapplication.cpp:3503
#37 0x00007f1cfe99cdf5 in QCoreApplication::notifyInternal (this=0x7ffc0f6b8100, receiver=0x10cc110, event=event@entry=0x10f7520) at kernel/qcoreapplication.cpp:935
#38 0x00007f1cfe99ec8f in sendEvent (event=0x10f7520, receiver=<optimized out>) at kernel/qcoreapplication.h:228
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x101dba0) at kernel/qcoreapplication.cpp:1552
#40 0x00007f1cfe99f2c8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410
#41 0x00007f1cfe9f4cb3 in postEventSourceDispatch (s=0x1086d00) at kernel/qeventdispatcher_glib.cpp:271
#42 0x00007f1cfa3e7a04 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f1cfa3e7c48 in ?? () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f1cfa3e7cec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#45 0x00007f1cfe9f412c in QEventDispatcherGlib::processEvents (this=0x109c730, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#46 0x00007f1cfe99ad5b in QEventLoop::exec (this=this@entry=0x7ffc0f6b7f70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#47 0x00007f1cfe9a23c6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#48 0x00007f1cfeecb23c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1507
#49 0x00007f1cff659235 in QApplication::exec () at kernel/qapplication.cpp:2956
#50 0x00000000004323b0 in main (argc=3, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.2.2/shell/main.cpp:158

Possible duplicates by query: bug 349420, bug 349293, bug 347641, bug 347126, bug 346818.

Reported using DrKonqi
Comment 1 Родион 2015-07-09 23:10:20 UTC
Exactly the same crash on openSUSE Tumbleweed after yesterdey's (2015-07-08) update. Unable to enter the desktop at all after that.
Comment 2 Rafael Linux User 2015-07-10 09:00:30 UTC
I solved the problem reinstalling private Nvidia drivers from console. BUT with pre-Plasma 5 KDE versions, this was not making crash the system, simply the Nvidia controller was not loaded, but KDE did not crash on that situation.
Comment 3 David Edmundson 2015-07-10 10:20:58 UTC
Crash is on the driver being missing.

Plasma 1 did not use OpenGL.
Comment 4 Rafael Linux User 2015-07-10 10:35:33 UTC
So, this means that every system update (I didn't see a kernel update in this case) Plasma will crash on loading?
Comment 5 Rafael Linux User 2015-07-10 10:38:40 UTC
And what's "Plasma 1"??? I'm using Plasma 5.2.2, that theorically is fully OpenGL accelerated!!!
Comment 6 David Edmundson 2015-07-10 10:41:37 UTC
Plasma 5 is fully OpenGL accelerated, which means it doesn't work if someone breaks the graphic drivers.
Comment 7 Родион 2015-07-14 02:17:32 UTC
The system re-vitalised after the installation of NVIDIA-346.72 driver.
Comment 8 Rafael Linux User 2015-07-14 07:54:21 UTC
Great Родион !
This issue will be a headache in Plasma 5 if not solved to avoid crashes and let Plasma work with legacy drivers, like KDE 4 does  :(
Comment 9 David Edmundson 2015-07-14 11:34:35 UTC
It's not that we don't work with legacy drivers, when NVidia is in this state, it supplies us with a driver that looks valid but breaks when you try and use it.
Comment 10 Rafael Linux User 2015-07-14 12:40:11 UTC
Thank you for your comment David. However, KDE 4 implement some fallback in that case so Plasma 5 could do the same to. With KDE 4, in these cases, I had not problem with crashes. I was able to access to Firefox, download the new Nvidia driver, install it from "init 3" level and reboot the system.

With Plasma 5, I need to close session or <Ctrl><Alt><[2x]Backspc> and login with other desktop environment to access Firefox and proceed as I said in previous paragraph.

So, there should be a solution to this problem.