Bug 513952 - KWin crashes when I hibernate the PC
Summary: KWin crashes when I hibernate the PC
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: generic-crash (other bugs)
Version First Reported In: 6.5.4
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-12-29 15:09 UTC by Markus Laker
Modified: 2025-12-29 21:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/310992/events/78c54a0b9f214781ae6c31afcd90999a/


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Laker 2025-12-29 15:09:49 UTC
Application: kwin_wayland (6.5.4)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.3
Frameworks Version: 6.21.0
Operating System: Linux 6.17.13-200.fc42.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 42 (Workstation Edition)"
DrKonqi: 6.5.4 [CoredumpBackend]

-- Information about the crash:
As you'll see from the stackdumps, I use nouveau.  When I hibernated the PC, the screen went black fairly quickly but it took several minutes for the PC's fan to shut off.  When I tapped the Ctrl key to bring the machine back up, the fan came on quickly but the screens stayed black and the keyvoard's Caps Lock light didn't come on when I tapped the Caps Lock key.

I don't normally hibernate the machine, so I don't know how many times out of ten this would happen if I tried it again.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: KWin (kwin_wayland), signal: Segmentation fault


This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.fedoraproject.org/>
Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.

warning: Can't open file /memfd:wayland-shm (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:gdk-wayland (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:wayland-cursor (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:JSVMStack:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /home/msl/.cache/plasma_theme_default.kcache (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:unknown-usage:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:JITCode:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:kwayland-shared (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:JSGCHeap:QtQml (deleted) during file-backed mapping note processing
[New LWP 3200]
[New LWP 3234]
[New LWP 4271]
[New LWP 3273]
[New LWP 3287]
[New LWP 3266]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/kwin_wayland --wayland-fd 7 --socket wayland-0 --xwayland-fd 8 --xwayland-fd 9 --xwayland-display :0 --xwayland-xauthority /run/user/1000/xauth_mVxrvH --xwayland'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f2d60882e5c in __pthread_kill_implementation () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f2d5aa55300 (LWP 3200))]
[Current thread is 1 (Thread 0x7f2d5aa55300 (LWP 3200))]

Thread 6 (Thread 0x7f2d4889b6c0 (LWP 3266)):
#0  0x00007f2d60889422 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f2d6087d71c in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f2d6087dd8c in __futex_abstimed_wait_common () from /lib64/libc.so.6
#3  0x00007f2d6088045e in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#4  0x00007f2d4914ec1d in cnd_wait () from /lib64/libgallium-25.1.9.so
#5  0x00007f2d491082fc in util_queue_thread_func () from /lib64/libgallium-25.1.9.so
#6  0x00007f2d4914eb4c in impl_thrd_routine () from /lib64/libgallium-25.1.9.so
#7  0x00007f2d60880f14 in start_thread () from /lib64/libc.so.6
#8  0x00007f2d609042ec in __clone3 () from /lib64/libc.so.6

Thread 5 (Thread 0x7f2d3ad7e6c0 (LWP 3287)):
#0  0x00007f2d60889422 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f2d6087d71c in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f2d6087d764 in __syscall_cancel () from /lib64/libc.so.6
#3  0x00007f2d608f7786 in ppoll () from /lib64/libc.so.6
#4  0x00007f2d5fa59890 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#5  0x00007f2d5fa59953 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#6  0x00007f2d612104ed in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#7  0x00007f2d60f07243 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#8  0x00007f2d6102844d in QThread::exec() () from /lib64/libQt6Core.so.6
#9  0x00007f2d610c6166 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#10 0x00007f2d60880f14 in start_thread () from /lib64/libc.so.6
#11 0x00007f2d609042ec in __clone3 () from /lib64/libc.so.6

Thread 4 (Thread 0x7f2d3b7ff6c0 (LWP 3273)):
#0  0x00007f2d60889422 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f2d6087d71c in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f2d6087d764 in __syscall_cancel () from /lib64/libc.so.6
#3  0x00007f2d608f7786 in ppoll () from /lib64/libc.so.6
#4  0x00007f2d5fa59890 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#5  0x00007f2d5fa59953 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#6  0x00007f2d612104ed in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#7  0x00007f2d60f07243 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#8  0x00007f2d6102844d in QThread::exec() () from /lib64/libQt6Core.so.6
#9  0x00007f2d610c6166 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#10 0x00007f2d60880f14 in start_thread () from /lib64/libc.so.6
#11 0x00007f2d609042ec in __clone3 () from /lib64/libc.so.6

