Bug 351793

Summary: Crash when opening display manager after switching to NVIDIA Binary Driver 346.59 updates
Product: [I don't know] kde Reporter: Ruth Cheesley <ruth.cheesley>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: Jens.Rutschmann, ruth.cheesley
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ruth Cheesley 2015-08-26 10:44:36 UTC
Application: kcmshell5 (5.2.2)

Qt Version: 5.4.1
Operating System: Linux 3.19.0-27-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
- What I was doing when the application crashed:

I switched my driver from X.org Nouveau to NVIDIA binary 346.59 (nvidia-346-updates) and once switched the display manager crashed.

I am trying to daisy chain using MST two Display Port monitors, hence trying different drivers to see if I can get it working.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Control Module (kcmshell5), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f35e3d69800 (LWP 15483))]

Thread 3 (Thread 0x7f35cd7e3700 (LWP 15484)):
#0  0x00007f35e384b8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f35dbf39b72 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f35dbf3b64f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f35cff6f099 in QXcbEventReader::run (this=0x21bcb60) at qxcbconnection.cpp:1105
#4  0x00007f35e18ceb0e in QThreadPrivate::start (arg=0x21bcb60) at thread/qthread_unix.cpp:337
#5  0x00007f35e13056aa in start_thread (arg=0x7f35cd7e3700) at pthread_create.c:333
#6  0x00007f35e3856eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f35c3960700 (LWP 15488)):
#0  0x00007f35e384b8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f35db815ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f35db815fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f35e1b65c6c in QEventDispatcherGlib::processEvents (this=0x7f35b40008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007f35e1b0a3e2 in QEventLoop::exec (this=this@entry=0x7f35c395fda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f35e18c9b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f35e0d0ff65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f35e18ceb0e in QThreadPrivate::start (arg=0x228eb80) at thread/qthread_unix.cpp:337
#8  0x00007f35e13056aa in start_thread (arg=0x7f35c3960700) at pthread_create.c:333
#9  0x00007f35e3856eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f35e3d69800 (LWP 15483)):
[KCrash Handler]
#6  0x00007f35e3785267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f35e3786eca in __GI_abort () at abort.c:89
#8  0x00007f35e18bbedf in qt_message_fatal (context=..., message=...) at global/qlogging.cpp:1415
#9  QMessageLogger::fatal (this=0x7ffe68e20530, msg=<optimized out>) at global/qlogging.cpp:636
#10 0x00007f35e07b7791 in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007f35e07c106f in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#12 0x00007f35e07c130a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#13 0x00007f35df3f47b5 in QWindow::event (this=0x2572160, ev=<optimized out>) at kernel/qwindow.cpp:2051
#14 0x00007f35e07f2dd3 in QQuickWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#15 0x00007f35e1ec9b2c in QApplicationPrivate::notify_helper (this=0x21966a0, receiver=0x2572160, e=0x7ffe68e209b0) at kernel/qapplication.cpp:3720
#16 0x00007f35e1ecf000 in QApplication::notify (this=0x7ffe68e20e10, receiver=0x2572160, e=0x7ffe68e209b0) at kernel/qapplication.cpp:3503
#17 0x00007f35e1b0cc2b in QCoreApplication::notifyInternal (this=0x7ffe68e20e10, receiver=receiver@entry=0x2572160, event=event@entry=0x7ffe68e209b0) at kernel/qcoreapplication.cpp:935
#18 0x00007f35df3ece86 in sendSpontaneousEvent (event=0x7ffe68e209b0, receiver=0x2572160) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#19 QGuiApplicationPrivate::processExposeEvent (e=0x28941f0) at kernel/qguiapplication.cpp:2613
#20 0x00007f35df3edbbd in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x28941f0) at kernel/qguiapplication.cpp:1638
#21 0x00007f35df3d234f in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:572
#22 0x00007f35cff99590 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#23 0x00007f35db815c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f35db815f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f35db815fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f35e1b65c57 in QEventDispatcherGlib::processEvents (this=0x21e1820, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#27 0x00007f35e1b0a3e2 in QEventLoop::exec (this=this@entry=0x7ffe68e20ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#28 0x00007f35e20cb4b5 in QDialog::exec (this=0x2293b50) at dialogs/qdialog.cpp:541
#29 0x00007f35e3b229cb in kdemain (_argc=<optimized out>, _argv=<optimized out>) at ../../kcmshell/main.cpp:307
#30 0x00007f35e3770a40 in __libc_start_main (main=0x400730 <main(int, char**)>, argc=2, argv=0x7ffe68e20f58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe68e20f48) at libc-start.c:289
#31 0x0000000000400769 in _start ()

