Application: ksmserver (6.2.4) (Compiled from sources) ApplicationNotResponding [ANR]: false Qt Version: 6.8.1 Frameworks Version: 6.8.0 Operating System: Linux 6.12.4-gentoo-x86_64 x86_64 Windowing System: X11 Distribution: "Gentoo Linux" DrKonqi: 6.2.4 [CoredumpBackend] -- Information about the crash: ksmserver crashed during lockscreen or after unlock screen. The report says that Windowing System is X11 (I don’t know why), but I swear that I’m under Wayland during this session, here is my kinfo, launched via konsole during the very same session: $ kinfo Operating System: Gentoo Linux 2.17 KDE Plasma Version: 6.2.4 KDE Frameworks Version: 6.8.0 Qt Version: 6.8.1 Kernel Version: 6.12.4-gentoo-x86_64 (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i7-9700K CPU @ 3.60GHz Memory: 31.3 Gio of RAM Graphics Processor: AMD Radeon RX 7800 XT Note: my plasmashell session run under wayland, but sddm run under X11. The crash can be reproduced sometimes. -- Backtrace: Application: ksmserver (ksmserver), signal: Segmentation fault warning: Can't open file /usr/lib64/libQt6XcbQpa.so.6.8.1 (deleted) during file-backed mapping note processing warning: Can't open file /usr/lib64/libQt6Network.so.6.8.1 (deleted) during file-backed mapping note processing warning: Can't open file /usr/lib64/libglib-2.0.so.0.8200.4 (deleted) during file-backed mapping note processing warning: Can't open file /usr/lib64/libQt6Xml.so.6.8.1 (deleted) during file-backed mapping note processing warning: Can't open file /usr/lib64/libgio-2.0.so.0.8200.4 (deleted) during file-backed mapping note processing warning: Can't open file /usr/lib64/libQt6Widgets.so.6.8.1 (deleted) during file-backed mapping note processing warning: Can't open file /usr/lib64/libQt6Core.so.6.8.1 (deleted) during file-backed mapping note processing warning: Can't open file /usr/lib64/libQt6Gui.so.6.8.1 (deleted) during file-backed mapping note processing warning: Can't open file /usr/lib64/libgobject-2.0.so.0.8200.4 (deleted) during file-backed mapping note processing warning: Can't open file /usr/lib64/libQt6DBus.so.6.8.1 (deleted) during file-backed mapping note processing warning: Can't open file /usr/lib64/libQt6PrintSupport.so.6.8.1 (deleted) during file-backed mapping note processing [New LWP 1247449] [New LWP 1247465] [New LWP 1247461] [New LWP 1247463] [New LWP 1247460] [New LWP 1247466] [New LWP 1247462] [New LWP 1247464] [New LWP 1247467] warning: .dynamic section for "/usr/lib64/libgobject-2.0.so.0" is not at the expected address (wrong library or version mismatch?) [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib64/libthread_db.so.1". Core was generated by `/usr/bin/ksmserver'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007f122261bc0c in ?? () from /usr/lib64/libc.so.6 [Current thread is 1 (Thread 0x7f121d104a80 (LWP 1247449))] python sentry-sdk not installed :( Cannot QML trace cores :( /usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:516: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). boot_time = datetime.utcfromtimestamp(psutil.boot_time()).strftime('%Y-%m-%dT%H:%M:%S') Unexpectedly stumbled over an objfile (/usr/lib64/libKF6Archive.so.6.8.0) without build_id. Not creating payload. [Current thread is 1 (Thread 0x7f121d104a80 (LWP 1247449))] Thread 9 (Thread 0x7f11e3fff6c0 (LWP 1247467)): #0 0x00007f122261669e in ??? () at /usr/lib64/libc.so.6 #1 0x00007f12226190a9 in pthread_cond_wait () at /usr/lib64/libc.so.6 #2 0x00007f1206b6d1ed in ??? () at /usr/lib64/libgallium-24.2.8.so #3 0x00007f1206b4baab in ??? () at /usr/lib64/libgallium-24.2.8.so #4 0x00007f1206b6d11b in ??? () at /usr/lib64/libgallium-24.2.8.so #5 0x00007f1222619ec9 in ??? () at /usr/lib64/libc.so.6 #6 0x00007f122268a42c in ??? () at /usr/lib64/libc.so.6 Thread 8 (Thread 0x7f12062b96c0 (LWP 1247464)): #0 0x00007f122261669e in ??? () at /usr/lib64/libc.so.6 #1 0x00007f12226190a9 in pthread_cond_wait () at /usr/lib64/libc.so.6 #2 0x00007f1206b6d1ed in ??? () at /usr/lib64/libgallium-24.2.8.so #3 0x00007f1206b4baab in ??? () at /usr/lib64/libgallium-24.2.8.so #4 0x00007f1206b6d11b in ??? () at /usr/lib64/libgallium-24.2.8.so #5 0x00007f1222619ec9 in ??? () at /usr/lib64/libc.so.6 #6 0x00007f122268a42c in ??? () at /usr/lib64/libc.so.6 Thread 7 (Thread 0x7f120c9c06c0 (LWP 1247462)): #0 0x00007f122261669e in ??? () at /usr/lib64/libc.so.6 #1 0x00007f12226190a9 in pthread_cond_wait () at /usr/lib64/libc.so.6 #2 0x00007f1206b6d1ed in ??? () at /usr/lib64/libgallium-24.2.8.so #3 0x00007f1206b4baab in ??? () at /usr/lib64/libgallium-24.2.8.so #4 0x00007f1206b6d11b in ??? () at /usr/lib64/libgallium-24.2.8.so #5 0x00007f1222619ec9 in ??? () at /usr/lib64/libc.so.6 #6 0x00007f122268a42c in ??? () at /usr/lib64/libc.so.6 Thread 6 (Thread 0x7f1204eb76c0 (LWP 1247466)): #0 0x00007f122261669e in ??? () at /usr/lib64/libc.so.6 #1 0x00007f12226190a9 in pthread_cond_wait () at /usr/lib64/libc.so.6 #2 0x00007f1206b6d1ed in ??? () at /usr/lib64/libgallium-24.2.8.so #3 0x00007f1206b4baab in ??? () at /usr/lib64/libgallium-24.2.8.so #4 0x00007f1206b6d11b in ??? () at /usr/lib64/libgallium-24.2.8.so #5 0x00007f1222619ec9 in ??? () at /usr/lib64/libc.so.6 #6 0x00007f122268a42c in ??? () at /usr/lib64/libc.so.6 Thread 5 (Thread 0x7f120f1fb6c0 (LWP 1247460)): #0 0x00007f122267dbf6 in ppoll () at /usr/lib64/libc.so.6 #1 0x00007f1221d36afc in g_main_context_push_thread_default () at /usr/lib64/libglib-2.0.so.0 #2 0x7fffffff0f1fa8d8 in ??? () #3 0xffffffffffffffff in ??? () #4 0x0000000000000000 in ??? () Thread 4 (Thread 0x7f1206aba6c0 (LWP 1247463)): #0 0x00007f122261669e in ??? () at /usr/lib64/libc.so.6 #1 0x00007f12226190a9 in pthread_cond_wait () at /usr/lib64/libc.so.6 #2 0x00007f1206b6d1ed in ??? () at /usr/lib64/libgallium-24.2.8.so #3 0x00007f1206b4baab in ??? () at /usr/lib64/libgallium-24.2.8.so #4 0x00007f1206b6d11b in ??? () at /usr/lib64/libgallium-24.2.8.so #5 0x00007f1222619ec9 in ??? () at /usr/lib64/libc.so.6 #6 0x00007f122268a42c in ??? () at /usr/lib64/libc.so.6 Thread 3 (Thread 0x7f120e9fa6c0 (LWP 1247461)): #0 0x00007f122267d6bf in poll () at /usr/lib64/libc.so.6 #1 0x00007f12225284a2 in ??? () at /usr/lib64/libxcb.so.1 #2 0x00007f122252a86a in xcb_wait_for_event () at /usr/lib64/libxcb.so.1 #3 0x00007f120f310fb8 in QXcbEventQueue::run (this=0x557e0fa6e000) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/plugins/platforms/xcb/qxcbeventqueue.cpp:192 #4 0x00007f1222bc62d5 in operator() (__closure=<optimized out>) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/corelib/thread/qthread_unix.cpp:354 #5 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/corelib/thread/qthread_unix.cpp:290 #6 QThreadPrivate::start (arg=0x557e0fa6e000) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/corelib/thread/qthread_unix.cpp:318 #7 0x00007f1222619ec9 in ??? () at /usr/lib64/libc.so.6 #8 0x00007f122268a42c in ??? () at /usr/lib64/libc.so.6 Thread 2 (Thread 0x7f1205ab86c0 (LWP 1247465)): #0 0x00007f122261669e in ??? () at /usr/lib64/libc.so.6 #1 0x00007f12226190a9 in pthread_cond_wait () at /usr/lib64/libc.so.6 #2 0x00007f1206b6d1ed in ??? () at /usr/lib64/libgallium-24.2.8.so #3 0x00007f1206b4baab in ??? () at /usr/lib64/libgallium-24.2.8.so #4 0x00007f1206b6d11b in ??? () at /usr/lib64/libgallium-24.2.8.so #5 0x00007f1222619ec9 in ??? () at /usr/lib64/libc.so.6 #6 0x00007f122268a42c in ??? () at /usr/lib64/libc.so.6 Thread 1 (Thread 0x7f121d104a80 (LWP 1247449)): [KCrash Handler] #4 QXcbScreen::setMonitor (this=this@entry=0x557e0faf0480, monitorInfo=monitorInfo@entry=0x7f1200004c8c, timestamp=<optimized out>) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/plugins/platforms/xcb/qxcbscreen.cpp:657 #5 0x00007f120f2f7ac3 in QXcbConnection::updateScreen_monitor (this=this@entry=0x557e0fa6e530, screen=screen@entry=0x557e0faf0480, monitorInfo=monitorInfo@entry=0x7f1200004c8c, timestamp=<optimized out>) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/plugins/platforms/xcb/qxcbconnection_screens.cpp:251 #6 0x00007f120f2f9b22 in QXcbConnection::initializeScreensFromMonitor (this=this@entry=0x557e0fa6e530, it=it@entry=0x7ffeccd1cfd0, xcbScreenNumber=xcbScreenNumber@entry=0, primaryScreen=primaryScreen@entry=0x7ffeccd1cfb0, initialized=initialized@entry=true) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/plugins/platforms/xcb/qxcbconnection_screens.cpp:519 #7 0x00007f120f2fb0b8 in QXcbConnection::initializeScreens (this=this@entry=0x557e0fa6e530, initialized=initialized@entry=true) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/plugins/platforms/xcb/qxcbconnection_screens.cpp:317 #8 0x00007f120f2f0f6e in QXcbConnection::handleXcbEvent (this=this@entry=0x557e0fa6e530, event=event@entry=0x7f1200005060) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/plugins/platforms/xcb/qxcbconnection.cpp:590 #9 0x00007f120f2f16d6 in QXcbConnection::processXcbEvents (this=0x557e0fa6e530, flags=...) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/plugins/platforms/xcb/qxcbconnection.cpp:1087 #10 0x00007f120f310507 in xcbSourceDispatch (source=<optimized out>) at /usr/src/debug/dev-qt/qtbase-6.8.1/qtbase-everywhere-src-6.8.1/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:55 #11 0x00007f1221d3375c in ??? () at /usr/lib64/libglib-2.0.so.0 #12 0x00007f1208000f30 in ??? () #13 0x0000000000000000 in ??? () Reported using DrKonqi
This crash happened with a build of qtbase 6.8.1 + the following patch [1], on my Gentoo. It’s linked to this bug report [2], I think. So the patch does not seem to perfectly work. [1] https://github.com/qt/qtbase/commit/f8aa1c423e7f878a4a7518438321eb01e552747f [2] https://bugreports.qt.io/browse/QTBUG-131343
Also, like in bugreport 497165 [1], when I saw this crash of ksmserver, I was not able to start a stopped Activity anymore… And if I perform a « systemctl --user restart plasma-ksmserver.service », I am able to start my stopped Activity again; seems to be the same workaround. [1] https://bugs.kde.org/show_bug.cgi?id=497165
Your backtrace has the same line numer (qxcbscreen.cpp:657) as https://bugs.kde.org/show_bug.cgi?id=496218, but the patch should cause the lines to move. That either sounds like you didn't run a patched version, or it's crashing on different code that happens to have the same line number With the patch line 275 is if (crtc == XCB_NONE) { with crtc being a unique_ptr. I don't see how that would crash
> The report says that Windowing System is X11 (I don’t know why), but I swear that I’m under Wayland during this session That's expected. The ksmserver process runs under XWayland since it's responsible for XWayland app integration
Sounds like Bug 496218 either isn't fixed, or you're not running with the patched code right, or it has more requirements that weren't backported. Note that Bug Bug 496218 says it's fixed in Qt 6.8.2. *** This bug has been marked as a duplicate of bug 496218 ***
Ok I’m sorry, I think I just forgot to reboot or at least restart my plasma session because I did many thing else during build… that should explain why.