Bug 485327

Summary: kwin/x11 segmentation fault after changing the window style
Product: [Plasma] kwin Reporter: Viktor <11_70>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: 5.27.5   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Viktor 2024-04-10 14:08:33 UTC
Application: kwin_x11 (5.27.5)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.0-18-amd64 x86_64
Windowing System: X11
Distribution: Debian GNU/Linux 12 (bookworm)
DrKonqi: 5.27.5 [CoredumpBackend]

-- Information about the crash:
After changing the general style of windows through the System Settings. And this has always been the case for the past year.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault

           PID: 82729 (kwin_x11)
           UID: 1000 (viktor)
           GID: 1000 (viktor)
        Signal: 11 (SEGV)
     Timestamp: Wed 2024-04-10 17:01:11 MSK (30s ago)
  Command Line: /usr/bin/kwin_x11 --replace
    Executable: /usr/bin/kwin_x11
 Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-kwin_x11.service
          Unit: user@1000.service
     User Unit: plasma-kwin_x11.service
         Slice: user-1000.slice
     Owner UID: 1000 (viktor)
       Boot ID: 049a8c24d3744c5e85a3bbf59c2dfe3d
    Machine ID: e2c2b0ed54814a63a0476393767ac9a8
      Hostname: pc-debian
       Storage: /var/lib/systemd/coredump/core.kwin_x11.1000.049a8c24d3744c5e85a3bbf59c2dfe3d.82729.1712757671000000.zst (present)
  Size on Disk: 6.8M
       Message: Process 82729 (kwin_x11) of user 1000 dumped core.
                
                Module libsystemd.so.0 from deb systemd-252.22-1~deb12u1.amd64
                Module libudev.so.1 from deb systemd-252.22-1~deb12u1.amd64
                Stack trace of thread 82729:
                #0  0x00007f7865eaed14 pthread_sigmask (libc.so.6 + 0x8fd14)
                #1  0x00007f7865e5b239 sigprocmask (libc.so.6 + 0x3c239)
                #2  0x00007f786924de9b _ZN6KCrash15setCrashHandlerEPFviE (libKF5Crash.so.5 + 0x4e9b)
                #3  0x00007f786924eb3e _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x5b3e)
                #4  0x00007f7865e5b050 n/a (libc.so.6 + 0x3c050)
                #5  0x00007f7868d32370 _ZN4KWin6Window17finishCompositingENS_13ReleaseReasonE (libkwin.so.5 + 0x332370)
                #6  0x00007f7868d7db49 _ZN4KWin9X11Window17finishCompositingENS_13ReleaseReasonE (libkwin.so.5 + 0x37db49)
                #7  0x00007f7868bda762 _ZN4KWin10Compositor4stopEv (libkwin.so.5 + 0x1da762)
                #8  0x00007f7868bd815f _ZN4KWin10Compositor12reinitializeEv (libkwin.so.5 + 0x1d815f)
                #9  0x00007f7866ee8f4f n/a (libQt5Core.so.5 + 0x2e8f4f)
                #10 0x00007f7868d53b4e _ZN4KWin9Workspace15slotReconfigureEv (libkwin.so.5 + 0x353b4e)
                #11 0x00007f7866ee8f4f n/a (libQt5Core.so.5 + 0x2e8f4f)
                #12 0x00007f7866eecd6a _ZN6QTimer7timeoutENS_14QPrivateSignalE (libQt5Core.so.5 + 0x2ecd6a)
                #13 0x00007f7866edd50d _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2dd50d)
                #14 0x00007f7866562fae _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x162fae)
                #15 0x00007f7866eb16f8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b16f8)
                #16 0x00007f7866f08c31 _ZN14QTimerInfoList14activateTimersEv (libQt5Core.so.5 + 0x308c31)
                #17 0x00007f7866f094fc n/a (libQt5Core.so.5 + 0x3094fc)
                #18 0x00007f7864c627a9 g_main_context_dispatch (libglib-2.0.so.0 + 0x547a9)
                #19 0x00007f7864c62a38 n/a (libglib-2.0.so.0 + 0x54a38)
                #20 0x00007f7864c62acc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
                #21 0x00007f7866f09836 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x309836)
                #22 0x00007f7866eb017b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b017b)
                #23 0x00007f7866eb82d6 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2b82d6)
                #24 0x000056219958e2d1 n/a (kwin_x11 + 0x432d1)
                #25 0x00007f7865e4624a n/a (libc.so.6 + 0x2724a)
                #26 0x00007f7865e46305 __libc_start_main (libc.so.6 + 0x27305)
                #27 0x000056219958f7b1 n/a (kwin_x11 + 0x447b1)
                
                Stack trace of thread 82737:
                #0  0x00007f7865f1b15f __poll (libc.so.6 + 0xfc15f)
                #1  0x00007f7864c629ae n/a (libglib-2.0.so.0 + 0x549ae)
                #2  0x00007f7864c62acc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
                #3  0x00007f7866f0984e _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x30984e)
                #4  0x00007f7866eb017b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b017b)
                #5  0x00007f7866ccab87 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcab87)
                #6  0x00007f7867186487 n/a (libQt5DBus.so.5 + 0x17487)
                #7  0x00007f7866ccbd43 n/a (libQt5Core.so.5 + 0xcbd43)
                #8  0x00007f7865ea8134 n/a (libc.so.6 + 0x89134)
                #9  0x00007f7865f287dc n/a (libc.so.6 + 0x1097dc)
                
                Stack trace of thread 82796:
                #0  0x00007f7865f1b15f __poll (libc.so.6 + 0xfc15f)
                #1  0x00007f785a214117 n/a (libnvidia-glcore.so.550.54.15 + 0xa14117)
                #2  0x00007f785a1f5924 n/a (libnvidia-glcore.so.550.54.15 + 0x9f5924)
                #3  0x00007f7865ea8134 n/a (libc.so.6 + 0x89134)
                #4  0x00007f7865f287dc n/a (libc.so.6 + 0x1097dc)
                
                Stack trace of thread 82758:
                #0  0x00007f7865f1b15f __poll (libc.so.6 + 0xfc15f)
                #1  0x00007f7864c629ae n/a (libglib-2.0.so.0 + 0x549ae)
                #2  0x00007f7864c62acc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
                #3  0x00007f7866f09836 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x309836)
                #4  0x00007f7866eb017b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b017b)
                #5  0x00007f7866ccab87 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcab87)
                #6  0x00007f7868128555 n/a (libQt5Qml.so.5 + 0x328555)
                #7  0x00007f7866ccbd43 n/a (libQt5Core.so.5 + 0xcbd43)
                #8  0x00007f7865ea8134 n/a (libc.so.6 + 0x89134)
                #9  0x00007f7865f287dc n/a (libc.so.6 + 0x1097dc)
                
                Stack trace of thread 82781:
                #0  0x00007f7865f1b15f __poll (libc.so.6 + 0xfc15f)
                #1  0x00007f7864c629ae n/a (libglib-2.0.so.0 + 0x549ae)
                #2  0x00007f7864c62acc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
                #3  0x00007f7866f09836 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x309836)
                #4  0x00007f7866eb017b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b017b)
                #5  0x00007f7866ccab87 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcab87)
                #6  0x00007f7866ccbd43 n/a (libQt5Core.so.5 + 0xcbd43)
                #7  0x00007f7865ea8134 n/a (libc.so.6 + 0x89134)
                #8  0x00007f7865f287dc n/a (libc.so.6 + 0x1097dc)
                
                Stack trace of thread 82774:
                #0  0x00007f7865f1b15f __poll (libc.so.6 + 0xfc15f)
                #1  0x00007f7864c629ae n/a (libglib-2.0.so.0 + 0x549ae)
                #2  0x00007f7864c62acc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
                #3  0x00007f7866f09836 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x309836)
                #4  0x00007f7866eb017b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b017b)
                #5  0x00007f7866ccab87 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcab87)
                #6  0x00007f7868128555 n/a (libQt5Qml.so.5 + 0x328555)
                #7  0x00007f7866ccbd43 n/a (libQt5Core.so.5 + 0xcbd43)
                #8  0x00007f7865ea8134 n/a (libc.so.6 + 0x89134)
                #9  0x00007f7865f287dc n/a (libc.so.6 + 0x1097dc)
                ELF object binary architecture: AMD x86-64

