Bug 488591 - Crash in QXcbScreen::setMonitor (kaccess, gmenudbusmenuproxy, ksmserver, xembedsniproxy)
Summary: Crash in QXcbScreen::setMonitor (kaccess, gmenudbusmenuproxy, ksmserver, xemb...
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 6.1.0
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-16 17:15 UTC by Julien Delquié
Modified: 2024-09-10 15:00 UTC (History)
3 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 Julien Delquié 2024-06-16 17:15:26 UTC
SUMMARY

Regularly the following programs crash: kaccess, gmenudbusmenuproxy, ksmserver, xembedsniproxy.
DrKonqi is not launched automatically when it happens.

But they all crash with the following backtrace:
#0  QXcbScreen::setMonitor (this=this@entry=0x562d36415110, monitorInfo=monitorInfo@entry=0x7f97b400471c, timestamp=<optimized out>)
    at /usr/src/debug/dev-qt/qtbase-6.7.1/qtbase-everywhere-src-6.7.1/src/plugins/platforms/xcb/qxcbscreen.cpp:660
#1  0x00007f97c3b615c3 in QXcbConnection::updateScreen_monitor (this=this@entry=0x562d363c7e90, screen=screen@entry=0x562d36415110, 
    monitorInfo=monitorInfo@entry=0x7f97b400471c, timestamp=<optimized out>)
    at /usr/src/debug/dev-qt/qtbase-6.7.1/qtbase-everywhere-src-6.7.1/src/plugins/platforms/xcb/qxcbconnection_screens.cpp:251
#2  0x00007f97c3b635b2 in QXcbConnection::initializeScreensFromMonitor (this=this@entry=0x562d363c7e90, it=it@entry=0x7ffe66de02b0, 
    xcbScreenNumber=xcbScreenNumber@entry=0, primaryScreen=primaryScreen@entry=0x7ffe66de0290, initialized=initialized@entry=true)
    at /usr/src/debug/dev-qt/qtbase-6.7.1/qtbase-everywhere-src-6.7.1/src/plugins/platforms/xcb/qxcbconnection_screens.cpp:519
#3  0x00007f97c3b64b48 in QXcbConnection::initializeScreens (this=this@entry=0x562d363c7e90, initialized=initialized@entry=true)
    at /usr/src/debug/dev-qt/qtbase-6.7.1/qtbase-everywhere-src-6.7.1/src/plugins/platforms/xcb/qxcbconnection_screens.cpp:317
#4  0x00007f97c3b5adee in QXcbConnection::handleXcbEvent (this=this@entry=0x562d363c7e90, event=event@entry=0x7f97b4002da0)
    at /usr/src/debug/dev-qt/qtbase-6.7.1/qtbase-everywhere-src-6.7.1/src/plugins/platforms/xcb/qxcbconnection.cpp:590
#5  0x00007f97c3b5b546 in QXcbConnection::processXcbEvents (this=0x562d363c7e90, flags=...)
    at /usr/src/debug/dev-qt/qtbase-6.7.1/qtbase-everywhere-src-6.7.1/src/plugins/platforms/xcb/qxcbconnection.cpp:1087
#6  0x00007f97c3b79c17 in xcbSourceDispatch (source=<optimized out>)
    at /usr/src/debug/dev-qt/qtbase-6.7.1/qtbase-everywhere-src-6.7.1/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:55
#7  0x00007f97d42cf834 in ?? () from /usr/lib64/libglib-2.0.so.0
#8  0x00007f97d42d2977 in ?? () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f97d42d2fa0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f97d4bad783 in QEventDispatcherGlib::processEvents (this=0x562d36405b90, flags=...)
    at /usr/src/debug/dev-qt/qtbase-6.7.1/qtbase-everywhere-src-6.7.1/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#11 0x00007f97d4e004c2 in QEventLoop::exec (this=this@entry=0x7ffe66de05f0, flags=..., flags@entry=...)
    at /usr/src/debug/dev-qt/qtbase-6.7.1/qtbase-everywhere-src-6.7.1/src/corelib/global/qflags.h:34
#12 0x00007f97d4e00658 in QCoreApplication::exec () at /usr/src/debug/dev-qt/qtbase-6.7.1/qtbase-everywhere-src-6.7.1/src/corelib/global/qflags.h:74
#13 0x0000562d06e38b13 in ?? ()
#14 0x00007f97d46ca26e in ?? () from /usr/lib64/libc.so.6
#15 0x00007f97d46ca329 in __libc_start_main () from /usr/lib64/libc.so.6
#16 0x0000562d06e39065 in ?? ()



STEPS TO REPRODUCE
I don’t know how… it happens randomly, I noticed it when having a look to dmesg.

OBSERVED RESULT
Crashes.

EXPECTED RESULT
No crash.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.15
KDE Plasma Version: 6.0.90
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.9.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

ADDITIONAL INFORMATION
N/A
Comment 1 David Redondo 2024-06-17 08:00:32 UTC
This is entirely in Qt-