Description of problem: This crash happens every time I allow my system to lock after remaining inactive. It occurs after the screens go to sleep, which causes one of the attached displays (that likely has a hardware issue) to completely disable connection to the system. This, in turn, is detected by the system as though the display was disconnected and reconnected. Could something like this this be causing a race condition within kwin? Version-Release number of selected component: kwin-wayland-5.27.6-1.fc38 Additional info: reporter: libreport-2.17.11 type: CCpp reason: kwin_wayland killed by SIGSEGV journald_cursor: s=b19570e628384ff1b43a6a93e8de68ae;i=1f8134;b=02910b9999094217a5f90897768a2ae4;m=91824769f;t=5ff79393e3552;x=92bd49dc79f19dcc executable: /usr/bin/kwin_wayland cgroup: 0::/user.slice/user-1000.slice/user/session.slice/plasma-kwin_wayland.service rootdir: / uid: 1000 kernel: 6.3.8-200.fc38.x86_64 package: kwin-wayland-5.27.6-1.fc38 runlevel: N 5 backtrace_rating: 4 crash_function: KWin::DrmGammaRamp::DrmGammaRamp(KWin::DrmCrtc*, std::shared_ptr<KWin::ColorTransformation> const&) comment: This crash happens every time I allow my system to lock after remaining inactive. It occurs after the screens go to sleep, which causes one of the attached displays (that likely has a hardware issue) to completely disable connection to the system. This, in turn, is detected by the system as though the display was disconnected and reconnected. Could something like this this be causing a race condition within kwin? cmdline: /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_LAYTre --xwayland Truncated backtrace: Thread no. 1 (42 frames) #0 KWin::DrmGammaRamp::DrmGammaRamp(KWin::DrmCrtc*, std::shared_ptr<KWin::ColorTransformation> const&) at /usr/src/debug/kwin-5.27.6-1.fc38.x86_64/src/backends/drm/drm_pipeline.cpp:594 #1 std::_Construct<KWin::DrmGammaRamp, KWin::DrmCrtc*&, std::shared_ptr<KWin::ColorTransformation> const&>(KWin::DrmGammaRamp*, KWin::DrmCrtc*&, std::shared_ptr<KWin::ColorTransformation> const&) at /usr/include/c++/13/bits/stl_construct.h:109 #2 std::allocator_traits<std::allocator<void> >::construct<KWin::DrmGammaRamp, KWin::DrmCrtc*&, std::shared_ptr<KWin::ColorTransformation> const&>(std::allocator<void>&, KWin::DrmGammaRamp*, KWin::DrmCrtc*&, std::shared_ptr<KWin::ColorTransformation> const&) at /usr/include/c++/13/bits/alloc_traits.h:660 #3 std::_Sp_counted_ptr_inplace<KWin::DrmGammaRamp, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<KWin::DrmCrtc*&, std::shared_ptr<KWin::ColorTransformation> const&>(std::allocator<void>, KWin::DrmCrtc*&, std::shared_ptr<KWin::ColorTransformation> const&) at /usr/include/c++/13/bits/shared_ptr_base.h:604 #4 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<KWin::DrmGammaRamp, std::allocator<void>, KWin::DrmCrtc*&, std::shared_ptr<KWin::ColorTransformation> const&>(KWin::DrmGammaRamp*&, std::_Sp_alloc_shared_tag<std::allocator<void> >, KWin::DrmCrtc*&, std::shared_ptr<KWin::ColorTransformation> const&) at /usr/include/c++/13/bits/shared_ptr_base.h:971 #5 std::__shared_ptr<KWin::DrmGammaRamp, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<void>, KWin::DrmCrtc*&, std::shared_ptr<KWin::ColorTransformation> const&>(std::_Sp_alloc_shared_tag<std::allocator<void> >, KWin::DrmCrtc*&, std::shared_ptr<KWin::ColorTransformation> const&) at /usr/include/c++/13/bits/shared_ptr_base.h:1712 #6 std::shared_ptr<KWin::DrmGammaRamp>::shared_ptr<std::allocator<void>, KWin::DrmCrtc*&, std::shared_ptr<KWin::ColorTransformation> const&>(std::_Sp_alloc_shared_tag<std::allocator<void> >, KWin::DrmCrtc*&, std::shared_ptr<KWin::ColorTransformation> const&) at /usr/include/c++/13/bits/shared_ptr.h:464 #7 std::make_shared<KWin::DrmGammaRamp, KWin::DrmCrtc*&, std::shared_ptr<KWin::ColorTransformation> const&>(KWin::DrmCrtc*&, std::shared_ptr<KWin::ColorTransformation> const&) at /usr/include/c++/13/bits/shared_ptr.h:1010 #8 KWin::DrmPipeline::setGammaRamp(std::shared_ptr<KWin::ColorTransformation> const&) at /usr/src/debug/kwin-5.27.6-1.fc38.x86_64/src/backends/drm/drm_pipeline.cpp:782 #9 KWin::DrmOutput::setGammaRamp(std::shared_ptr<KWin::ColorTransformation> const&) at /usr/src/debug/kwin-5.27.6-1.fc38.x86_64/src/backends/drm/drm_output.cpp:472 #10 KWin::ColorDevice::update() at /usr/src/debug/kwin-5.27.6-1.fc38.x86_64/src/colors/colordevice.cpp:321 #11 QtPrivate::QSlotObjectBase::call(QObject*, void**) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #12 doActivate<false>(QObject*, int, void**) at kernel/qobject.cpp:3925 #13 KWin::Output::setState(KWin::Output::State const&) at /usr/src/debug/kwin-5.27.6-1.fc38.x86_64/src/core/output.cpp:292 #14 KWin::DrmOutput::updateDpmsMode(KWin::Output::DpmsMode) at /usr/src/debug/kwin-5.27.6-1.fc38.x86_64/src/backends/drm/drm_output.cpp:353 #15 KWin::DrmOutput::setDrmDpmsMode(KWin::Output::DpmsMode) at /usr/src/debug/kwin-5.27.6-1.fc38.x86_64/src/backends/drm/drm_output.cpp:276 #16 KWin::DrmOutput::setDpmsMode(KWin::Output::DpmsMode) at /usr/src/debug/kwin-5.27.6-1.fc38.x86_64/src/backends/drm/drm_output.cpp:255 #17 KWin::DrmBackend::turnOutputsOn() at /usr/src/debug/kwin-5.27.6-1.fc38.x86_64/src/backends/drm/drm_backend.cpp:114 #18 KWin::DrmOutput::applyQueuedChanges(KWin::OutputConfiguration const&) at /usr/src/debug/kwin-5.27.6-1.fc38.x86_64/src/backends/drm/drm_output.cpp:453 #20 KWin::DrmBackend::applyOutputChanges(KWin::OutputConfiguration const&) at /usr/src/debug/kwin-5.27.6-1.fc38.x86_64/src/backends/drm/drm_backend.cpp:496 #21 KWin::Workspace::updateOutputConfiguration() at /usr/src/debug/kwin-5.27.6-1.fc38.x86_64/src/workspace.cpp:557 #22 KWin::Workspace::slotOutputBackendOutputsQueried() at /usr/src/debug/kwin-5.27.6-1.fc38.x86_64/src/workspace.cpp:1325 #23 QtPrivate::QSlotObjectBase::call(QObject*, void**) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #24 doActivate<false>(QObject*, int, void**) at kernel/qobject.cpp:3925 #25 KWin::DrmBackend::updateOutputs() at /usr/src/debug/kwin-5.27.6-1.fc38.x86_64/src/backends/drm/drm_backend.cpp:329 #26 KWin::DrmBackend::handleUdevEvent() at /usr/src/debug/kwin-5.27.6-1.fc38.x86_64/src/backends/drm/drm_backend.cpp:265 #27 QtPrivate::QSlotObjectBase::call(QObject*, void**) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #28 doActivate<false>(QObject*, int, void**) at kernel/qobject.cpp:3925 #29 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) at kernel/qobject.cpp:3985 #30 QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) at .moc/moc_qsocketnotifier.cpp:178 #31 QSocketNotifier::event(QEvent*) at kernel/qsocketnotifier.cpp:302 #32 QApplicationPrivate::notify_helper(QObject*, QEvent*) at kernel/qapplication.cpp:3640 #33 QCoreApplication::notifyInternal2(QObject*, QEvent*) at kernel/qcoreapplication.cpp:1064 #34 QCoreApplication::sendEvent(QObject*, QEvent*) at kernel/qcoreapplication.cpp:1462 #35 QEventDispatcherUNIXPrivate::activateSocketNotifiers() at kernel/qeventdispatcher_unix.cpp:304 #36 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) at kernel/qeventdispatcher_unix.cpp:511 #37 QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) #38 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #39 QCoreApplication::exec() at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #40 QGuiApplication::exec() at kernel/qguiapplication.cpp:1863 #41 QApplication::exec() at kernel/qapplication.cpp:2832 #42 main(int, char**) at /usr/src/debug/kwin-5.27.6-1.fc38.x86_64/src/main_wayland.cpp:628
Created attachment 1975229 [details] File: proc_pid_status
Created attachment 1975230 [details] File: maps
Created attachment 1975231 [details] File: limits
Created attachment 1975232 [details] File: os_info
Created attachment 1975233 [details] File: cpuinfo
Created attachment 1975234 [details] File: core_backtrace
Created attachment 1975235 [details] File: exploitable
Created attachment 1975236 [details] File: dso_list
Created attachment 1975237 [details] File: var_log_messages
Created attachment 1975238 [details] File: backtrace
Created attachment 1975239 [details] File: mountinfo
Created attachment 1975240 [details] File: open_fds
Created attachment 1975241 [details] File: environ
This looks like a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=2189261