Closed jjgalvez closed 9 months ago
Sorry, but I can't reproduce this.
Maybe a clean building using cmake .. --install-prefix /usr -DCMAKE_BUILD_TYPE=debug
would provide you with a more detailed segfault stack trace.
I'll give that a try and report a more complete trace
compiled with -DCMAKE_BUILD_TYPE=debug, here is the full tracestack from journalctl -S today -g kwin
Feb 11 08:53:18 CarbonPuker kernel: kwin_wayland[108070]: segfault at 0 ip 00007c54d8ec66cc sp 00007fff453f9020 error 4 in kwin4_effect_shapecorners.so[7c54d8ec2000+7000] likely on CPU 2 (core 2, socket 0)
Feb 11 08:53:19 CarbonPuker systemd-coredump[109169]: Process 108070 (kwin_wayland) of user 1000 dumped core.
Stack trace of thread 108070:
#0 0x00007c54d8ec66cc _ZN18ShapeCornersEffect13windowRemovedEPN4KWin12EffectWindowE (kwin4_effect_shapecorners.so + 0x96cc)
#1 0x00007c54fb8d0e27 n/a (libQt5Core.so.5 + 0x2d0e27)
#2 0x00007c54fd6dad97 _ZN4KWin14EffectsHandler13windowDeletedEPNS_12EffectWindowE (libkwineffects.so.14 + 0x25d97)
#3 0x00007c54fd20cb68 n/a (libkwin.so.5 + 0x20cb68)
#4 0x00007c54fb8d0e27 n/a (libQt5Core.so.5 + 0x2d0e27)
#5 0x00007c54fd19ee97 _ZN4KWin9Workspace14deletedRemovedEPNS_7DeletedE (libkwin.so.5 + 0x19ee97)
#6 0x00007c54fd30f2c4 _ZN4KWin9Workspace13removeDeletedEPNS_7DeletedE (libkwin.so.5 + 0x30f2c4)
#7 0x00007c54fd1f9e71 _ZN4KWin7DeletedD1Ev (libkwin.so.5 + 0x1f9e71)
#8 0x00007c54fd1fa03e _ZN4KWin7DeletedD0Ev (libkwin.so.5 + 0x1fa03e)
#9 0x00007c54fb8c378e _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2c378e)
#10 0x00007c54faf788ff _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x1788ff)
#11 0x00007c54fb89bef8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x29bef8)
#12 0x00007c54fb8a0e5b _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5 + 0x2a0e5b)
#13 0x00007c54fb8ea617 _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ea617)
#14 0x000059b3eb1dced2 n/a (kwin_wayland + 0x137ed2)
#15 0x00007c54fb89ac04 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29ac04)
#16 0x00007c54fb89c0a3 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x29c0a3)
#17 0x000059b3eb0f840b n/a (kwin_wayland + 0x5340b)
#18 0x00007c54fa843cd0 n/a (libc.so.6 + 0x25cd0)
#19 0x00007c54fa843d8a __libc_start_main (libc.so.6 + 0x25d8a)
#20 0x000059b3eb0fa015 n/a (kwin_wayland + 0x55015)
Stack trace of thread 108096:
#0 0x00007c54fa9190bf __poll (libc.so.6 + 0xfb0bf)
#1 0x00007c54f916c2f6 n/a (libglib-2.0.so.0 + 0xb82f6)
#2 0x00007c54f910c162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
#3 0x00007c54fb8ead0c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ead0c)
#4 0x00007c54fb89ac04 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29ac04)
#5 0x00007c54fb6f7576 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf7576)
#6 0x00007c54fd720a9a n/a (libQt5DBus.so.5 + 0x18a9a)
#7 0x00007c54fb6f379a n/a (libQt5Core.so.5 + 0xf379a)
#8 0x00007c54fa8a955a n/a (libc.so.6 + 0x8b55a)
#9 0x00007c54fa926a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 108113:
#0 0x00007c54fa9190bf __poll (libc.so.6 + 0xfb0bf)
#1 0x00007c54f916c2f6 n/a (libglib-2.0.so.0 + 0xb82f6)
#2 0x00007c54f910c162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
#3 0x00007c54fb8ead0c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ead0c)
#4 0x00007c54fb89ac04 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29ac04)
#5 0x00007c54fb6f7576 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf7576)
#6 0x00007c54fb6f379a n/a (libQt5Core.so.5 + 0xf379a)
#7 0x00007c54fa8a955a n/a (libc.so.6 + 0x8b55a)
#8 0x00007c54fa926a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 108122:
#0 0x00007c54fa8a5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007c54fa8a8750 pthread_cond_wait (libc.so.6 + 0x8a750)
#2 0x00007c54e2b13a1c n/a (iris_dri.so + 0x113a1c)
#3 0x00007c54e2b0ad5c n/a (iris_dri.so + 0x10ad5c)
#4 0x00007c54fa8a955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007c54fa926a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 108112:
#0 0x00007c54fa8a5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007c54fa8a8750 pthread_cond_wait (libc.so.6 + 0x8a750)
#2 0x00007c54e2b13a1c n/a (iris_dri.so + 0x113a1c)
#3 0x00007c54e2b0ad5c n/a (iris_dri.so + 0x10ad5c)
#4 0x00007c54fa8a955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007c54fa926a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 108125:
#0 0x00007c54fa8a5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007c54fa8a8a65 pthread_cond_timedwait (libc.so.6 + 0x8aa65)
#2 0x00007c54fb6fb4b4 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xfb4b4)
#3 0x00007c54fb6f85ea n/a (libQt5Core.so.5 + 0xf85ea)
#4 0x00007c54fb6f379a n/a (libQt5Core.so.5 + 0xf379a)
#5 0x00007c54fa8a955a n/a (libc.so.6 + 0x8b55a)
#6 0x00007c54fa926a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 108341:
#0 0x00007c54fa8a5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007c54fa8a8750 pthread_cond_wait (libc.so.6 + 0x8a750)
#2 0x00007c54e2b13a1c n/a (iris_dri.so + 0x113a1c)
#3 0x00007c54e2b0ad5c n/a (iris_dri.so + 0x10ad5c)
#4 0x00007c54fa8a955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007c54fa926a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 108121:
#0 0x00007c54fa8a5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007c54fa8a8750 pthread_cond_wait (libc.so.6 + 0x8a750)
#2 0x00007c54e2b13a1c n/a (iris_dri.so + 0x113a1c)
#3 0x00007c54e2b0ad5c n/a (iris_dri.so + 0x10ad5c)
#4 0x00007c54fa8a955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007c54fa926a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 108340:
#0 0x00007c54fa8a5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007c54fa8a8750 pthread_cond_wait (libc.so.6 + 0x8a750)
#2 0x00007c54e2b13a1c n/a (iris_dri.so + 0x113a1c)
#3 0x00007c54e2b0ad5c n/a (iris_dri.so + 0x10ad5c)
#4 0x00007c54fa8a955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007c54fa926a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 108111:
#0 0x00007c54fa8a5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007c54fa8a8750 pthread_cond_wait (libc.so.6 + 0x8a750)
#2 0x00007c54e2b13a1c n/a (iris_dri.so + 0x113a1c)
#3 0x00007c54e2b0ad5c n/a (iris_dri.so + 0x10ad5c)
#4 0x00007c54fa8a955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007c54fa926a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 108126:
#0 0x00007c54fa9190bf __poll (libc.so.6 + 0xfb0bf)
#1 0x00007c54f916c2f6 n/a (libglib-2.0.so.0 + 0xb82f6)
#2 0x00007c54f910c162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
#3 0x00007c54fb8ead0c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ead0c)
#4 0x00007c54fb89ac04 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29ac04)
#5 0x00007c54fb6f7576 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf7576)
#6 0x00007c54fc6c5a20 n/a (libQt5Qml.so.5 + 0x2c5a20)
#7 0x00007c54fb6f379a n/a (libQt5Core.so.5 + 0xf379a)
#8 0x00007c54fa8a955a n/a (libc.so.6 + 0x8b55a)
#9 0x00007c54fa926a3c n/a (libc.so.6 + 0x108a3c)
ELF object binary architecture: AMD x86-64
not sure what else but happy to provide more info.
@jjgalvez
Please clean and build the latest master
branch and see if it happens again.
same error
Feb 11 21:16:34 CarbonPuker kernel: kwin_wayland[11495]: segfault at 0 ip 000072adaf4846c0 sp 00007ffcd0280e20 error 4 in kwin4_effect_shapecorners.so[72adaf480000+7000] likely on CPU 0 (core 0, socket 0)
Feb 11 21:16:35 CarbonPuker systemd-coredump[12481]: Process 11495 (kwin_wayland) of user 1000 dumped core.
Stack trace of thread 11495:
#0 0x000072adaf4846c0 _ZN18ShapeCornersEffect13windowRemovedEPN4KWin12EffectWindowE (kwin4_effect_shapecorners.so + 0x96c0)
#1 0x000072add1ed0e27 n/a (libQt5Core.so.5 + 0x2d0e27)
#2 0x000072add3c7ed97 _ZN4KWin14EffectsHandler13windowDeletedEPNS_12EffectWindowE (libkwineffects.so.14 + 0x25d97)
#3 0x000072add380cb68 n/a (libkwin.so.5 + 0x20cb68)
#4 0x000072add1ed0e27 n/a (libQt5Core.so.5 + 0x2d0e27)
#5 0x000072add379ee97 _ZN4KWin9Workspace14deletedRemovedEPNS_7DeletedE (libkwin.so.5 + 0x19ee97)
#6 0x000072add390f2c4 _ZN4KWin9Workspace13removeDeletedEPNS_7DeletedE (libkwin.so.5 + 0x30f2c4)
#7 0x000072add37f9e71 _ZN4KWin7DeletedD1Ev (libkwin.so.5 + 0x1f9e71)
#8 0x000072add37fa03e _ZN4KWin7DeletedD0Ev (libkwin.so.5 + 0x1fa03e)
#9 0x000072add1ec378e _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2c378e)
#10 0x000072add15788ff _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x1788ff)
#11 0x000072add1e9bef8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x29bef8)
#12 0x000072add1ea0e5b _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5 + 0x2a0e5b)
#13 0x000072add1eea617 _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ea617)
#14 0x00005805d5632ed2 n/a (kwin_wayland + 0x137ed2)
#15 0x000072add1e9ac04 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29ac04)
#16 0x000072add1e9c0a3 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x29c0a3)
#17 0x00005805d554e40b n/a (kwin_wayland + 0x5340b)
#18 0x000072add0e43cd0 n/a (libc.so.6 + 0x25cd0)
#19 0x000072add0e43d8a __libc_start_main (libc.so.6 + 0x25d8a)
#20 0x00005805d5550015 n/a (kwin_wayland + 0x55015)
Stack trace of thread 11542:
#0 0x000072add0ea5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x000072add0ea8750 pthread_cond_wait (libc.so.6 + 0x8a750)
#2 0x000072adb9113a1c n/a (iris_dri.so + 0x113a1c)
#3 0x000072adb910ad5c n/a (iris_dri.so + 0x10ad5c)
#4 0x000072add0ea955a n/a (libc.so.6 + 0x8b55a)
#5 0x000072add0f26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 11534:
#0 0x000072add0f190bf __poll (libc.so.6 + 0xfb0bf)
#1 0x000072adcf76c2f6 n/a (libglib-2.0.so.0 + 0xb82f6)
#2 0x000072adcf70c162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
#3 0x000072add1eead0c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ead0c)
#4 0x000072add1e9ac04 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29ac04)
#5 0x000072add1cf7576 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf7576)
#6 0x000072add1cf379a n/a (libQt5Core.so.5 + 0xf379a)
#7 0x000072add0ea955a n/a (libc.so.6 + 0x8b55a)
#8 0x000072add0f26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 11543:
#0 0x000072add0ea5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x000072add0ea8750 pthread_cond_wait (libc.so.6 + 0x8a750)
#2 0x000072adb9113a1c n/a (iris_dri.so + 0x113a1c)
#3 0x000072adb910ad5c n/a (iris_dri.so + 0x10ad5c)
#4 0x000072add0ea955a n/a (libc.so.6 + 0x8b55a)
#5 0x000072add0f26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 11533:
#0 0x000072add0ea5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x000072add0ea8750 pthread_cond_wait (libc.so.6 + 0x8a750)
#2 0x000072adb9113a1c n/a (iris_dri.so + 0x113a1c)
#3 0x000072adb910ad5c n/a (iris_dri.so + 0x10ad5c)
#4 0x000072add0ea955a n/a (libc.so.6 + 0x8b55a)
#5 0x000072add0f26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 11532:
#0 0x000072add0ea5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x000072add0ea8750 pthread_cond_wait (libc.so.6 + 0x8a750)
#2 0x000072adb9113a1c n/a (iris_dri.so + 0x113a1c)
#3 0x000072adb910ad5c n/a (iris_dri.so + 0x10ad5c)
#4 0x000072add0ea955a n/a (libc.so.6 + 0x8b55a)
#5 0x000072add0f26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 11523:
#0 0x000072add0f190bf __poll (libc.so.6 + 0xfb0bf)
#1 0x000072adcf76c2f6 n/a (libglib-2.0.so.0 + 0xb82f6)
#2 0x000072adcf70c162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
#3 0x000072add1eead0c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ead0c)
#4 0x000072add1e9ac04 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29ac04)
#5 0x000072add1cf7576 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf7576)
#6 0x000072add3cc4a9a n/a (libQt5DBus.so.5 + 0x18a9a)
#7 0x000072add1cf379a n/a (libQt5Core.so.5 + 0xf379a)
#8 0x000072add0ea955a n/a (libc.so.6 + 0x8b55a)
#9 0x000072add0f26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 11546:
#0 0x000072add0ea5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x000072add0ea8a65 pthread_cond_timedwait (libc.so.6 + 0x8aa65)
#2 0x000072add1cfb4b4 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xfb4b4)
#3 0x000072add1cf85ea n/a (libQt5Core.so.5 + 0xf85ea)
#4 0x000072add1cf379a n/a (libQt5Core.so.5 + 0xf379a)
#5 0x000072add0ea955a n/a (libc.so.6 + 0x8b55a)
#6 0x000072add0f26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 11763:
#0 0x000072add0ea5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x000072add0ea8750 pthread_cond_wait (libc.so.6 + 0x8a750)
#2 0x000072adb9113a1c n/a (iris_dri.so + 0x113a1c)
#3 0x000072adb910ad5c n/a (iris_dri.so + 0x10ad5c)
#4 0x000072add0ea955a n/a (libc.so.6 + 0x8b55a)
#5 0x000072add0f26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 11547:
#0 0x000072add0f190bf __poll (libc.so.6 + 0xfb0bf)
#1 0x000072adcf76c2f6 n/a (libglib-2.0.so.0 + 0xb82f6)
#2 0x000072adcf70c162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
#3 0x000072add1eead0c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ead0c)
#4 0x000072add1e9ac04 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29ac04)
#5 0x000072add1cf7576 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf7576)
#6 0x000072add2cc5a20 n/a (libQt5Qml.so.5 + 0x2c5a20)
#7 0x000072add1cf379a n/a (libQt5Core.so.5 + 0xf379a)
#8 0x000072add0ea955a n/a (libc.so.6 + 0x8b55a)
#9 0x000072add0f26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 11762:
#0 0x000072add0ea5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x000072add0ea8750 pthread_cond_wait (libc.so.6 + 0x8a750)
#2 0x000072adb9113a1c n/a (iris_dri.so + 0x113a1c)
#3 0x000072adb910ad5c n/a (iris_dri.so + 0x10ad5c)
#4 0x000072add0ea955a n/a (libc.so.6 + 0x8b55a)
#5 0x000072add0f26a3c n/a (libc.so.6 + 0x108a3c)
ELF object binary architecture: AMD x86-64
@jjgalvez thanks for the fast test.
I made another edit. Please clean and build the latest master
branch and see if it happens again.
@jjgalvez Please clean and build the latest
master
branch and see if it happens again.
That worked, thank you !
running Arch, and recently updated. When I close a window such as the system settings window the wayland kwin session crashes with the following: