Bug 2345515

Summary: kwin_waylands dumps core after plugging in second screen
Product: [Fedora] Fedora Reporter: Igmar Palsenberg <igmar>
Component: kwinAssignee: Rex Dieter <rdieter>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 41CC: jgrulich, kde-sig, rdieter, suraj.ghimire7, than
Target Milestone: ---Keywords: Desktop
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-13 11:34:51 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:

Description Igmar Palsenberg 2025-02-13 10:54:20 UTC
After plugging in the second screen over USB-C on my Dell XPS 13 (XPS 13 9370), kwin_wayland SIGSEGV's.

systemd-coredump[9316]: Process 1905 (kwin_wayland) of user 1000 terminated abnormally with signal 11/SEGV, processing...
<snip info on modules>
#0  0x00007f4a38280114 __pthread_kill_implementation (libc.so.6 + 0x73114)
#1  0x00007f4a38226f9e raise (libc.so.6 + 0x19f9e)
#2  0x00007f4a3bd8c1a2 _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x41a2)
#3  0x00007f4a38227050 __restore_rt (libc.so.6 + 0x1a050)
#4  0x00007f4a3b46d784 _ZNK4KWin10OutputMode11refreshRateEv (libkwin.so.6 + 0x6d784)
#5  0x00007f4a3b57da55 _ZNK4KWin24OutputConfigurationStore10chooseModeEPNS_6OutputE (libkwin.so.6 + 0x17da55)
#6  0x00007f4a3b57a54e _ZNK4KWin24OutputConfigurationStore13setupToConfigEPNS0_5SetupERKSt13unordered_mapIPNS_6OutputEmSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_mEEE (libkwin.so.6 +
 0x17a54e)
#7  0x00007f4a3b57b2d8 _ZN4KWin24OutputConfigurationStore11queryConfigERK5QListIPNS_6OutputEEbP19QOrientationReadingb (libkwin.so.6 + 0x17b2d8)
#8  0x00007f4a3b66d879 _ZN4KWin9Workspace25updateOutputConfigurationEv (libkwin.so.6 + 0x26d879)
#9  0x00007f4a3b66e332 _ZN4KWin9Workspace31slotOutputBackendOutputsQueriedEv (libkwin.so.6 + 0x26e332)
#10 0x00007f4a3895a26e _Z10doActivateILb0EEvP7QObjectiPPv (libQt6Core.so.6 + 0x15a26e)
#11 0x00007f4a3b6e6057 _ZN4KWin10DrmBackend13updateOutputsEv (libkwin.so.6 + 0x2e6057)
#12 0x00007f4a3894b9a2 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x14b9a2)
#13 0x00007f4a39c3d9b8 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0x3d9b8)
#14 0x00007f4a388f3590 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0xf3590)
#15 0x00007f4a388f6f51 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt6Core.so.6 + 0xf6f51)
#16 0x00007f4a38ab8b8f _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x2b8b8f)
#17 0x00007f4a396ca7b2 _ZN23QUnixEventDispatcherQPA13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Gui.so.6 + 0x6ca7b2)
#18 0x00007f4a38900993 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x100993)
#19 0x00007f4a388fbf6e _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0xfbf6e)
#20 0x000055753e5b9793 main (kwin_wayland + 0xf793)
#21 0x00007f4a38210248 __libc_start_call_main (libc.so.6 + 0x3248)
#22 0x00007f4a3821030b __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x330b)
#23 0x000055753e5bf9c5 _start (kwin_wayland + 0x159c5)

Reproducible: Always

Steps to Reproduce:
1. Plug in USB-C screen (LG)
2.
3.
Actual Results:  
SIGSEGV

Expected Results:  
Working second screen

Graphics processor : MESA Intel UHD Graphics 620

Comment 1 Igmar Palsenberg 2025-02-13 11:13:01 UTC
The bug reporting tool finally managed to proces it, see bugzilla id #2345518

Comment 2 Igmar Palsenberg 2025-02-13 11:34:51 UTC

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