Bug 355054 - Crash of KDE5 Plasma on login after upgrade from openSUSE 13.2 to Leap 42.1
Summary: Crash of KDE5 Plasma on login after upgrade from openSUSE 13.2 to Leap 42.1
Status: RESOLVED DUPLICATE of bug 345563
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.4.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-11-08 20:35 UTC by OpenSUSE User #314
Modified: 2015-11-09 22:30 UTC (History)
2 users (show)

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


Attachments
xsessions-errors (20.63 KB, text/plain)
2015-11-08 21:46 UTC, OpenSUSE User #314
Details
plasmashell kcrash (12.50 KB, text/plain)
2015-11-08 21:48 UTC, OpenSUSE User #314
Details

Note You need to log in before you can comment on or make changes to this bug.
Description OpenSUSE User #314 2015-11-08 20:35:52 UTC
Application: plasmashell (5.4.2)

Qt Version: 5.5.0
Operating System: Linux 4.1.12-1-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
After a distribution upgrade the first thing that happened is this crash. Other non KDE applications such as Firefox do load. KRunner also doesn't start.

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 0x7f6fa55e9800 (LWP 13087))]

Thread 7 (Thread 0x7f6f8d7e8700 (LWP 13090)):
#0  0x00007f6f9eb6dc1d in poll () at /lib64/libc.so.6
#1  0x00007f6fa3a73422 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f6fa3a7500f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f6f8ff6ac29 in QXcbEventReader::run() (this=0x1968350) at qxcbconnection.cpp:1214
#4  0x00007f6f9f26455f in QThreadPrivate::start(void*) (arg=0x1968350) at thread/qthread_unix.cpp:331
#5  0x00007f6f9e3770a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f6f9eb7604d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f6f8349b700 (LWP 13099)):
#0  0x00007fffce5feb26 in clock_gettime ()
#1  0x00007f6f9eb82c9d in clock_gettime () at /lib64/libc.so.6
#2  0x00007f6f9f314b06 in qt_gettime() (ts=0x7f6f8349ab40, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  0x00007f6f9f314b06 in qt_gettime() (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:156
#4  0x00007f6f9f314b06 in qt_gettime() () at tools/qelapsedtimer_unix.cpp:165
#5  0x00007f6f9f494089 in QTimerInfoList::updateCurrentTime() (this=this@entry=0x7f6f7c002ed0) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007f6f9f494615 in QTimerInfoList::timerWait(timespec&) (this=0x7f6f7c002ed0, tm=...) at kernel/qtimerinfo_unix.cpp:381
#7  0x00007f6f9f49582e in timerSourcePrepare(GSource*, gint*) (timeout=0x7f6f8349abf4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#8  0x00007f6f9f49582e in timerSourcePrepare(GSource*, gint*) (source=<optimized out>, timeout=0x7f6f8349abf4) at kernel/qeventdispatcher_glib.cpp:160
#9  0x00007f6f9b25e4ad in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#10 0x00007f6f9b25ed80 in  () at /usr/lib64/libglib-2.0.so.0
#11 0x00007f6f9b25ef7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#12 0x00007f6f9f495a5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f6f7c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#13 0x00007f6f9f43ca63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f6f8349adb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f6f9f25f84a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#15 0x00007f6fa252f5f8 in  () at /usr/lib64/libQt5Qml.so.5
#16 0x00007f6f9f26455f in QThreadPrivate::start(void*) (arg=0x1aa2ce0) at thread/qthread_unix.cpp:331
#17 0x00007f6f9e3770a4 in start_thread () at /lib64/libpthread.so.0
#18 0x00007f6f9eb7604d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f6f778f5700 (LWP 13104)):
#0  0x00007fffce5feb26 in clock_gettime ()
#1  0x00007f6f9eb82c9d in clock_gettime () at /lib64/libc.so.6
#2  0x00007f6f9f314b06 in qt_gettime() (ts=0x7f6f778f4b40, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  0x00007f6f9f314b06 in qt_gettime() (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:156
#4  0x00007f6f9f314b06 in qt_gettime() () at tools/qelapsedtimer_unix.cpp:165
#5  0x00007f6f9f494089 in QTimerInfoList::updateCurrentTime() (this=this@entry=0x7f6f70002cd0) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007f6f9f494615 in QTimerInfoList::timerWait(timespec&) (this=0x7f6f70002cd0, tm=...) at kernel/qtimerinfo_unix.cpp:381
#7  0x00007f6f9f49582e in timerSourcePrepare(GSource*, gint*) (timeout=0x7f6f778f4bf4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#8  0x00007f6f9f49582e in timerSourcePrepare(GSource*, gint*) (source=<optimized out>, timeout=0x7f6f778f4bf4) at kernel/qeventdispatcher_glib.cpp:160
#9  0x00007f6f9b25e4ad in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#10 0x00007f6f9b25ed80 in  () at /usr/lib64/libglib-2.0.so.0
#11 0x00007f6f9b25ef7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#12 0x00007f6f9f495a5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f6f700008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#13 0x00007f6f9f43ca63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f6f778f4db0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f6f9f25f84a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#15 0x00007f6fa252f5f8 in  () at /usr/lib64/libQt5Qml.so.5
#16 0x00007f6f9f26455f in QThreadPrivate::start(void*) (arg=0x1d62150) at thread/qthread_unix.cpp:331
#17 0x00007f6f9e3770a4 in start_thread () at /lib64/libpthread.so.0
#18 0x00007f6f9eb7604d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f6f75ed1700 (LWP 13107)):
#0  0x00007fffce5feb26 in clock_gettime ()
#1  0x00007f6f9eb82c9d in clock_gettime () at /lib64/libc.so.6
#2  0x00007f6f9f314b06 in qt_gettime() (ts=0x7f6f75ed0b40, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  0x00007f6f9f314b06 in qt_gettime() (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:156
#4  0x00007f6f9f314b06 in qt_gettime() () at tools/qelapsedtimer_unix.cpp:165
#5  0x00007f6f9f494089 in QTimerInfoList::updateCurrentTime() (this=this@entry=0x7f6f68002ed0) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007f6f9f494615 in QTimerInfoList::timerWait(timespec&) (this=0x7f6f68002ed0, tm=...) at kernel/qtimerinfo_unix.cpp:381
#7  0x00007f6f9f49582e in timerSourcePrepare(GSource*, gint*) (timeout=0x7f6f75ed0bf4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#8  0x00007f6f9f49582e in timerSourcePrepare(GSource*, gint*) (source=<optimized out>, timeout=0x7f6f75ed0bf4) at kernel/qeventdispatcher_glib.cpp:160
#9  0x00007f6f9b25e4ad in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#10 0x00007f6f9b25ed80 in  () at /usr/lib64/libglib-2.0.so.0
#11 0x00007f6f9b25ef7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#12 0x00007f6f9f495a5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f6f680008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#13 0x00007f6f9f43ca63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f6f75ed0db0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f6f9f25f84a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#15 0x00007f6fa252f5f8 in  () at /usr/lib64/libQt5Qml.so.5
#16 0x00007f6f9f26455f in QThreadPrivate::start(void*) (arg=0x1e2df00) at thread/qthread_unix.cpp:331
#17 0x00007f6f9e3770a4 in start_thread () at /lib64/libpthread.so.0
#18 0x00007f6f9eb7604d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f6f6ffff700 (LWP 13108)):
#0  0x00007f6f9e37b05f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f6fa4cd77eb in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f6fa4cd7819 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f6f9e3770a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f6f9eb7604d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f6f6d79a700 (LWP 13110)):
#0  0x00007f6f9eb6dc1d in poll () at /lib64/libc.so.6
#1  0x00007f6f9b25ee64 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f6f9b25ef7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f6f9f495a5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f6edc0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f6f9f43ca63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f6f6d799d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f6f9f25f84a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f6fa30bbf82 in  () at /usr/lib64/libQt5Quick.so.5
#7  0x00007f6f9f26455f in QThreadPrivate::start(void*) (arg=0x1c54090) at thread/qthread_unix.cpp:331
#8  0x00007f6f9e3770a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f6f9eb7604d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f6fa55e9800 (LWP 13087)):
[KCrash Handler]
#6  0x00007f6f9eac6187 in raise () at /lib64/libc.so.6
#7  0x00007f6f9eac7538 in abort () at /lib64/libc.so.6
#8  0x00007f6f9f25377e in QMessageLogger::fatal(char const*, ...) const (context=..., message=<synthetic pointer>) at global/qlogging.cpp:1575
#9  0x00007f6f9f25377e in QMessageLogger::fatal(char const*, ...) const (this=<optimized out>, msg=<optimized out>) at global/qlogging.cpp:777
#10 0x00007f6fa3129691 in  () at /usr/lib64/libQt5Quick.so.5
#11 0x00007f6fa312a615 in  () at /usr/lib64/libQt5Quick.so.5
#12 0x00007f6fa312b36e in  () at /usr/lib64/libQt5Quick.so.5
#13 0x00007f6f9f9975b9 in QWindow::event(QEvent*) (this=0x1ee2210, ev=<optimized out>) at kernel/qwindow.cpp:2028
#14 0x00007f6fa31638b1 in QQuickWindow::event(QEvent*) () at /usr/lib64/libQt5Quick.so.5
#15 0x00000000004408b6 in DesktopView::event(QEvent*) ()
#16 0x00007f6fa07b7e8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#17 0x00007f6fa07bccd8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007f6f9f43eba5 in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fffce5e3440, receiver=receiver@entry=0x1ee2210, event=event@entry=0x7fffce5e2ff0) at kernel/qcoreapplication.cpp:965
#19 0x00007f6f9f990024 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) (event=0x7fffce5e2ff0, receiver=0x1ee2210) at ../../src/corelib/kernel/qcoreapplication.h:227
#20 0x00007f6f9f990024 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) (e=0x1aa0ec0) at kernel/qguiapplication.cpp:2643
#21 0x00007f6f9f990c3d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=e@entry=0x1aa0ec0) at kernel/qguiapplication.cpp:1644
#22 0x00007f6f9f975d68 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:608
#23 0x00007f6f8ff95f20 in userEventSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#24 0x00007f6f9b25ec84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#25 0x00007f6f9b25eed8 in  () at /usr/lib64/libglib-2.0.so.0
#26 0x00007f6f9b25ef7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#27 0x00007f6f9f495a3c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x19ed740, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#28 0x00007f6f9f43ca63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffce5e32b0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#29 0x00007f6f9f4445d6 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1229
#30 0x000000000043467b in main ()

