Application: kaffeine (2.0.18) Qt Version: 5.15.6 Frameworks Version: 5.98.0 Operating System: Linux 5.19.15-301.fc37.x86_64 x86_64 Windowing System: Wayland Distribution: Fedora Linux 37 (Workstation Edition) DrKonqi: 5.25.5 [KCrashBackend] -- Information about the crash: Kaffeine not working properly in wayland. two windows open whan we read a video. (one with the video plain screen, one with kaffeine system) after 1 mn kaffeine cut off. The reporter is unsure if this crash is reproducible. -- Backtrace: Application: Kaffeine (kaffeine), signal: Segmentation fault [KCrash Handler] #4 0x00007efff8f81d83 in XQueryExtension () from /lib64/libX11.so.6 #5 0x00007efff8f75db6 in XInitExtension () from /lib64/libX11.so.6 #6 0x00007efff8f3392f in XextAddDisplay () from /lib64/libXext.so.6 #7 0x00007efffb555ec3 in XScreenSaverSuspend () from /lib64/libXss.so.1 #8 0x00007efff9d67b2f in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5 #9 0x00007efff9d6ad2e in QTimer::timeout(QTimer::QPrivateSignal) () from /lib64/libQt5Core.so.5 #10 0x00007efff9d5ead5 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5 #11 0x00007efffa7f0d02 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5 #12 0x00007efff9d341c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5 #13 0x00007efff9d843b1 in QTimerInfoList::activateTimers() () from /lib64/libQt5Core.so.5 #14 0x00007efff9d84cd4 in idleTimerSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5 #15 0x00007efff819cc3f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #16 0x00007efff81f23c8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0 #17 0x00007efff8199ec0 in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #18 0x00007efff9d8502a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5 #19 0x00007efff9d32c1a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5 #20 0x00007efff9d3ace2 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5 #21 0x000055b69610dab4 in main () [Inferior 1 (process 6497) detached] Reported using DrKonqi
It looks like kaffeine is calling X11 code, in particular XScreenSaverSuspend, on Wayland. That's not going to go well
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/kaffeine/-/merge_requests/10
Git commit 47c2fab9ebad8b774a421bb66c5651098f45ff34 by Nicolas Fella. Committed on 13/12/2022 at 13:52. Pushed by aacid into branch 'master'. Don't invoke XScreenSaverSuspend on Wayland M +5 -2 src/mediawidget.cpp https://invent.kde.org/multimedia/kaffeine/commit/47c2fab9ebad8b774a421bb66c5651098f45ff34
*** Bug 463111 has been marked as a duplicate of this bug. ***
*** Bug 468074 has been marked as a duplicate of this bug. ***
*** Bug 469815 has been marked as a duplicate of this bug. ***