Bug 394100

Summary: [Wayland+Nouveau] Desktop crashed after login.
Product: [Plasma] plasmashell Reporter: Tony <jodr666>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED UPSTREAM    
Severity: normal CC: plasma-bugs, subdiff
Priority: NOR Keywords: drkonqi
Version: 5.12.4   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=106530
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tony 2018-05-10 18:18:32 UTC
Application: plasmashell (5.12.4)

Qt Version: 5.11.0
Frameworks Version: 5.45.0
Operating System: Linux 4.16.6-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
Just updated my system, rebooted and login into a wayland session. The crash happen soon after the panels showed up.

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

Thread 11 (Thread 0x7fdffa0eb700 (LWP 9699)):
#0  0x00007fe0c49fd56c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fdff00bca00) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7fdff00bc9b0, cond=0x7fdff00bc9d8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7fdff00bc9d8, mutex=0x7fdff00bc9b0) at pthread_cond_wait.c:655
#3  0x00007fe0c585e86b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fe0c961b558 in QSGRenderThread::processEventsAndWaitForMore() () from /usr/lib64/libQt5Quick.so.5
#5  0x00007fe0c961b93a in QSGRenderThread::run() () from /usr/lib64/libQt5Quick.so.5
#6  0x00007fe0c585daf8 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#7  0x00007fe0c49f759b in start_thread (arg=0x7fdffa0eb700) at pthread_create.c:463
#8  0x00007fe0c5151a1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fdffa8ec700 (LWP 9698)):
#0  0x00007fe0c49fd56c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x564e66f04e34) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x564e66f04de0, cond=0x564e66f04e08) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x564e66f04e08, mutex=0x564e66f04de0) at pthread_cond_wait.c:655
#3  0x00007fe0c585e86b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fe0c961b558 in QSGRenderThread::processEventsAndWaitForMore() () from /usr/lib64/libQt5Quick.so.5
#5  0x00007fe0c961b93a in QSGRenderThread::run() () from /usr/lib64/libQt5Quick.so.5
#6  0x00007fe0c585daf8 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#7  0x00007fe0c49f759b in start_thread (arg=0x7fdffa8ec700) at pthread_create.c:463
#8  0x00007fe0c5151a1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fdffb114700 (LWP 9695)):
#0  0x00007fe0c49fd56c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x564e66da02a0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x564e66da0250, cond=0x564e66da0278) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x564e66da0278, mutex=0x564e66da0250) at pthread_cond_wait.c:655
#3  0x00007fe0c585e86b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fe0c961b558 in QSGRenderThread::processEventsAndWaitForMore() () from /usr/lib64/libQt5Quick.so.5
#5  0x00007fe0c961b93a in QSGRenderThread::run() () from /usr/lib64/libQt5Quick.so.5
#6  0x00007fe0c585daf8 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#7  0x00007fe0c49f759b in start_thread (arg=0x7fdffb114700) at pthread_create.c:463
#8  0x00007fe0c5151a1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fdffbb66700 (LWP 9694)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007fe0c508fda1 in __GI_abort () at abort.c:79
#8  0x00007fe0c508710a in __assert_fail_base (fmt=0x7fe0c51dc460 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7fe0a48a5cb5 "kref", file=file@entry=0x7fe0a48a5caa "pushbuf.c", line=line@entry=727, function=function@entry=0x7fe0a48a5ce0 <__PRETTY_FUNCTION__.6480> "nouveau_pushbuf_data") at assert.c:92
#9  0x00007fe0c5087182 in __GI___assert_fail (assertion=assertion@entry=0x7fe0a48a5cb5 "kref", file=file@entry=0x7fe0a48a5caa "pushbuf.c", line=line@entry=727, function=function@entry=0x7fe0a48a5ce0 <__PRETTY_FUNCTION__.6480> "nouveau_pushbuf_data") at assert.c:101
#10 0x00007fe0a48a4128 in nouveau_pushbuf_data (push=push@entry=0x564e651158c0, bo=0x564e65115a80, offset=19700, length=928) at pushbuf.c:727
#11 0x00007fe0a48a40f0 in nouveau_pushbuf_data (push=push@entry=0x564e651158c0, bo=bo@entry=0x0, offset=offset@entry=0, length=length@entry=0) at pushbuf.c:719
#12 0x00007fe0a48a4b4e in nouveau_pushbuf_space (push=push@entry=0x564e651158c0, dwords=dwords@entry=26, relocs=relocs@entry=0, pushes=<optimized out>, pushes@entry=0) at pushbuf.c:689
#13 0x00007fe0a50d05b6 in PUSH_SPACE (size=26, push=0x564e651158c0) at ./nouveau_winsys.h:31
#14 BEGIN_1IC0 (size=17, mthd=9100, subc=0, push=0x564e651158c0) at ./nvc0/nvc0_winsys.h:134
#15 nve4_update_surface_bindings (nvc0=0x564e66cb5750) at nvc0/nvc0_tex.c:1281
#16 nvc0_validate_surfaces (nvc0=0x564e66cb5750) at nvc0/nvc0_tex.c:1309
#17 0x00007fe0a50c78bc in nvc0_state_validate (nvc0=nvc0@entry=0x564e66cb5750, mask=mask@entry=4294967295, validate_list=validate_list@entry=0x7fe0a57897a0 <validate_list_3d>, size=size@entry=33, dirty=dirty@entry=0x564e66cb5bb8, bufctx=0x564e66cb9080) at nvc0/nvc0_state_validate.c:903
#18 0x00007fe0a50c79e7 in nvc0_state_validate_3d (nvc0=nvc0@entry=0x564e66cb5750, mask=mask@entry=4294967295) at nvc0/nvc0_state_validate.c:921
#19 0x00007fe0a50d3bed in nvc0_draw_vbo (pipe=0x564e66cb5750, info=0x7fdffbb65690) at nvc0/nvc0_vbo.c:985
#20 0x00007fe0a4d059bf in st_draw_vbo (ctx=<optimized out>, prims=0x7fdffbb65770, nr_prims=<optimized out>, ib=0x7fdffbb65750, index_bounds_valid=<optimized out>, min_index=<optimized out>, max_index=<optimized out>, tfb_vertcount=0x0, stream=0, indirect=0x0) at state_tracker/st_draw.c:227
#21 0x00007fe0a4cc88f8 in vbo_validated_drawrangeelements (ctx=ctx@entry=0x564e66cf8840, mode=mode@entry=5, index_bounds_valid=index_bounds_valid@entry=0 '\000', start=start@entry=0, end=end@entry=4294967295, count=count@entry=4, type=5123, indices=0x7fdfec1604c2, basevertex=0, numInstances=1, baseInstance=0) at vbo/vbo_exec_array.c:925
#22 0x00007fe0a4cc906f in vbo_exec_DrawElements (mode=5, count=4, type=5123, indices=0x7fdfec1604c2) at vbo/vbo_exec_array.c:1075
#23 0x00007fe0c95e03c7 in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () from /usr/lib64/libQt5Quick.so.5
#24 0x00007fe0c95e15c5 in QSGBatchRenderer::Renderer::renderBatches() () from /usr/lib64/libQt5Quick.so.5
#25 0x00007fe0c95e692e in QSGBatchRenderer::Renderer::render() () from /usr/lib64/libQt5Quick.so.5
#26 0x00007fe0c95d78ed in QSGRenderer::renderScene(QSGBindable const&) () from /usr/lib64/libQt5Quick.so.5
#27 0x00007fe0c95d7d6b in QSGRenderer::renderScene(unsigned int) () from /usr/lib64/libQt5Quick.so.5
#28 0x00007fe0c960fc70 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () from /usr/lib64/libQt5Quick.so.5
#29 0x00007fe0c966cf88 in QQuickWindowPrivate::renderSceneGraph(QSize const&) () from /usr/lib64/libQt5Quick.so.5
#30 0x00007fe0c9617eaf in QSGRenderThread::syncAndRender() () from /usr/lib64/libQt5Quick.so.5
#31 0x00007fe0c961b8f8 in QSGRenderThread::run() () from /usr/lib64/libQt5Quick.so.5
#32 0x00007fe0c585daf8 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#33 0x00007fe0c49f759b in start_thread (arg=0x7fdffbb66700) at pthread_create.c:463
#34 0x00007fe0c5151a1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fe00eee7700 (LWP 9683)):
#0  0x00007fe0c49fd56c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x564e65612b10) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x564e65612ac0, cond=0x564e65612ae8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x564e65612ae8, mutex=0x564e65612ac0) at pthread_cond_wait.c:655
#3  0x00007fe0c585e86b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fe0c961b558 in QSGRenderThread::processEventsAndWaitForMore() () from /usr/lib64/libQt5Quick.so.5
#5  0x00007fe0c961b93a in QSGRenderThread::run() () from /usr/lib64/libQt5Quick.so.5
#6  0x00007fe0c585daf8 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#7  0x00007fe0c49f759b in start_thread (arg=0x7fe00eee7700) at pthread_create.c:463
#8  0x00007fe0c5151a1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fe01c407700 (LWP 9640)):
#0  0x00007fe0c49fd56c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x564e64ce21d4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x564e64ce2180, cond=0x564e64ce21a8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x564e64ce21a8, mutex=0x564e64ce2180) at pthread_cond_wait.c:655
#3  0x00007fe0a4de8d3b in cnd_wait (mtx=0x564e64ce2180, cond=0x564e64ce21a8) at ../../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x564e651e7a40) at u_queue.c:255
#5  0x00007fe0a4de8a67 in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87
#6  0x00007fe0c49f759b in start_thread (arg=0x7fe01c407700) at pthread_create.c:463
#7  0x00007fe0c5151a1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fe0a7fff700 (LWP 9639)):
#0  0x00007fe0c49fd56c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fe0cb800fb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7fe0cb800f68, cond=0x7fe0cb800f90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7fe0cb800f90, mutex=0x7fe0cb800f68) at pthread_cond_wait.c:655
#3  0x00007fe0cb50c674 in ?? () from /usr/lib64/libQt5Script.so.5
#4  0x00007fe0cb50c6b9 in ?? () from /usr/lib64/libQt5Script.so.5
#5  0x00007fe0c49f759b in start_thread (arg=0x7fe0a7fff700) at pthread_create.c:463
#6  0x00007fe0c5151a1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fe0ae35f700 (LWP 9637)):
#0  0x00007fe0bf71ce29 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fe0bf6d6993 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe0bf6d735b in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe0bf6d753c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fe0c5a7082b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fe0c5a180ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007fe0c585330a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007fe0c9119f35 in QQmlThreadPrivate::run() () from /usr/lib64/libQt5Qml.so.5
#8  0x00007fe0c585daf8 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007fe0c49f759b in start_thread (arg=0x7fe0ae35f700) at pthread_create.c:463
#10 0x00007fe0c5151a1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fe0afbef700 (LWP 9636)):
#0  0x00007fe0bf6d72bc in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fe0bf6d753c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe0c5a7082b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#3  0x00007fe0c5a180ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fe0c585330a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#5  0x00007fe0c9119f35 in QQmlThreadPrivate::run() () from /usr/lib64/libQt5Qml.so.5
#6  0x00007fe0c585daf8 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#7  0x00007fe0c49f759b in start_thread (arg=0x7fe0afbef700) at pthread_create.c:463
#8  0x00007fe0c5151a1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fe0b57c7700 (LWP 9621)):
#0  0x00007fe0c5147179 in __GI___poll (fds=0x7fe0b0003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe0bf6d7429 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe0bf6d753c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe0c5a7082b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fe0c5a180ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fe0c585330a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007fe0c730fb55 in QDBusConnectionManager::run() () from /usr/lib64/libQt5DBus.so.5
#7  0x00007fe0c585daf8 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007fe0c49f759b in start_thread (arg=0x7fe0b57c7700) at pthread_create.c:463
#9  0x00007fe0c5151a1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fe0cbe4d880 (LWP 9602)):
#0  0x00007fe0c49fd56c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x564e664ca550) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x564e664ca500, cond=0x564e664ca528) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x564e664ca528, mutex=0x564e664ca500) at pthread_cond_wait.c:655
#3  0x00007fe0c585e86b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fe0c9618a41 in QSGThreadedRenderLoop::polishAndSync(QSGThreadedRenderLoop::Window*, bool) () from /usr/lib64/libQt5Quick.so.5
#5  0x00007fe0c961954a in QSGThreadedRenderLoop::handleUpdateRequest(QQuickWindow*) () from /usr/lib64/libQt5Quick.so.5
#6  0x00007fe0c967745e in QQuickWindow::event(QEvent*) () from /usr/lib64/libQt5Quick.so.5
#7  0x0000564e638b2a4b in PanelView::event (this=0x564e656e8280, e=0x7fffab1c69e0) at /usr/src/debug/plasma5-workspace-5.12.4-4.1.x86_64/shell/panelview.cpp:925
#8  0x00007fe0c6c207ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#9  0x00007fe0c6c27894 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#10 0x00007fe0c5a197f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#11 0x00007fe0c5fcdb81 in QWindowPrivate::deliverUpdateRequest() () from /usr/lib64/libQt5Gui.so.5
#12 0x00007fe0c5fce049 in QWindow::event(QEvent*) () from /usr/lib64/libQt5Gui.so.5
#13 0x00007fe0c9677415 in QQuickWindow::event(QEvent*) () from /usr/lib64/libQt5Quick.so.5
#14 0x0000564e638b2a4b in PanelView::event (this=0x564e656e8280, e=0x7fffab1c6da0) at /usr/src/debug/plasma5-workspace-5.12.4-4.1.x86_64/shell/panelview.cpp:925
#15 0x00007fe0c6c207ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#16 0x00007fe0c6c27894 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007fe0c5a197f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#18 0x00007fe0c5a6fdae in QTimerInfoList::activateTimers() () from /usr/lib64/libQt5Core.so.5
#19 0x00007fe0c5a704f9 in idleTimerSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5Core.so.5
#20 0x00007fe0bf6d7277 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#21 0x00007fe0bf6d74b0 in ?? () from /usr/lib64/libglib-2.0.so.0
#22 0x00007fe0bf6d753c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#23 0x00007fe0c5a7080f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#24 0x00007fe0b7c8cd61 in ?? () from /usr/lib64/libQt5WaylandClient.so.5
#25 0x00007fe0c5a180ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#26 0x00007fe0c5a20bd0 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#27 0x0000564e638a3e23 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma5-workspace-5.12.4-4.1.x86_64/shell/main.cpp:172

Possible duplicates by query: bug 386263, bug 382799.

Reported using DrKonqi
Comment 1 Roman Gilg 2018-05-15 13:16:29 UTC
That's an upstream bug in nouveau. You need to report it to https://bugs.freedesktop.org/. After doing this can you post a comment here with a link to the upstream report?

Thank you.
Comment 2 Tony 2018-05-15 16:11:37 UTC
Upstream report:

https://bugs.freedesktop.org/show_bug.cgi?id=106530