Bug 355265

Summary: Plasma crash on startup in nouveau
Product: [Plasma] plasmashell Reporter: Andrew W <36bit>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED WORKSFORME    
Severity: crash CC: bshah, mklapetek, plasma-bugs-null
Priority: NOR Keywords: drkonqi, triaged
Version First Reported In: 5.4.2   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andrew W 2015-11-12 18:09:29 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: I had just logged in.  I had actually booted the machine a couple of minutes earlier and this delay could be part of the problem.
The nouveau kernel patch which fixed https://bugs.freedesktop.org/show_bug.cgi?id=92504 has *not* been applied - this is an Opensuse Leap 42.1 install with no experimental repositories included.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fea27bc67c0 (LWP 2834))]

Thread 3 (Thread 0x7fea116b8700 (LWP 2836)):
#0  0x00007fea21138c1d in poll () from /lib64/libc.so.6
#1  0x00007fea2603e422 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fea2604000f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fea13808c29 in QXcbEventReader::run (this=0x1dd2330) at qxcbconnection.cpp:1214
#4  0x00007fea2182f55f in QThreadPrivate::start (arg=0x1dd2330) at thread/qthread_unix.cpp:331
#5  0x00007fea209420a4 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fea2114104d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fea0a93a700 (LWP 2853)):
#0  QTimerInfoList::repairTimersIfNeeded (this=0x7fea04002ed0) at kernel/qtimerinfo_unix.cpp:155
#1  0x00007fea21a5f623 in QTimerInfoList::timerWait (this=0x7fea04002ed0, tm=...) at kernel/qtimerinfo_unix.cpp:382
#2  0x00007fea21a6082e in timerSourcePrepareHelper (timeout=0x7fea0a939c34, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#3  timerSourcePrepare (source=<optimized out>, timeout=0x7fea0a939c34) at kernel/qeventdispatcher_glib.cpp:160
#4  0x00007fea1d8294ad in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fea1d829d80 in ?? () from /usr/lib64/libglib-2.0.so.0
#6  0x00007fea1d829f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#7  0x00007fea21a60a5b in QEventDispatcherGlib::processEvents (this=0x7fea040008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#8  0x00007fea21a07a63 in QEventLoop::exec (this=this@entry=0x7fea0a939df0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#9  0x00007fea2182a84a in QThread::exec (this=this@entry=0x1eb1da0) at thread/qthread.cpp:503
#10 0x00007fea24afa5f8 in QQmlThreadPrivate::run (this=0x1eb1da0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/ftw/qqmlthread.cpp:141
#11 0x00007fea2182f55f in QThreadPrivate::start (arg=0x1eb1da0) at thread/qthread_unix.cpp:331
#12 0x00007fea209420a4 in start_thread () from /lib64/libpthread.so.0
#13 0x00007fea2114104d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fea27bc67c0 (LWP 2834)):
[KCrash Handler]
#6  0x00007fea21091187 in raise () from /lib64/libc.so.6
#7  0x00007fea21092538 in abort () from /lib64/libc.so.6
#8  0x00007fea210ce804 in __libc_message () from /lib64/libc.so.6
#9  0x00007fea210d406e in malloc_printerr () from /lib64/libc.so.6
#10 0x00007fea210d4d86 in _int_free () from /lib64/libc.so.6
#11 0x00007fea031eccd4 in nouveau_device_del (pdev=pdev@entry=0x7ffde96fc648) at nouveau.c:170
#12 0x00007fea037d148f in nouveau_drm_screen_create (fd=fd@entry=11) at nouveau_drm_winsys.c:134
#13 0x00007fea03467487 in pipe_nouveau_create_screen (fd=11) at ../../../../src/gallium/auxiliary/target-helpers/inline_drm_helper.h:166
#14 dd_create_screen (fd=11) at ../../../../src/gallium/auxiliary/target-helpers/inline_drm_helper.h:360
#15 0x00007fea036c07a8 in dri2_init_screen (sPriv=0x2021af0) at dri2.c:1458
#16 0x00007fea036bd662 in driCreateNewScreen2 (scrn=0, fd=11, extensions=<optimized out>, driver_extensions=<optimized out>, driver_configs=0x7ffde96fce08, data=0x1ffb720) at dri_util.c:143
#17 0x00007fea1cc93383 in dri2CreateScreen (screen=0, priv=0x20939c0) at dri2_glx.c:1235
#18 0x00007fea1cc72bbc in AllocAndFetchScreenConfigs (priv=0x20939c0, dpy=0x1dbdf00) at glxext.c:799
#19 __glXInitialize (dpy=dpy@entry=0x1dbdf00) at glxext.c:910
#20 0x00007fea1cc6ea17 in glXGetFBConfigs (dpy=0x1dbdf00, screen=0, nelements=nelements@entry=0x7ffde96fcefc) at glxcmds.c:1651
#21 0x00007fea1cc6f723 in glXChooseFBConfig (dpy=<optimized out>, screen=<optimized out>, attribList=0x20938f8, nitems=0x7ffde96fd06c) at glxcmds.c:1611
#22 0x00007fea1089ecaf in qglx_findConfig (display=0x1dbdf00, screen=screen@entry=0, format=..., drawableBit=drawableBit@entry=1) at glxconvenience/qglxconvenience.cpp:143
#23 0x00007fea1089bd2e in QGLXPbuffer::QGLXPbuffer (this=0x20938a0, offscreenSurface=0x20987b0) at qglxintegration.cpp:698
#24 0x00007fea1089a843 in QXcbGlxIntegration::createPlatformOffscreenSurface (this=<optimized out>, surface=0x20987b0) at qxcbglxintegration.cpp:203
#25 0x00007fea1380ac41 in QXcbIntegration::createPlatformOffscreenSurface (this=<optimized out>, surface=0x20987b0) at qxcbintegration.cpp:239
#26 0x00007fea21f62f50 in QOffscreenSurface::create (this=this@entry=0x20987b0) at kernel/qoffscreensurface.cpp:174
#27 0x00007fea1089d18b in QGLXContext::queryDummyContext () at qglxintegration.cpp:652
#28 0x00007fea1089d321 in QGLXContext::supportsThreading () at qglxintegration.cpp:688
#29 0x00007fea256f4783 in QSGRenderLoop::instance () at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/scenegraph/qsgrenderloop.cpp:177
#30 0x00007fea25725408 in QQuickWindowPrivate::init (this=0x20983c0, c=0x20975b0, control=0x0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickwindow.cpp:450
#31 0x00007fea275d2a5e in PlasmaQuick::Dialog::Dialog (this=0x20975b0, parent=<optimized out>) at /usr/src/debug/plasma-framework-5.15.0/src/plasmaquick/dialog.cpp:656
#32 0x00007fea092f6ee0 in QQmlElement (this=0x20975b0) at /usr/include/qt5/QtQml/qqmlprivate.h:93
#33 QQmlPrivate::createInto<PlasmaQuick::Dialog> (memory=0x20975b0) at /usr/include/qt5/QtQml/qqmlprivate.h:102
#34 0x00007fea24a958a9 in QQmlType::create (this=this@entry=0x7fea0403eaa0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/qqmlmetatype.cpp:712
#35 0x00007fea24af40a4 in QQmlObjectCreator::createInstance (this=this@entry=0x2096ec0, index=index@entry=0, parent=parent@entry=0x0, isContextObject=isContextObject@entry=true) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/qqmlobjectcreator.cpp:1050
#36 0x00007fea24af47af in QQmlObjectCreator::create (this=0x2096ec0, subComponentIndex=-1, parent=parent@entry=0x0, interrupt=interrupt@entry=0x7ffde96fd6e0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/qqmlobjectcreator.cpp:209
#37 0x00007fea24a83fe7 in QQmlIncubatorPrivate::incubate (this=0x1eb0370, i=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/qqmlincubator.cpp:302
#38 0x00007fea24a8484e in QQmlIncubationController::incubateFor (this=this@entry=0x1f49b40, msecs=<optimized out>) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/qqmlincubator.cpp:395
#39 0x00007fea25b796dc in incubate (this=0x1f49b30) at /usr/src/debug/kdeclarative-5.15.0/src/kdeclarative/private/qmlobject_p.h:63
#40 KDeclarative::QmlObjectIncubationController::incubatingObjectCountChanged (this=0x1f49b30, count=1) at /usr/src/debug/kdeclarative-5.15.0/src/kdeclarative/private/qmlobject_p.h:79
#41 0x00007fea24a844e5 in QQmlEnginePrivate::incubate (this=this@entry=0x1eb1ab0, i=..., forContext=forContext@entry=0x1f51820) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/qqmlincubator.cpp:97
#42 0x00007fea24a7fe9c in QQmlComponent::create (this=<optimized out>, incubator=..., context=<optimized out>, forContext=forContext@entry=0x0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/qqmlcomponent.cpp:1068
#43 0x00007fea25b68d50 in KDeclarative::QmlObject::completeInitialization (this=0x1e9db70, initialProperties=...) at /usr/src/debug/kdeclarative-5.15.0/src/kdeclarative/qmlobject.cpp:318
#44 0x00007fea25b68dfc in KDeclarative::QmlObjectPrivate::scheduleExecutionEnd (this=0x1eafe70) at /usr/src/debug/kdeclarative-5.15.0/src/kdeclarative/qmlobject.cpp:140
#45 0x00007fea25b68fb1 in KDeclarative::QmlObjectPrivate::execute (this=0x1eafe70, source=...) at /usr/src/debug/kdeclarative-5.15.0/src/kdeclarative/qmlobject.cpp:133
#46 0x00007fea25b690bb in KDeclarative::QmlObject::setSource (this=<optimized out>, source=...) at /usr/src/debug/kdeclarative-5.15.0/src/kdeclarative/qmlobject.cpp:219
#47 0x0000000000465bdb in Osd::Osd (this=0x1eafda0, corona=<optimized out>) at /usr/src/debug/plasma-workspace-5.4.2/shell/osd.cpp:42
#48 0x0000000000458d46 in ShellCorona::ShellCorona (this=0x1e94990, parent=<optimized out>) at /usr/src/debug/plasma-workspace-5.4.2/shell/shellcorona.cpp:193
#49 0x0000000000462099 in ShellManager::loadHandlers (this=0x1e5fc30) at /usr/src/debug/plasma-workspace-5.4.2/shell/shellmanager.cpp:103
#50 0x00007fea21a3a796 in QObject::event (this=0x1e5fc30, e=<optimized out>) at kernel/qobject.cpp:1246
#51 0x00007fea22d82e8c in QApplicationPrivate::notify_helper (this=this@entry=0x1daf250, receiver=receiver@entry=0x1e5fc30, e=e@entry=0x1e72fc0) at kernel/qapplication.cpp:3717
#52 0x00007fea22d87cd8 in QApplication::notify (this=0x7ffde96fe470, receiver=0x1e5fc30, e=0x1e72fc0) at kernel/qapplication.cpp:3500
#53 0x00007fea21a09ba5 in QCoreApplication::notifyInternal (this=0x7ffde96fe470, receiver=0x1e5fc30, event=event@entry=0x1e72fc0) at kernel/qcoreapplication.cpp:965
#54 0x00007fea21a0bd67 in sendEvent (event=0x1e72fc0, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#55 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1da4b10) at kernel/qcoreapplication.cpp:1593
#56 0x00007fea21a0c318 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#57 0x00007fea21a615c3 in postEventSourceDispatch (s=0x1e030b0) at kernel/qeventdispatcher_glib.cpp:271
#58 0x00007fea1d829c84 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#59 0x00007fea1d829ed8 in ?? () from /usr/lib64/libglib-2.0.so.0
#60 0x00007fea1d829f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#61 0x00007fea21a60a3c in QEventDispatcherGlib::processEvents (this=0x1da46d0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#62 0x00007fea21a07a63 in QEventLoop::exec (this=this@entry=0x7ffde96fe2e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#63 0x00007fea21a0f5d6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#64 0x00007fea21f523ac in QGuiApplication::exec () at kernel/qguiapplication.cpp:1528
#65 0x00007fea22d7f615 in QApplication::exec () at kernel/qapplication.cpp:2977
#66 0x000000000043467b in main (argc=2, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.4.2/shell/main.cpp:176

Reported using DrKonqi
Comment 1 Martin Klapetek 2015-11-12 18:36:42 UTC
Thanks for the report

Is there any chance you can actually try the solution in the bug you linked?
Comment 2 Andrew W 2015-11-12 20:24:47 UTC
- I had to kill plasmashell in order to be able to perform the kernel update.
- On a reboot (with the fix applied), plasmashell aborted again.

One previous such abort-after-a-boot was also after I had to kill plasmashell so further testing on my part required.  I could not get DrKonqui to attach the new trace to this bug report so if it happens again I will have to file a new bug and then refer to this one.
Comment 3 Andrew W 2015-11-13 19:27:01 UTC
It has happened again, the trace is broadly similar to its predecessor.
I had closed the system down cleanly after the previous session and the nouveau patch I linked to before has been applied.  I do not have any more ideas as to what the cause could possibly be.
The system is perfectly useable even after the crash.
Comment 4 Andrew Crouthamel 2018-09-25 21:48:39 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-10-27 03:43:46 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!