Bug 2345518

Summary: [abrt] kwin-wayland: KCrash::defaultCrashHandler(): kwin_wayland killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Igmar Palsenberg <igmar>
Component: kwinAssignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 41CC: igmar, jgrulich, kde-sig, rdieter, suraj.ghimire7, than
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/0cc72ebbe7110008244b6e3e56a60e169df5881
Whiteboard: abrt_hash:eca20590742423e6a70b37981fe6b9f1721f517b;VARIANT_ID=kde;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-21 08:34:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: proc_pid_status
none
File: maps
none
File: limits
none
File: environ
none
File: open_fds
none
File: mountinfo
none
File: os_info
none
File: cpuinfo
none
File: core_backtrace
none
File: dso_list
none
File: var_log_messages
none
File: backtrace none

Description Igmar Palsenberg 2025-02-13 11:10:12 UTC
Description of problem:
Plugged in the external display over USB-C

Version-Release number of selected component:
kwin-wayland-6.3.0-1.fc41

Additional info:
reporter:       libreport-2.17.15
type:           CCpp
reason:         kwin_wayland killed by SIGSEGV
journald_cursor: s=8735c004deba4031829a1e0bc7eab936;i=b09e;b=cd5b7a64c2594fcf9f74cdeadb32525f;m=2acb8298;t=62e02e1cd7eaf;x=17935ebcedc73596
executable:     /usr/bin/kwin_wayland
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_yrvaJT --xwayland
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/plasma-kwin_wayland.service
rootdir:        /
uid:            1000
kernel:         6.12.11-200.fc41.x86_64
package:        kwin-wayland-6.3.0-1.fc41
runlevel:       N 5
comment:        Plugged in the external display over USB-C
backtrace_rating: 4
crash_function: KCrash::defaultCrashHandler

Truncated backtrace:
Thread no. 1 (21 frames)
 #3 KCrash::defaultCrashHandler at /usr/src/debug/kf6-kcrash-6.10.0-1.fc41.x86_64/src/kcrash.cpp:596
 #5 KWin::OutputMode::refreshRate at /usr/src/debug/kwin-6.3.0-1.fc41.x86_64/src/core/output.cpp:59
 #6 KWin::OutputConfigurationStore::chooseMode at /usr/src/debug/kwin-6.3.0-1.fc41.x86_64/src/outputconfigurationstore.cpp:590
 #7 KWin::OutputConfigurationStore::setupToConfig at /usr/src/debug/kwin-6.3.0-1.fc41.x86_64/src/outputconfigurationstore.cpp:367
 #8 KWin::OutputConfigurationStore::queryConfig at /usr/src/debug/kwin-6.3.0-1.fc41.x86_64/src/outputconfigurationstore.cpp:51
 #9 KWin::Workspace::updateOutputConfiguration at /usr/src/debug/kwin-6.3.0-1.fc41.x86_64/src/workspace.cpp:550
 #10 KWin::Workspace::slotOutputBackendOutputsQueried at /usr/src/debug/kwin-6.3.0-1.fc41.x86_64/src/workspace.cpp:1228
 #11 QtPrivate::QSlotObjectBase::call at /usr/src/debug/qt6-qtbase-6.8.2-2.fc41.x86_64/src/corelib/kernel/qobjectdefs_impl.h:486
 #12 doActivate<false> at /usr/src/debug/qt6-qtbase-6.8.2-2.fc41.x86_64/src/corelib/kernel/qobject.cpp:4115
 #13 KWin::DrmBackend::updateOutputs at /usr/src/debug/kwin-6.3.0-1.fc41.x86_64/src/backends/drm/drm_backend.cpp:283
 #14 QObject::event at /usr/src/debug/qt6-qtbase-6.8.2-2.fc41.x86_64/src/corelib/kernel/qobject.cpp:1418
 #15 QApplicationPrivate::notify_helper at /usr/src/debug/qt6-qtbase-6.8.2-2.fc41.x86_64/src/widgets/kernel/qapplication.cpp:3296
 #16 QCoreApplication::notifyInternal2 at /usr/src/debug/qt6-qtbase-6.8.2-2.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1172
 #17 QCoreApplication::sendEvent at /usr/src/debug/qt6-qtbase-6.8.2-2.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1612
 #18 QCoreApplicationPrivate::sendPostedEvents at /usr/src/debug/qt6-qtbase-6.8.2-2.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1946
 #19 QEventDispatcherUNIX::processEvents at /usr/src/debug/qt6-qtbase-6.8.2-2.fc41.x86_64/src/corelib/kernel/qeventdispatcher_unix.cpp:418
 #20 QUnixEventDispatcherQPA::processEvents at /usr/src/debug/qt6-qtbase-6.8.2-2.fc41.x86_64/src/gui/platform/unix/qunixeventdispatcher.cpp:27
 #21 QEventLoop::exec at /usr/src/debug/qt6-qtbase-6.8.2-2.fc41.x86_64/src/corelib/global/qflags.h:34
 #22 QCoreApplication::exec at /usr/src/debug/qt6-qtbase-6.8.2-2.fc41.x86_64/src/corelib/global/qflags.h:74
 #23 QGuiApplication::exec at /usr/src/debug/qt6-qtbase-6.8.2-2.fc41.x86_64/src/gui/kernel/qguiapplication.cpp:1975
 #24 QApplication::exec at /usr/src/debug/qt6-qtbase-6.8.2-2.fc41.x86_64/src/widgets/kernel/qapplication.cpp:2564

