Bug 444014

Summary: Plasma crashes on logging into 21.10 Kubuntu Wayland desktop, every time
Product: [Plasma] plasmashell Reporter: geoffrey bays <charioteer7>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UPSTREAM    
Severity: crash CC: charioteer7, ironman466, nate
Priority: NOR    
Version: 5.23.0   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description geoffrey bays 2021-10-19 03:54:27 UTC
SUMMARY


STEPS TO REPRODUCE
1. boot into Plasma-Wayland desktop from 21.10 login screen
2. 
3. 

OBSERVED RESULT

Application: Plasma (plasmashell), signal: Aborted

[KCrash Handler]
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140210511816256) at pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=140210511816256) at pthread_kill.c:80
#6  __GI___pthread_kill (threadid=140210511816256, signo=signo@entry=6) at pthread_kill.c:91
#7  0x00007f8581839476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f858181f7b7 in __GI_abort () at abort.c:79
#9  0x00007f858181f6db in __assert_fail_base (fmt=0x7f85819d3770 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x7f857c455034 "kref", file=0x7f857c45501e "../nouveau/pushbuf.c", line=728, function=<optimized out>) at assert.c:92
#10 0x00007f8581830e26 in __GI___assert_fail (assertion=0x7f857c455034 "kref", file=0x7f857c45501e "../nouveau/pushbuf.c", line=728, function=0x7f857c4551f0 "nouveau_pushbuf_data") at assert.c:101
#11 0x00007f857c452de7 in nouveau_pushbuf_data () from /lib/x86_64-linux-gnu/libdrm_nouveau.so.2
#12 0x00007f857c452d47 in nouveau_pushbuf_data () from /lib/x86_64-linux-gnu/libdrm_nouveau.so.2
#13 0x00007f857c452e62 in ?? () from /lib/x86_64-linux-gnu/libdrm_nouveau.so.2
#14 0x00007f857c4530c7 in ?? () from /lib/x86_64-linux-gnu/libdrm_nouveau.so.2
#15 0x00007f857c453e0d in ?? () from /lib/x86_64-linux-gnu/libdrm_nouveau.so.2
#16 0x00007f8576f83540 in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#17 0x00007f8576f9369c in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#18 0x00007f85771ff61f in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#19 0x00007f85767ced44 in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#20 0x00007f857696f6c4 in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#21 0x00007f8576971c8c in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#22 0x00007f8576971d79 in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#23 0x00007f858389781e in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#24 0x00007f8583897d58 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#25 0x00007f8583898138 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#26 0x00007f8583894114 in QSGOpaqueTextureMaterialShader::updateState(QSGMaterialShader::RenderState const&, QSGMaterial*, QSGMaterial*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#27 0x00007f858387abdc in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#28 0x00007f85838803a5 in QSGBatchRenderer::Renderer::renderBatches() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#29 0x00007f8583880bd2 in QSGBatchRenderer::Renderer::render() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#30 0x00007f8583867fd4 in QSGRenderer::renderScene(QSGBindable const&) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#31 0x00007f85838684a3 in QSGRenderer::renderScene(unsigned int) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#32 0x00007f85838ce2c7 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#33 0x00007f858393dd19 in QQuickWindowPrivate::renderSceneGraph(QSize const&, QSize const&) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#34 0x00007f85838dcd0d in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#35 0x00007f85838dd6b7 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#36 0x00007f8581d02a71 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007f858188b927 in start_thread (arg=<optimized out>) at pthread_create.c:435
#38 0x00007f858191b9e4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100

Thread 9 (Thread 0x7f854e8c9640 (LWP 1866) "QSGRenderThread"):
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x56045481bff4) at futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x56045481bff4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f858188a920 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56045481bfa0, cond=0x56045481bfc8) at pthread_cond_wait.c:504
#4  ___pthread_cond_wait (cond=0x56045481bfc8, mutex=0x56045481bfa0) at pthread_cond_wait.c:628
#5  0x00007f8581d08abb in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f85838db273 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f85838dd6f9 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f8581d02a71 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f858188b927 in start_thread (arg=<optimized out>) at pthread_create.c:435
#10 0x00007f858191b9e4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100

