Bug 511099 - Turning off screen crashes plasmashell ("KWaylandBackend: no output modes available anymore, this seems like a compositor bug")
Summary: Turning off screen crashes plasmashell ("KWaylandBackend: no output modes ava...
Status: RESOLVED DUPLICATE of bug 510734
Alias: None
Product: kwin
Classification: Plasma
Component: generic-crash (other bugs)
Version First Reported In: 6.5.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-10-25 15:10 UTC by roger
Modified: 2025-10-27 20:01 UTC (History)
3 users (show)

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


Attachments
New crash information added by DrKonqi (107.24 KB, text/plain)
2025-10-25 15:10 UTC, roger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description roger 2025-10-25 15:10:54 UTC
Application: plasmashell (6.5.0)

ApplicationNotResponding [ANR]: false
Qt Version: 6.10.0
Frameworks Version: 6.19.0
Operating System: Linux 6.17.4-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 6.5.0 [CoredumpBackend]

-- Information about the crash:
Plasmashell (wayland) crashes when turning off the screen.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007f74b489de33 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#7  0x00007f74b48427b6 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f74b482934b in __GI_abort () at abort.c:77
#9  0x00007f74b50f658b in qAbort () at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/corelib/global/qassert.cpp:46
#10 qt_maybe_message_fatal<QString&> (msgType=QtFatalMsg, context=<optimized out>, message=...) at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/corelib/global/qlogging.cpp:2165
[...]
#12 0x00007f74b50f712f in QMessageLogger::fatal (this=this@entry=0x7fffad86fcc0, msg=msg@entry=0x7f74851f56d0 "KWaylandBackend: no output modes available anymore, this seems like a compositor bug") at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/corelib/global/qlogging.cpp:901
#13 0x00007f74851e5e48 in operator() (__closure=<optimized out>) at /usr/src/debug/libkscreen-6.5.0/backends/kwayland/waylandoutputdevice.cpp:73
#14 operator() (__closure=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:116
#18 QtPrivate::QCallableObject<KScreen::WaylandOutputDevice::kde_output_device_v2_mode(kde_output_device_mode_v2*)::<lambda()>, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:547
#19 0x00007f74b5235b60 in QtPrivate::QSlotObjectBase::call (this=0x55ce9e19db30, r=<optimized out>, a=0x7fffad86fd78) at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/corelib/kernel/qobjectdefs_impl.h:461
#20 doActivate<false> (sender=0x55ce9e16f5b0, signal_index=3, argv=0x7fffad86fd78) at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/corelib/kernel/qobject.cpp:4255
#21 0x00007f74b7c23c92 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#22 0x00007f74b7c20a26 in ffi_call_int (cif=cif@entry=0x7fffad86ff80, fn=fn@entry=0x7f74851e61c0 <QtWayland::kde_output_device_mode_v2::handle_removed(void*, kde_output_device_mode_v2*)>, rvalue=<optimized out>, rvalue@entry=0x0, avalue=avalue@entry=0x7fffad870050, closure=closure@entry=0x0) at ../src/x86/ffi64.c:676
#23 0x00007f74b7c232ae in ffi_call (cif=cif@entry=0x7fffad86ff80, fn=0x7f74851e61c0 <QtWayland::kde_output_device_mode_v2::handle_removed(void*, kde_output_device_mode_v2*)>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7fffad870050) at ../src/x86/ffi64.c:713
#24 0x00007f74b80a17f3 in wl_closure_invoke (closure=closure@entry=0x7f74a4003330, target=<optimized out>, target@entry=0x7f749c00b980, opcode=opcode@entry=3, data=<optimized out>, flags=1) at ../src/connection.c:1241


Reported using DrKonqi
Comment 1 roger 2025-10-25 15:10:56 UTC
Created attachment 186137 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 TraceyC 2025-10-27 18:54:56 UTC
Searchable backtrace

#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007f74b489de33 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#7  0x00007f74b48427b6 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f74b482934b in __GI_abort () at abort.c:77
#9  0x00007f74b50f658b in qAbort () at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/corelib/global/qassert.cpp:46
#10 qt_maybe_message_fatal<QString&> (msgType=QtFatalMsg, context=<optimized out>, message=...) at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/corelib/global/qlogging.cpp:2165
#11 qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=..., msg=msg@entry=0x7f74851f56d0 "KWaylandBackend: no output modes available anymore, this seems like a compositor bug", ap=ap@entry=0x7fffad86fa68) at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/corelib/global/qlogging.cpp:412
#12 0x00007f74b50f712f in QMessageLogger::fatal (this=this@entry=0x7fffad86fcc0, msg=msg@entry=0x7f74851f56d0 "KWaylandBackend: no output modes available anymore, this seems like a compositor bug") at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/corelib/global/qlogging.cpp:901
#13 0x00007f74851e5e48 in operator() (__closure=<optimized out>) at /usr/src/debug/libkscreen-6.5.0/backends/kwayland/waylandoutputdevice.cpp:73
#14 operator() (__closure=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:116
#15 QtPrivate::FunctorCallBase::call_internal<void, QtPrivate::FunctorCall<std::integer_sequence<long unsigned int>, QtPrivate::List<>, void, KScreen::WaylandOutputDevice::kde_output_device_v2_mode(kde_output_device_mode_v2*)::<lambda()> >::call(KScreen::WaylandOutputDevice::kde_output_device_v2_mode(kde_output_device_mode_v2*)::<lambda()>&, void**)::<lambda()> > (args=<optimized out>, fn=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:65
#16 QtPrivate::FunctorCall<std::integer_sequence<long unsigned int>, QtPrivate::List<>, void, KScreen::WaylandOutputDevice::kde_output_device_v2_mode(kde_output_device_mode_v2*)::<lambda()> >::call (f=<optimized out>, arg=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:115
#17 QtPrivate::FunctorCallable<KScreen::WaylandOutputDevice::kde_output_device_v2_mode(kde_output_device_mode_v2*)::<lambda()> >::call<QtPrivate::List<>, void> (f=<optimized out>, arg=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:337
#18 QtPrivate::QCallableObject<KScreen::WaylandOutputDevice::kde_output_device_v2_mode(kde_output_device_mode_v2*)::<lambda()>, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:547
#19 0x00007f74b5235b60 in QtPrivate::QSlotObjectBase::call (this=0x55ce9e19db30, r=<optimized out>, a=0x7fffad86fd78) at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/corelib/kernel/qobjectdefs_impl.h:461
#20 doActivate<false> (sender=0x55ce9e16f5b0, signal_index=3, argv=0x7fffad86fd78) at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/corelib/kernel/qobject.cpp:4255
#21 0x00007f74b7c23c92 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#22 0x00007f74b7c20a26 in ffi_call_int (cif=cif@entry=0x7fffad86ff80, fn=fn@entry=0x7f74851e61c0 <QtWayland::kde_output_device_mode_v2::handle_removed(void*, kde_output_device_mode_v2*)>, rvalue=<optimized out>, rvalue@entry=0x0, avalue=avalue@entry=0x7fffad870050, closure=closure@entry=0x0) at ../src/x86/ffi64.c:676
#23 0x00007f74b7c232ae in ffi_call (cif=cif@entry=0x7fffad86ff80, fn=0x7f74851e61c0 <QtWayland::kde_output_device_mode_v2::handle_removed(void*, kde_output_device_mode_v2*)>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7fffad870050) at ../src/x86/ffi64.c:713
#24 0x00007f74b80a17f3 in wl_closure_invoke (closure=closure@entry=0x7f74a4003330, target=<optimized out>, target@entry=0x7f749c00b980, opcode=opcode@entry=3, data=<optimized out>, flags=1) at ../src/connection.c:1241
#25 0x00007f74b80a2539 in dispatch_event (display=display@entry=0x55ce9d5642f0, queue=queue@entry=0x55ce9d5643e8) at ../src/wayland-client.c:1707
#26 0x00007f74b80a28eb in dispatch_queue (display=0x55ce9d5642f0, queue=0x55ce9d5643e8) at ../src/wayland-client.c:1853
#27 wl_display_dispatch_queue_pending (display=0x55ce9d5642f0, queue=0x55ce9d5643e8) at ../src/wayland-client.c:2190
#28 0x00007f74b6365222 in QtWaylandClient::QWaylandDisplay::flushRequests (this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/plugins/platforms/wayland/qwaylanddisplay.cpp:230
#29 0x00007f74b52235c4 in QObject::event (this=<optimized out>, e=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/corelib/kernel/qobject.cpp:1411
#30 0x00007f74b75e7918 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55ce9d564010, e=0x7f74a4001ce0) at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/widgets/kernel/qapplication.cpp:3307
#31 0x00007f74b51cdbd8 in QCoreApplication::notifyInternal2 (receiver=0x55ce9d564010, event=0x7f74a4001ce0) at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/corelib/kernel/qcoreapplication.cpp:1109
#32 0x00007f74b51cdc1d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/corelib/kernel/qcoreapplication.cpp:1549
#33 0x00007f74b51d0289 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55ce9d556650) at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/corelib/kernel/qcoreapplication.cpp:1904
#34 0x00007f74b5495ec7 in postEventSourceDispatch (s=s@entry=0x55ce9d561fa0) at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#35 0x00007f74b3b83776 in g_main_dispatch (context=0x7f74a8000f60) at ../glib/gmain.c:3565
#36 g_main_context_dispatch_unlocked (context=context@entry=0x7f74a8000f60) at ../glib/gmain.c:4425
#37 0x00007f74b3b86668 in g_main_context_iterate_unlocked (context=context@entry=0x7f74a8000f60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4490
#38 0x00007f74b3b86eac in g_main_context_iteration (context=0x7f74a8000f60, may_block=1) at ../glib/gmain.c:4556
#39 0x00007f74b5493fa1 in QEventDispatcherGlib::processEvents (this=0x55ce9d561740, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/corelib/kernel/qeventdispatcher_glib.cpp:401
#40 0x00007f74b51dc06b in QEventLoop::exec (this=0x7fffad8705f0, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/corelib/global/qflags.h:77
#41 0x00007f74b51d2b13 in QCoreApplication::exec () at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/corelib/kernel/qcoreapplication.cpp:1452
#42 0x00007f74b5a295c0 in QGuiApplication::exec () at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/gui/kernel/qguiapplication.cpp:1973
#43 0x00007f74b75e2f39 in QApplication::exec () at /usr/src/debug/qtbase-everywhere-src-6.10.0/src/widgets/kernel/qapplication.cpp:2574
#44 0x000055ce7fe1d298 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-6.5.0/shell/main.cpp:188
Comment 3 TraceyC 2025-10-27 18:58:44 UTC
The backtrace looks to be entirely in Qt
Comment 4 Nicolas Fella 2025-10-27 19:48:20 UTC
(In reply to TraceyC from comment #3)
> The backtrace looks to be entirely in Qt

It's not, the relevant line is 

#13 0x00007f74851e5e48 in operator() (__closure=<optimized out>) at /usr/src/debug/libkscreen-6.5.0/backends/kwayland/waylandoutputdevice.cpp:73
Comment 5 Nicolas Fella 2025-10-27 19:48:29 UTC

*** This bug has been marked as a duplicate of bug 510323 ***
Comment 6 Nate Graham 2025-10-27 20:01:56 UTC

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