Bug 489744 - KWin Crashes sometimes after waking from sleep
Summary: KWin Crashes sometimes after waking from sleep
Status: RESOLVED DUPLICATE of bug 414805
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.11
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-07-04 15:22 UTC by Reid Swanson
Modified: 2024-07-15 13:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reid Swanson 2024-07-04 15:22:35 UTC
Application: kwin_x11 (5.27.11)
 (Compiled from sources)
Qt Version: 5.15.14
Frameworks Version: 5.116.0
Operating System: Linux 6.6.32-gentoo-dist x86_64
Windowing System: X11
Distribution: "Gentoo Linux"
DrKonqi: 5.27.11 [KCrashBackend]

-- Information about the crash:
Sometime, more often than not, KWin crashes after waking up from sleep. I often also have to restart plasmashell to get a fully functional desktop. I suspect, but cannot confirm, that it is related to this elogind bug: https://github.com/elogind/elogind/issues/234.

I am currently using Gentoo with OpenRC and an NVIDIA graphics card. However, I have had problems with many Linux distributions (using systemd) with NVIDIA cards when waking from sleep, so the problem may run deeper than just the elogind bug referenced above.

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x00007fde2d932558 in QScreen::handle() const () from /usr/lib64/libQt5Gui.so.5
#5  0x00007fde283bbcb4 in ?? () from /usr/lib64/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so
#6  0x00007fde2d951281 in QOpenGLContext::create() () from /usr/lib64/libQt5Gui.so.5
#7  0x00007fde2e5cd390 in ?? () from /usr/lib64/libQt5Quick.so.5
#8  0x00007fde2e5cef3f in ?? () from /usr/lib64/libQt5Quick.so.5
#9  0x00007fde2e5cffd7 in ?? () from /usr/lib64/libQt5Quick.so.5
#10 0x00007fde2d2c1eab in ?? () from /usr/lib64/libQt5Core.so.5
#11 0x00007fde2c2ab652 in ?? () from /usr/lib64/libc.so.6
#12 0x00007fde2c3278ac in ?? () from /usr/lib64/libc.so.6

Thread 4 (Thread 0x7fddec58e6c0 (LWP 17816) "CPMMListener"):
#1  0x00007fde25014037 in ?? () from /usr/lib64/libnvidia-glcore.so.550.90.07
#2  0x00007fde24ff57c4 in ?? () from /usr/lib64/libnvidia-glcore.so.550.90.07
#3  0x00007fde2c2ab652 in ?? () from /usr/lib64/libc.so.6
#4  0x00007fde2c3278ac in ?? () from /usr/lib64/libc.so.6

Thread 3 (Thread 0x7fde136de6c0 (LWP 17779) "QQmlThread"):
#1  0x00007fde2b5e0a8f in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fde2b58a8ac in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fde2b58ae3b in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fde2b58b540 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fde2d4d966e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007fde2d48450b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007fde2d2c0aaa in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#8  0x00007fde2e10d1e9 in ?? () from /usr/lib64/libQt5Qml.so.5
#9  0x00007fde2d2c1eab in ?? () from /usr/lib64/libQt5Core.so.5
#10 0x00007fde2c2ab652 in ?? () from /usr/lib64/libc.so.6
#11 0x00007fde2c3278ac in ?? () from /usr/lib64/libc.so.6

Thread 2 (Thread 0x7fde27eae6c0 (LWP 17709) "QDBusConnection"):
#1  0x00007fde2b58ae87 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fde2b58b540 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fde2d4d966e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fde2d48450b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fde2d2c0aaa in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007fde2c7d721b in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007fde2d2c1eab in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007fde2c2ab652 in ?? () from /usr/lib64/libc.so.6
#9  0x00007fde2c3278ac in ?? () from /usr/lib64/libc.so.6

Thread 1 (Thread 0x7fde283d0840 (LWP 17707) "kwin_x11"):
#1  0x00007fde2c2aa8a0 in pthread_cond_wait () from /usr/lib64/libc.so.6
#2  0x00007fde2d2c7a5b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007fde2e5d1eaa in ?? () from /usr/lib64/libQt5Quick.so.5
#4  0x00007fde2e5d2d32 in ?? () from /usr/lib64/libQt5Quick.so.5
#5  0x00007fde2d917375 in QWindow::event(QEvent*) () from /usr/lib64/libQt5Gui.so.5
#6  0x00007fde2cb03126 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#7  0x00007fde2d485bc8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007fde2d90cad5 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () from /usr/lib64/libQt5Gui.so.5
#9  0x00007fde2d8e94ab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#10 0x00007fde27f1696e in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#11 0x00007fde2b587e04 in ?? () from /usr/lib64/libglib-2.0.so.0
#12 0x00007fde2b58af27 in ?? () from /usr/lib64/libglib-2.0.so.0
#13 0x00007fde2b58b540 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#14 0x00007fde2d4d964a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#15 0x00007fde2d48450b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#16 0x00007fde2d48caa1 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#17 0x000055ac5e46a7d8 in ?? ()
#18 0x00007fde2c2470d0 in ?? () from /usr/lib64/libc.so.6
#19 0x00007fde2c247189 in __libc_start_main () from /usr/lib64/libc.so.6
#20 0x000055ac5e46bd85 in ?? ()
[Inferior 1 (process 17707) detached]

Reported using DrKonqi
Comment 1 David Edmundson 2024-07-15 13:03:21 UTC

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