Thread 8 (Thread 0x7f854fc87640 (LWP 1865) "KCupsConnection"):
#1  0x00007f858037dea6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8580328003 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8581f485be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f8581eeda9b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f8581d018c2 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f854fd6e94c in KCupsConnection::run() () from /lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007f8581d02a71 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f858188b927 in start_thread (arg=<optimized out>) at pthread_create.c:435
#9  0x00007f858191b9e4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100

Thread 7 (Thread 0x7f8561c2b640 (LWP 1860) "plasmashell"):
#1  __pselect (nfds=5, readfds=0x7f8561c22a80, writefds=0x0, exceptfds=0x0, timeout=<optimized out>, sigmask=0x7f8561c22a20) at ../sysdeps/unix/sysv/linux/pselect.c:57
#2  0x00007f857fa6e03d in ?? () from /lib/x86_64-linux-gnu/libusbmuxd-2.0.so.6
#3  0x00007f857fa6ed88 in ?? () from /lib/x86_64-linux-gnu/libusbmuxd-2.0.so.6
#4  0x00007f858188b927 in start_thread (arg=<optimized out>) at pthread_create.c:435
#5  0x00007f858191b9e4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100

Thread 6 (Thread 0x7f8563fff640 (LWP 1854) "QSGRenderThread"):
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x7f8554023244) at futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7f8554023244, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f858188a920 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f85540231f0, cond=0x7f8554023218) at pthread_cond_wait.c:504
#4  ___pthread_cond_wait (cond=0x7f8554023218, mutex=0x7f85540231f0) at pthread_cond_wait.c:628
#5  0x00007f8581d08abb in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f85838db273 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f85838dd6f9 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f8581d02a71 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f858188b927 in start_thread (arg=<optimized out>) at pthread_create.c:435
#10 0x00007f858191b9e4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100

Thread 5 (Thread 0x7f85637fe640 (LWP 1851) "QQuickPixmapRea"):
#1  0x00007f8580324b55 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f858037de20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8580328003 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8581f485be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f8581eeda9b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f8581d018c2 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f85838239da in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f8581d02a71 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f858188b927 in start_thread (arg=<optimized out>) at pthread_create.c:435
#10 0x00007f858191b9e4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100

Thread 4 (Thread 0x7f856b5ef640 (LWP 1834) "QQmlThread"):
#1  0x00007f858032a459 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f858037ddd3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8580328003 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8581f485be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f8581eeda9b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f8581d018c2 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f85834cce39 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f8581d02a71 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f858188b927 in start_thread (arg=<optimized out>) at pthread_create.c:435
#10 0x00007f858191b9e4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100

Thread 3 (Thread 0x7f8570d39640 (LWP 1798) "plasmas:disk$0"):
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x5604533f6ac8) at futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5604533f6ac8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f858188a920 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5604533f6a78, cond=0x5604533f6aa0) at pthread_cond_wait.c:504
#4  ___pthread_cond_wait (cond=0x5604533f6aa0, mutex=0x5604533f6a78) at pthread_cond_wait.c:628
#5  0x00007f857676134b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#6  0x00007f857675b06b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#7  0x00007f858188b927 in start_thread (arg=<optimized out>) at pthread_create.c:435
#8  0x00007f858191b9e4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100

Thread 2 (Thread 0x7f857cdb3640 (LWP 1751) "QDBusConnection"):
#1  __GI___libc_read (fd=7, buf=0x7f857cdb29a0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f858032acb4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f858037de4d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8580328003 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8581f485be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f8581eeda9b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f8581d018c2 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f858288eefb in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007f8581d02a71 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f858188b927 in start_thread (arg=<optimized out>) at pthread_create.c:435
#11 0x00007f858191b9e4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100