[New LWP 82729]
[New LWP 82737]
[New LWP 82796]
[New LWP 82758]
[New LWP 82781]
[New LWP 82774]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/kwin_x11 --replace'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f7865eaed14 in pthread_sigmask () from /lib/x86_64-linux-gnu/libc.so.6
[Current thread is 1 (Thread 0x7f7861b9b9c0 (LWP 82729))]
[Current thread is 1 (Thread 0x7f7861b9b9c0 (LWP 82729))]

Thread 6 (Thread 0x7f784274c6c0 (LWP 82774)):
#0  0x00007f7865f1b15f in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f7864c629ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7864c62acc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7866f09836 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f7866eb017b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7866ccab87 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7868128555 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f7866ccbd43 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f7865ea8134 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#9  0x00007f7865f287dc in ?? () from /lib/x86_64-linux-gnu/libc.so.6

Thread 5 (Thread 0x7f78409e86c0 (LWP 82781)):
#0  0x00007f7865f1b15f in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f7864c629ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7864c62acc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7866f09836 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f7866eb017b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7866ccab87 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7866ccbd43 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f7865ea8134 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x00007f7865f287dc in ?? () from /lib/x86_64-linux-gnu/libc.so.6

Thread 4 (Thread 0x7f784bfff6c0 (LWP 82758)):
#0  0x00007f7865f1b15f in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f7864c629ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7864c62acc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7866f09836 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f7866eb017b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7866ccab87 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7868128555 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f7866ccbd43 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f7865ea8134 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#9  0x00007f7865f287dc in ?? () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7f78212f76c0 (LWP 82796)):
#0  0x00007f7865f1b15f in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f785a214117 in ?? () from /lib/x86_64-linux-gnu/libnvidia-glcore.so.550.54.15
#2  0x00007f785a1f5924 in ?? () from /lib/x86_64-linux-gnu/libnvidia-glcore.so.550.54.15
#3  0x00007f7865ea8134 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#4  0x00007f7865f287dc in ?? () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7f785bfff6c0 (LWP 82737)):
#0  0x00007f7865f1b15f in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f7864c629ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7864c62acc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7866f0984e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f7866eb017b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7866ccab87 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7867186487 in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f7866ccbd43 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f7865ea8134 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#9  0x00007f7865f287dc in ?? () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f7861b9b9c0 (LWP 82729)):
[KCrash Handler]
#5  0x00007f7868d32370 in KWin::Window::finishCompositing(KWin::ReleaseReason) () from /lib/x86_64-linux-gnu/libkwin.so.5
#6  0x00007f7868d7db49 in KWin::X11Window::finishCompositing(KWin::ReleaseReason) () from /lib/x86_64-linux-gnu/libkwin.so.5
#7  0x00007f7868bda762 in KWin::Compositor::stop() () from /lib/x86_64-linux-gnu/libkwin.so.5
#8  0x00007f7868bd815f in KWin::Compositor::reinitialize() () from /lib/x86_64-linux-gnu/libkwin.so.5
#9  0x00007f7866ee8f4f in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f7868d53b4e in KWin::Workspace::slotReconfigure() () from /lib/x86_64-linux-gnu/libkwin.so.5
#11 0x00007f7866ee8f4f in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f7866eecd6a in QTimer::timeout(QTimer::QPrivateSignal) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f7866edd50d in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f7866562fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f7866eb16f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f7866f08c31 in QTimerInfoList::activateTimers() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f7866f094fc in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f7864c627a9 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f7864c62a38 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f7864c62acc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f7866f09836 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f7866eb017b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f7866eb82d6 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x000056219958e2d1 in ?? ()
#25 0x00007f7865e4624a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#26 0x00007f7865e46305 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#27 0x000056219958f7b1 in ?? ()

Reported using DrKonqi
Comment 1 Nate Graham 2024-04-10 15:57:13 UTC

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