Thread 3 (Thread 0x7f2d1d9c46c0 (LWP 4271)):
#0  0x00007f2d60889422 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f2d6087d71c in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f2d6087d764 in __syscall_cancel () from /lib64/libc.so.6
#3  0x00007f2d608f7786 in ppoll () from /lib64/libc.so.6
#4  0x00007f2d5fa59890 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#5  0x00007f2d5fa59953 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#6  0x00007f2d612104ed in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#7  0x00007f2d60f07243 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#8  0x00007f2d6102844d in QThread::exec() () from /lib64/libQt6Core.so.6
#9  0x00007f2d610c6166 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#10 0x00007f2d60880f14 in start_thread () from /lib64/libc.so.6
#11 0x00007f2d609042ec in __clone3 () from /lib64/libc.so.6

Thread 2 (Thread 0x7f2d4c9ff6c0 (LWP 3234)):
#0  0x00007f2d60889422 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f2d6087d71c in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f2d6087d764 in __syscall_cancel () from /lib64/libc.so.6
#3  0x00007f2d608f7786 in ppoll () from /lib64/libc.so.6
#4  0x00007f2d5fa59890 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#5  0x00007f2d5fa59953 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#6  0x00007f2d612104ed in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#7  0x00007f2d60f07243 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#8  0x00007f2d6102844d in QThread::exec() () from /lib64/libQt6Core.so.6
#9  0x00007f2d6154c721 in QDBusConnectionManager::run() () from /lib64/libQt6DBus.so.6
#10 0x00007f2d610c6166 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#11 0x00007f2d60880f14 in start_thread () from /lib64/libc.so.6
#12 0x00007f2d609042ec in __clone3 () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2d5aa55300 (LWP 3200)):
[KCrash Handler]
#4  0x00007f2d496dee0f in pushbuf_dump () from /lib64/libgallium-25.1.9.so
#5  0x00007f2d496e160d in pushbuf_flush.isra () from /lib64/libgallium-25.1.9.so
#6  0x00007f2d496e1f25 in nouveau_pushbuf_kick () from /lib64/libgallium-25.1.9.so
#7  0x00007f2d49e41c18 in nvc0_flush () from /lib64/libgallium-25.1.9.so
#8  0x00007f2d48cbbaac in st_glFlush () from /lib64/libgallium-25.1.9.so
#9  0x00007f2d63d73c41 in KWin::EglGbmLayerSurface::endRendering(QRegion const&, KWin::OutputFrame*) () from /lib64/libkwin.so.6
#10 0x00007f2d63a6b757 in KWin::renderLayer(KWin::RenderView*, KWin::Output*, std::shared_ptr<KWin::OutputFrame> const&, QRegion const&) [clone .isra.0] () from /lib64/libkwin.so.6
#11 0x00007f2d63a6edab in KWin::Compositor::composite(KWin::RenderLoop*) () from /lib64/libkwin.so.6
#12 0x00007f2d60f654ba in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt6Core.so.6
#13 0x00007f2d63a9417a in KWin::RenderLoop::frameRequested(KWin::RenderLoop*) () from /lib64/libkwin.so.6
#14 0x00007f2d60f560b5 in QObject::event(QEvent*) () from /lib64/libQt6Core.so.6
#15 0x00007f2d6223d97f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt6Widgets.so.6
#16 0x00007f2d60ef9678 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt6Core.so.6
#17 0x00007f2d610c47f8 in QTimerInfoList::activateTimers() () from /lib64/libQt6Core.so.6
#18 0x00007f2d610c91ab in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#19 0x00007f2d61cdfaa2 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Gui.so.6
#20 0x00007f2d60f07243 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#21 0x00007f2d60f02b59 in QCoreApplication::exec() () from /lib64/libQt6Core.so.6
#22 0x000055671c3338e3 in main ()

Reported using DrKonqi
Comment 1 TraceyC 2025-12-29 21:29:47 UTC
This is crashing in the gallium graphics driver. There aren't any other crashes with this backtrace, so this is something that has to be reported to the mesa folks. Please create a bug report here
https://docs.mesa3d.org/bugs.html