Reported using DrKonqi
Comment 1 Jens Rutschmann 2015-08-28 18:37:36 UTC
I have been running into the same issue on Gentoo / plasma 5.4.0 with the nvidia binary driver, version 340.76.

When logging into lxqt and starting plasmashell in a konsole window I'm getting this:

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) 

Here's my backtrace. Seems to be the same as the one from the bug reporter, but has a bit more detail:

#6  0x00007f4d495cc257 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f4d495cd5ba in __GI_abort () at abort.c:89
#8  0x00007f4d49cc5a75 in qt_message_fatal (context=..., message=...) at global/qlogging.cpp:1422
#9  QMessageLogger::fatal (this=this@entry=0x7ffd1675ade0, msg=msg@entry=0x7f4d4cef8e03 "%s") at global/qlogging.cpp:643
#10 0x00007f4d4cd7bbc1 in QSGRenderLoop::handleContextCreationFailure (this=this@entry=0x254d970, window=0x2b23bf0, isEs=isEs@entry=false) at scenegraph/qsgrenderloop.cpp:236
#11 0x00007f4d4cd83134 in QSGThreadedRenderLoop::handleExposure (this=this@entry=0x254d970, window=window@entry=0x2b23bf0) at scenegraph/qsgthreadedrenderloop.cpp:908
#12 0x00007f4d4cd83993 in QSGThreadedRenderLoop::exposureChanged (this=0x254d970, window=0x2b23bf0) at scenegraph/qsgthreadedrenderloop.cpp:848
#13 0x00007f4d4a1834d9 in QWindow::event (this=this@entry=0x2b23bf0, ev=ev@entry=0x7ffd1675b2b0) at kernel/qwindow.cpp:2032
#14 0x00007f4d4cdb3143 in QQuickWindow::event (this=0x2b23bf0, e=0x7ffd1675b2b0) at items/qquickwindow.cpp:1394
#15 0x000000000043e4b6 in DesktopView::event(QEvent*) ()
#16 0x00007f4d4a88786c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007f4d4a88c6c0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007f4d49e6ec5d in QCoreApplication::notifyInternal (this=0x7ffd1675b6f0, receiver=receiver@entry=0x2b23bf0, event=event@entry=0x7ffd1675b2b0) at kernel/qcoreapplication.cpp:935
#19 0x00007f4d4a17cd66 in sendSpontaneousEvent (event=0x7ffd1675b2b0, receiver=0x2b23bf0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 QGuiApplicationPrivate::processExposeEvent (e=0x2b1e7d0) at kernel/qguiapplication.cpp:2613
#21 0x00007f4d4a17d95d in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x2b1e7d0) at kernel/qguiapplication.cpp:1635
#22 0x00007f4d4a165018 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:572
#23 0x00007f4d3d0c0500 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#24 0x00007f4d45ac4a14 in g_main_dispatch (context=0x7f4d34002450) at /tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3122
#25 g_main_context_dispatch (context=context@entry=0x7f4d34002450) at /tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3737
#26 0x00007f4d45ac4c68 in g_main_context_iterate (context=context@entry=0x7f4d34002450, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3808
#27 0x00007f4d45ac4d0c in g_main_context_iteration (context=0x7f4d34002450, may_block=1) at /tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3869
#28 0x00007f4d49eb949c in QEventDispatcherGlib::processEvents (this=0x2553ce0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#29 0x00007f4d49e6d99b in QEventLoop::exec (this=this@entry=0x7ffd1675b560, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#30 0x00007f4d49e74246 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#31 0x000000000043224b in main ()
Comment 2 Christoph Feck 2015-09-03 09:21:32 UTC

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