Thread 1 (Thread 0x7f857d7a2980 (LWP 1708) "plasmashell"):
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x5604554efd70) at futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5604554efd70, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f858188a920 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5604554efd20, cond=0x5604554efd48) at pthread_cond_wait.c:504
#4  ___pthread_cond_wait (cond=0x5604554efd48, mutex=0x5604554efd20) at pthread_cond_wait.c:628
#5  0x00007f8581d08abb in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f85838df03a in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f85838e03ba in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f85822e0515 in QWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#9  0x00007f8582bd76b3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f8581eef16a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f85822d55f1 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#12 0x00007f85822a99bc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#13 0x00007f857ff355b4 in ?? () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#14 0x00007f858032a8bb in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f858037df08 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f8580328003 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f8581f48548 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f8581eeda9b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f8581ef6024 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00005604526b8e0c in ?? ()
#21 0x00007f8581820fd0 in __libc_start_call_main (main=main@entry=0x5604526b7ec0, argc=argc@entry=1, argv=argv@entry=0x7ffe762dfef8) at ../sysdeps/nptl/libc_start_call_main.h:58
#22 0x00007f858182107d in __libc_start_main_impl (main=0x5604526b7ec0, argc=1, argv=0x7ffe762dfef8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe762dfee8) at ../csu/libc-start.c:409
#23 0x00005604526b8f35 in ?? ()
[Inferior 1 (process 1708) detached]



EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.23 in 21.10
KDE Frameworks Version: 
Qt Version: 5

ADDITIONAL INFORMATION
Comment 1 geoffrey bays 2021-10-19 03:56:33 UTC
Installed Kubuntu upgrade version 21.10, then tried to login to Plasma-Wayland desktop.
Comment 2 Nate Graham 2021-10-20 14:57:50 UTC
Looks like it's crashing in the Nouveau graphics drivers for your NVIDIA GPU. Can you please report it to the Nouveau developers? See https://nouveau.freedesktop.org/Bugs.html

Thanks!
Comment 3 ironman466 2021-11-07 05:30:24 UTC
Created attachment 143305 [details]
New crash information added by DrKonqi

plasmashell (5.22.90) using Qt 5.15.2

- What I was doing when the application crashed:
Loggined into Kubuntu 21.10 desktop with Plasma Wayland

- Unusual behavior I noticed:
I saw wallpaper, which was turned to black screen after few seconds. After that I saw wallpaper with desktop icons of my programs, which was also turned to black screen after few seconds. and I got bug report
I use NVIDIA driver 470 btw, there was similar report but I used NVIDIA driver

-- Backtrace (Reduced):
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=139724230678912) at pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=139724230678912) at pthread_kill.c:80
#6  __GI___pthread_kill (threadid=139724230678912, signo=signo@entry=6) at pthread_kill.c:91
#7  0x00007f14192c4476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f14192aa7b7 in __GI_abort () at abort.c:79
Comment 4 ironman466 2021-11-11 07:53:10 UTC
Created attachment 143443 [details]
New crash information added by DrKonqi

plasmashell (5.22.5) using Qt 5.15.2

- What I was doing when the application crashed:
I just booted my pc, after installing NVIDIA 495 driver and choosing wayland on login screen
- Unusual behavior I noticed:
As soon as I logged in, I saw my bios screen for brief amount of time. after that I was booting animation, and then wallpaper. but the wallpaper quickly turned black. and it turned back to wallpaper, and to black again. and it's now only black screen

-- Backtrace (Reduced):
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=139751705782656) at pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=139751705782656) at pthread_kill.c:80
#6  __GI___pthread_kill (threadid=139751705782656, signo=signo@entry=6) at pthread_kill.c:91
#7  0x00007f1a7ed11476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f1a7ecf77b7 in __GI_abort () at abort.c:79