Reported using DrKonqi
Comment 1 David Edmundson 2015-11-08 20:42:55 UTC
Can I see ~/.xsession-errors please
Comment 2 OpenSUSE User #314 2015-11-08 21:46:03 UTC
Created attachment 95398 [details]
xsessions-errors

Strangely ~/.xsessions-errors was empty but ~/.xsessions-errors:0 is attached, I omitted some parts I didn't think were relevant (mostly file listening notifiers). In any case plasma crashes directly after startup and this is reflected in this file. Sorry if I'm forgetting obvious things, working in this mode hampers my debugging skills a bit.
Comment 3 OpenSUSE User #314 2015-11-08 21:48:14 UTC
Created attachment 95399 [details]
plasmashell kcrash

Additional plasmashell kcrash report after all debugging symbols were installed (for sure).
Comment 4 OpenSUSE User #314 2015-11-08 22:31:33 UTC
Seems like this guy is suffering from exactly the same problem as I am:
https://forums.opensuse.org/showthread.php/510291-kded5-crashes
So at least we know the problem reproduces across multiple independent systems.
Comment 5 OpenSUSE User #314 2015-11-08 23:14:03 UTC
I removed all traces from the nvidia drivers which has managed to install itself on the last update before my distribution upgrade and reinstalled nouveau, this solved the issue. Plasma 5 is working now. Later, I can try to see if installing the proprietary nvidia drivers (-G04) reproduces this error.
Comment 6 David Edmundson 2015-11-08 23:52:15 UTC
crash there is commonly:

 the Nvidia's libGL being installed but the kernel module not being available
OR
your user not being in the video group.

I just asked for your error messages file because you *should* get a proper error dialog explaining this, which is what I wanted to fix. Hopefully that's now done.

*** This bug has been marked as a duplicate of bug 345563 ***
Comment 7 David Edmundson 2015-11-09 22:30:45 UTC
Git commit e20c4c6b7a2910bef752a19a414488e257a49419 by David Edmundson.
Committed on 09/11/2015 at 22:30.
Pushed by davidedmundson into branch 'master'.

Catch other openGL error gracefully
Related: bug 354966
REVIEW: 125997

M  +6    -3    shell/main.cpp

http://commits.kde.org/plasma-workspace/e20c4c6b7a2910bef752a19a414488e257a49419