Bug 372567

Summary: Plasma crashes at login
Product: [Plasma] plasmashell Reporter: geomaticien <geomaticien>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, notmart, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.5.5   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description geomaticien 2016-11-16 22:56:52 UTC
Application: plasmashell (5.5.5)

Qt Version: 5.5.1
Operating System: Linux 4.1.34-33-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
Always crash at login

Seems to be related to :
"Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile  0)"

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 0x7f3c065c47c0 (LWP 21728))]

Thread 7 (Thread 0x7f3bd173a700 (LWP 21742)):
#0  0x00007f3bfc1fcd20 in g_mutex_unlock (mutex=0x7f3b480009c0) at gthread-posix.c:1349
#1  0x00007f3bfc1ba4a0 in g_main_context_prepare (context=context@entry=0x7f3b480009c0, priority=priority@entry=0x7f3bd1739bb8) at gmain.c:3408
#2  0x00007f3bfc1bad80 in g_main_context_iterate (context=context@entry=0x7f3b480009c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3788
#3  0x00007f3bfc1baf7c in g_main_context_iteration (context=0x7f3b480009c0, may_block=1) at gmain.c:3869
#4  0x00007f3c0040ad8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f3b480008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f3c003b1d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f3bd1739cf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f3c001d361a in QThread::exec() (this=this@entry=0x1a61160) at thread/qthread.cpp:503
#7  0x00007f3c04083282 in QQuickPixmapReader::run() (this=0x1a61160) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/quick/util/qquickpixmapcache.cpp:760
#8  0x00007f3c001d832f in QThreadPrivate::start(void*) (arg=0x1a61160) at thread/qthread_unix.cpp:331
#9  0x00007f3bfb601754 in  () at /usr/X11R6/lib64/libGL.so.1
#10 0x00007f3bff2e70a4 in start_thread (arg=0x7f3bd173a700) at pthread_create.c:309
#11 0x00007f3bffae602d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f3bd3fff700 (LWP 21741)):
#0  0x00007f3bff2eb03f in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3c05cb686b in QTWTF::TCMalloc_PageHeap::scavengerThread() (this=0x7f3c05f9dea0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f3c05cb6899 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f3bfb601754 in  () at /usr/X11R6/lib64/libGL.so.1
#4  0x00007f3bff2e70a4 in start_thread (arg=0x7f3bd3fff700) at pthread_create.c:309
#5  0x00007f3bffae602d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f3bd9cfd700 (LWP 21740)):
#0  0x00007f3bfc1b821b in g_source_iter_next (iter=iter@entry=0x7f3bd9cfcb80, source=source@entry=0x7f3bd9cfcb78) at gmain.c:924
#1  0x00007f3bfc1ba44b in g_main_context_prepare (context=context@entry=0x7f3bcc0009c0, priority=priority@entry=0x7f3bd9cfcbf8) at gmain.c:3388
#2  0x00007f3bfc1bad80 in g_main_context_iterate (context=context@entry=0x7f3bcc0009c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3788
#3  0x00007f3bfc1baf7c in g_main_context_iteration (context=0x7f3bcc0009c0, may_block=1) at gmain.c:3869
#4  0x00007f3c0040ad8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f3bcc0008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f3c003b1d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f3bd9cfcd30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f3c001d361a in QThread::exec() (this=this@entry=0x1535e90) at thread/qthread.cpp:503
#7  0x00007f3c034e7e18 in QQmlThreadPrivate::run() (this=0x1535e90) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/ftw/qqmlthread.cpp:141
#8  0x00007f3c001d832f in QThreadPrivate::start(void*) (arg=0x1535e90) at thread/qthread_unix.cpp:331
#9  0x00007f3bfb601754 in  () at /usr/X11R6/lib64/libGL.so.1
#10 0x00007f3bff2e70a4 in start_thread (arg=0x7f3bd9cfd700) at pthread_create.c:309
#11 0x00007f3bffae602d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f3bdb4ea700 (LWP 21739)):
#0  0x00007f3bfc1ba89b in g_main_context_check (context=context@entry=0x7f3bd40009c0, max_priority=2147483647, fds=fds@entry=0x7f3bd40013d0, n_fds=n_fds@entry=1) at gmain.c:3718
#1  0x00007f3bfc1badf8 in g_main_context_iterate (context=context@entry=0x7f3bd40009c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3805
#2  0x00007f3bfc1baf7c in g_main_context_iteration (context=0x7f3bd40009c0, may_block=1) at gmain.c:3869
#3  0x00007f3c0040ad8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f3bd40008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f3c003b1d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f3bdb4e9d30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f3c001d361a in QThread::exec() (this=this@entry=0x1502e10) at thread/qthread.cpp:503
#6  0x00007f3c034e7e18 in QQmlThreadPrivate::run() (this=0x1502e10) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/ftw/qqmlthread.cpp:141
#7  0x00007f3c001d832f in QThreadPrivate::start(void*) (arg=0x1502e10) at thread/qthread_unix.cpp:331
#8  0x00007f3bfb601754 in  () at /usr/X11R6/lib64/libGL.so.1
#9  0x00007f3bff2e70a4 in start_thread (arg=0x7f3bdb4ea700) at pthread_create.c:309
#10 0x00007f3bffae602d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f3be7bda700 (LWP 21738)):
#0  0x00007f3bfc1fccf0 in g_mutex_lock (mutex=mutex@entry=0x7f3be00009c0) at gthread-posix.c:1336
#1  0x00007f3bfc1ba78e in g_main_context_check (context=context@entry=0x7f3be00009c0, max_priority=2147483647, fds=fds@entry=0x7f3be00013d0, n_fds=n_fds@entry=1) at gmain.c:3589
#2  0x00007f3bfc1badf8 in g_main_context_iterate (context=context@entry=0x7f3be00009c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3805
#3  0x00007f3bfc1baf7c in g_main_context_iteration (context=0x7f3be00009c0, may_block=1) at gmain.c:3869
#4  0x00007f3c0040ad8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f3be00008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f3c003b1d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f3be7bd9d30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f3c001d361a in QThread::exec() (this=this@entry=0x13dccd0) at thread/qthread.cpp:503
#7  0x00007f3c034e7e18 in QQmlThreadPrivate::run() (this=0x13dccd0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/ftw/qqmlthread.cpp:141
#8  0x00007f3c001d832f in QThreadPrivate::start(void*) (arg=0x13dccd0) at thread/qthread_unix.cpp:331
#9  0x00007f3bfb601754 in  () at /usr/X11R6/lib64/libGL.so.1
#10 0x00007f3bff2e70a4 in start_thread (arg=0x7f3be7bda700) at pthread_create.c:309
#11 0x00007f3bffae602d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f3beedeb700 (LWP 21731)):
#0  0x00007f3bffaddbfd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3c04a31422 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7f3beedeac40) at /usr/include/bits/poll2.h:46
#2  0x00007f3c04a31422 in _xcb_conn_wait (c=c@entry=0x12e3e20, cond=cond@entry=0x12e3e60, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459
#3  0x00007f3c04a3300f in xcb_wait_for_event (c=0x12e3e20) at xcb_in.c:693
#4  0x00007f3bf156e3c9 in QXcbEventReader::run() (this=0x12f1440) at qxcbconnection.cpp:1229
#5  0x00007f3c001d832f in QThreadPrivate::start(void*) (arg=0x12f1440) at thread/qthread_unix.cpp:331
#6  0x00007f3bfb601754 in  () at /usr/X11R6/lib64/libGL.so.1
#7  0x00007f3bff2e70a4 in start_thread (arg=0x7f3beedeb700) at pthread_create.c:309
#8  0x00007f3bffae602d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f3c065c47c0 (LWP 21728)):
[KCrash Handler]
#6  0x00007f3bffa360c7 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f3bffa37478 in __GI_abort () at abort.c:78
#8  0x00007f3c001c67ce in QMessageLogger::fatal(char const*, ...) const (context=..., message=<synthetic pointer>) at global/qlogging.cpp:1578
#9  0x00007f3c001c67ce in QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7fff9117f570, msg=msg@entry=0x7f3c042750aa "%s") at global/qlogging.cpp:781
#10 0x00007f3c040f0e71 in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool) (this=this@entry=0x16cd8c0, window=0x15fcb80, isEs=isEs@entry=false) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/quick/scenegraph/qsgrenderloop.cpp:244
#11 0x00007f3c040f9ce9 in QSGThreadedRenderLoop::handleExposure(QQuickWindow*) (this=this@entry=0x16cd8c0, window=window@entry=0x15fcb80) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/quick/scenegraph/qsgthreadedrenderloop.cpp:919
#12 0x00007f3c040fa0db in QSGThreadedRenderLoop::exposureChanged(QQuickWindow*) (this=0x16cd8c0, window=0x15fcb80) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/quick/scenegraph/qsgthreadedrenderloop.cpp:857
#13 0x00007f3c0090db69 in QWindow::event(QEvent*) (this=this@entry=0x15fcb80, ev=ev@entry=0x7fff9117fa10) at kernel/qwindow.cpp:2028
#14 0x00007f3c0412b0d1 in QQuickWindow::event(QEvent*) (this=this@entry=0x15fcb80, e=e@entry=0x7fff9117fa10) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/quick/items/qquickwindow.cpp:1413
#15 0x0000000000442cb6 in DesktopView::event(QEvent*) (this=0x15fcb80, e=0x7fff9117fa10) at /usr/src/debug/plasma-workspace-5.5.5/shell/desktopview.cpp:205
#16 0x00007f3c0172ee7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x12c4620, receiver=receiver@entry=0x15fcb80, e=e@entry=0x7fff9117fa10) at kernel/qapplication.cpp:3716
#17 0x00007f3c01733cc8 in QApplication::notify(QObject*, QEvent*) (this=0x7fff9117fe40, receiver=0x15fcb80, e=0x7fff9117fa10) at kernel/qapplication.cpp:3499
#18 0x00007f3c003b3e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fff9117fe40, receiver=receiver@entry=0x15fcb80, event=event@entry=0x7fff9117fa10) at kernel/qcoreapplication.cpp:965
#19 0x00007f3c009065d4 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) (event=0x7fff9117fa10, receiver=0x15fcb80) at ../../src/corelib/kernel/qcoreapplication.h:227
#20 0x00007f3c009065d4 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) (e=0x16eca40) at kernel/qguiapplication.cpp:2650
#21 0x00007f3c009071ed in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=e@entry=0x16eca40) at kernel/qguiapplication.cpp:1645
#22 0x00007f3c008ec268 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:625
#23 0x00007f3bf1599200 in userEventSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#24 0x00007f3bfc1bac84 in g_main_context_dispatch (context=0x7f3be8001740) at gmain.c:3122
#25 0x00007f3bfc1bac84 in g_main_context_dispatch (context=context@entry=0x7f3be8001740) at gmain.c:3737
#26 0x00007f3bfc1baed8 in g_main_context_iterate (context=context@entry=0x7f3be8001740, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3808
#27 0x00007f3bfc1baf7c in g_main_context_iteration (context=0x7f3be8001740, may_block=1) at gmain.c:3869
#28 0x00007f3c0040ad6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x133c5e0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#29 0x00007f3c003b1d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff9117fcd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#30 0x00007f3c003b98f6 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1229
#31 0x00007f3c008fd8ec in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1529
#32 0x00007f3c0172b605 in QApplication::exec() () at kernel/qapplication.cpp:2976
#33 0x0000000000436b3d in main(int, char**) (argc=3, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.5.5/shell/main.cpp:184

Possible duplicates by query: bug 372405, bug 372400, bug 372352, bug 372272, bug 372229.

Reported using DrKonqi
Comment 1 Marco Martin 2016-11-17 09:50:51 UTC

*** This bug has been marked as a duplicate of bug 345563 ***
Comment 2 geomaticien 2016-11-17 15:23:13 UTC
This bug happens with NVidia driver 304.132. Workaround : driver 304.131 is not bugged.