Comment 1 Igmar Palsenberg 2025-02-13 11:10:16 UTC
Created attachment 2076299 [details]
File: proc_pid_status

Comment 2 Igmar Palsenberg 2025-02-13 11:10:17 UTC
Created attachment 2076300 [details]
File: maps

Comment 3 Igmar Palsenberg 2025-02-13 11:10:19 UTC
Created attachment 2076301 [details]
File: limits

Comment 4 Igmar Palsenberg 2025-02-13 11:10:20 UTC
Created attachment 2076302 [details]
File: environ

Comment 5 Igmar Palsenberg 2025-02-13 11:10:22 UTC
Created attachment 2076303 [details]
File: open_fds

Comment 6 Igmar Palsenberg 2025-02-13 11:10:23 UTC
Created attachment 2076304 [details]
File: mountinfo

Comment 7 Igmar Palsenberg 2025-02-13 11:10:25 UTC
Created attachment 2076305 [details]
File: os_info

Comment 8 Igmar Palsenberg 2025-02-13 11:10:26 UTC
Created attachment 2076306 [details]
File: cpuinfo

Comment 9 Igmar Palsenberg 2025-02-13 11:10:27 UTC
Created attachment 2076307 [details]
File: core_backtrace

Comment 10 Igmar Palsenberg 2025-02-13 11:10:29 UTC
Created attachment 2076308 [details]
File: dso_list

Comment 11 Igmar Palsenberg 2025-02-13 11:10:30 UTC
Created attachment 2076309 [details]
File: var_log_messages

Comment 12 Igmar Palsenberg 2025-02-13 11:10:31 UTC
Created attachment 2076310 [details]
File: backtrace

Comment 13 Igmar Palsenberg 2025-02-13 11:34:51 UTC
*** Bug 2345515 has been marked as a duplicate of this bug. ***

Comment 14 Jasmin 2025-02-13 22:33:27 UTC
I used my ThinkPad for a while, being connected to the Thunderbolt dock.

I unplugged the dock and replugged it back in, which resulted in crash of kwin_wayland and plasmashell.
The latter has too huge stacktraces, therefore only the former is reported.

See also: https://bugs.kde.org/show_bug.cgi?id=500033


reporter:       libreport-2.17.15
type:           CCpp
reason:         kwin_wayland killed by SIGSEGV
journald_cursor: s=1f0ec2969e574be9ba72b5842a038499;i=9a309;b=1dccd56bb5754b63badf703b3e49f460;m=14bd08ff9;t=62e0c7fa4b809;x=954f0503c5440b71
executable:     /usr/bin/kwin_wayland
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_qOBqUk --xwayland
rootdir:        /
uid:            1000
kernel:         6.12.11-200.fc41.x86_64
package:        kwin-wayland-6.3.0-1.fc41
runlevel:       N 5
backtrace_rating: 4
crash_function: KCrash::defaultCrashHandler

Comment 15 Igmar Palsenberg 2025-02-14 08:50:50 UTC
I can confirm its 6.3 related : On my T580, the external screen works, and after I ran the latest update to 6,3, kwin crashes on plugging in the external screen.
Its not the same crash, so it will be a different report.

Comment 16 Igmar Palsenberg 2025-02-17 17:29:17 UTC
Tried it with a different screen, same crash.

Comment 17 Igmar Palsenberg 2025-02-21 08:34:39 UTC
Upstream bug : https://bugs.kde.org/show_bug.cgi?id=500466

Fixed in kwin-wayland-6.3.1.1