Bug 457762 - Kwin crashes randomly when performing normal operations
Summary: Kwin crashes randomly when performing normal operations
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.24.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-11 14:00 UTC by Vignesh Kumar
Modified: 2023-01-23 14:58 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vignesh Kumar 2022-08-11 14:00:03 UTC
SUMMARY
Kwin randomly crashes when performing normal tasks. It does not depend on other windows open or any other condition. Not able to pinpoint what it is causing it.


STEPS TO REPRODUCE
1. Use KDE Plasma machine normally.

OBSERVED RESULT
Observe crashes from Kwin around every hour or so.

EXPECTED RESULT
Kwin should not crash.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-46-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

ADDITIONAL INFORMATION
COREDUMP
PID: 2953 (kwin_x11)
           UID: 1000 (vkk)
           GID: 1000 (vkk)
        Signal: 6 (ABRT)
     Timestamp: Thu 2022-08-11 19:11:07 IST (17min ago)
  Command Line: /usr/bin/kwin_x11
    Executable: /usr/bin/kwin_x11
 Control Group: /user.slice/user-1000.slice/session-2.scope
          Unit: session-2.scope
         Slice: user-1000.slice
       Session: 2
     Owner UID: 1000 (vkk)
       Boot ID: d944d8c0b7f64505906b94f8116b3b75
    Machine ID: 39589e4b71ee4c4c8135ceee04a13c06
      Hostname: vkk-zen-ubuntu
       Storage: /var/lib/systemd/coredump/core.kwin_x11.1000.d944d8c0b7f64505906b94f8116b3b75.2953.1660225267000000.zst (present)
     Disk Size: 6.9M
       Message: Process 2953 (kwin_x11) of user 1000 dumped core.
Stack trace of thread 2953:
                #0  0x00007f153f571a7c __pthread_kill_implementation (libc.so.6 + 0x96a7c)
                #1  0x00007f153f51d476 __GI_raise (libc.so.6 + 0x42476)
                #2  0x00007f1541f7457c _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x857c)
                #3  0x00007f153f51d520 __restore_rt (libc.so.6 + 0x42520)
                #4  0x00007f153f571a7c __pthread_kill_implementation (libc.so.6 + 0x96a7c)
                #5  0x00007f153f51d476 __GI_raise (libc.so.6 + 0x42476)
                #6  0x00007f153f5037f3 __GI_abort (libc.so.6 + 0x287f3)
                #7  0x00007f1532710144 n/a (iris_dri.so + 0xa3144)
                #8  0x00007f153337938f n/a (iris_dri.so + 0xd0c38f)
                #9  0x00007f1532976782 n/a (iris_dri.so + 0x309782)
                #10 0x00007f1542179264 n/a (libkwin.so.5 + 0x200264)
                #11 0x00007f1540695783 n/a (libQt5Core.so.5 + 0x2f1783)
                #12 0x00007f1542150b78 _ZN4KWin5Scene11paintScreenERK7QRegionS3_PS1_S4_PNS_10RenderLoopERK10QMatrix4x4 (libkwin.so.5 + 0x1d7b78)
                #13 0x00007f1542213170 _ZN4KWin11SceneOpenGL5paintEPNS_14AbstractOutputERK7QRegionRK5QListIPNS_8ToplevelEEPNS_10RenderLoopE (libkwin.so.5 + 0x29a170)
                #14 0x00007f15420b3071 _ZN4KWin10Compositor9compositeEPNS_10RenderLoopE (libkwin.so.5 + 0x13a071)
                #15 0x00007f15420bca06 _ZN4KWin13X11Compositor9compositeEPNS_10RenderLoopE (libkwin.so.5 + 0x143a06)
                #16 0x00007f1540695783 n/a (libQt5Core.so.5 + 0x2f1783)
                #17 0x00007f1542072b16 _ZN4KWin10RenderLoop14frameRequestedEPS0_ (libkwin.so.5 + 0xf9b16)
                #18 0x00007f154213f177 _ZN4KWin17RenderLoopPrivate8dispatchEv (libkwin.so.5 + 0x1c6177)
                #19 0x00007f1540695783 n/a (libQt5Core.so.5 + 0x2f1783)
                #20 0x00007f15406997ee _ZN6QTimer7timeoutENS_14QPrivateSignalE (libQt5Core.so.5 + 0x2f57ee)
                #21 0x00007f154068b32f _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2e732f)
                #22 0x00007f153fc36713 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x16c713)
                #23 0x00007f154065de2a _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b9e2a)
                #24 0x00007f15406b63db _ZN14QTimerInfoList14activateTimersEv (libQt5Core.so.5 + 0x3123db)
                #25 0x00007f15406b4897 _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x310897)
                #26 0x00007f153a438142 n/a (libQt5XcbQpa.so.5 + 0x74142)
                #27 0x00007f154065c74b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b874b)
                #28 0x00007f1540664ce4 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2c0ce4)
                #29 0x00005633bbbf2bad n/a (kwin_x11 + 0x36bad)
                #30 0x00007f153f504d90 __libc_start_call_main (libc.so.6 + 0x29d90)
                #31 0x00007f153f504e40 __libc_start_main_impl (libc.so.6 + 0x29e40)
                #32 0x00005633bbbf3eb5 n/a (kwin_x11 + 0x37eb5)
Comment 1 David Edmundson 2023-01-23 14:58:20 UTC
Crash is in the Intel driver. Please try upgrading or downgrading your mesa version and report there if needed.