Bug 357182

Summary: Plasma crash on user switch with NVIDIA
Product: [Plasma] plasmashell Reporter: James Carlson <carlsonj>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.4.3   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description James Carlson 2015-12-26 18:43:26 UTC
Application: plasmashell (5.4.3)

Qt Version: 5.5.1
Operating System: Linux 4.3.3-1-default x86_64
Distribution: "openSUSE Tumbleweed (20151221) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Switching between sessions using C-A-F7, C-A-F8.  System is running OpenSuSE Tumbleweed and has NVIDIA driver installed for GTX 950.  Works fine most of the time, but when switching sessions, the previous user gets a Plasma crash every time.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
[Current thread is 1 (Thread 0x7fa19f0f2900 (LWP 11817))]

Thread 8 (Thread 0x7fa186dd1700 (LWP 11819)):
#0  0x00007fa1986ab24d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fa19d568432 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7fa186dd0bc0) at /usr/include/bits/poll2.h:46
#2  0x00007fa19d568432 in _xcb_conn_wait (c=c@entry=0x266b400, cond=cond@entry=0x266b440, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459
#3  0x00007fa19d56a007 in xcb_wait_for_event (c=0x266b400) at xcb_in.c:693
#4  0x00007fa189551e29 in  () at /usr/lib64/libQt5XcbQpa.so.5
#5  0x00007fa198d9c94f in  () at /usr/lib64/libQt5Core.so.5
#6  0x00007fa197eb24a4 in start_thread (arg=0x7fa186dd1700) at pthread_create.c:334
#7  0x00007fa1986b3bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fa17fbe2700 (LWP 11821)):
#0  0x00007fa1986ab24d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fa194da2264 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fa194da236c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fa198fc152b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fa198f6b63a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fa198d97b1c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fa19c0439a5 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007fa198d9c94f in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007fa197eb24a4 in start_thread (arg=0x7fa17fbe2700) at pthread_create.c:334
#9  0x00007fa1986b3bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fa173cf8700 (LWP 11828)):
#0  0x00007fa1986ab24d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fa194da2264 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fa194da236c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fa198fc152b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fa198f6b63a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fa198d97b1c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fa19c0439a5 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007fa198d9c94f in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007fa197eb24a4 in start_thread (arg=0x7fa173cf8700) at pthread_create.c:334
#9  0x00007fa1986b3bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fa172314700 (LWP 11831)):
#0  0x00007fa1986ab24d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fa194da2264 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fa194da236c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fa198fc152b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fa198f6b63a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fa198d97b1c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fa19c0439a5 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007fa198d9c94f in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007fa197eb24a4 in start_thread (arg=0x7fa172314700) at pthread_create.c:334
#9  0x00007fa1986b3bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fa1709d9700 (LWP 11832)):
#0  0x00007fa197eb807f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa19e7d7a84 in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007fa19e7d7ac9 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007fa197eb24a4 in start_thread (arg=0x7fa1709d9700) at pthread_create.c:334
#4  0x00007fa1986b3bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fa169d98700 (LWP 11833)):
#0  0x00007fa1986ab24d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fa194da2264 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fa194da236c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fa198fc152b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fa198f6b63a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fa198d97b1c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fa19cbc5e42 in  () at /usr/lib64/libQt5Quick.so.5
#7  0x00007fa198d9c94f in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007fa197eb24a4 in start_thread (arg=0x7fa169d98700) at pthread_create.c:334
#9  0x00007fa1986b3bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fa168809700 (LWP 11834)):
[KCrash Handler]
#6  0x00007fa19866575d in __strstr_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S:40
#7  0x00007fa19cc15e8a in QSGRenderContext::initialize(QOpenGLContext*) () at /usr/lib64/libQt5Quick.so.5
#8  0x00007fa19cc38a91 in  () at /usr/lib64/libQt5Quick.so.5
#9  0x00007fa198d9c94f in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007fa197eb24a4 in start_thread (arg=0x7fa168809700) at pthread_create.c:334
#11 0x00007fa1986b3bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fa19f0f2900 (LWP 11817)):
#0  0x00007fa197eb807f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa198d9dabb in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fa19cc353ee in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007fa19cc377bc in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fa19cc37e1b in  () at /usr/lib64/libQt5Quick.so.5
#5  0x00007fa1994b9c3b in QWindow::event(QEvent*) () at /usr/lib64/libQt5Gui.so.5
#6  0x00007fa19cc68621 in QQuickWindow::event(QEvent*) () at /usr/lib64/libQt5Quick.so.5
#7  0x000000000043ff66 in DesktopView::event(QEvent*) ()
#8  0x00007fa19a2e38cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#9  0x00007fa19a2e89d6 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#10 0x00007fa198f6dcf3 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#11 0x00007fa1994b26e4 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () at /usr/lib64/libQt5Gui.so.5
#12 0x00007fa1994b337d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5
#13 0x00007fa1994989f8 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#14 0x00007fa189581ed0 in  () at /usr/lib64/libQt5XcbQpa.so.5
#15 0x00007fa194da2097 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#16 0x00007fa194da22c8 in  () at /usr/lib64/libglib-2.0.so.0
#17 0x00007fa194da236c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#18 0x00007fa198fc150f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#19 0x00007fa198f6b63a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#20 0x00007fa198f732fd in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#21 0x0000000000434150 in main ()

Reported using DrKonqi
Comment 1 David Edmundson 2015-12-27 15:05:50 UTC

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