Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
QBSP 5.15.8
-
None
-
-
439e19be1 (dev), 21098bbb9 (6.8), a2584c81c (6.7)
Description
I have remote X2Go session opened on my laptop to the SLES15SP5 server.
It uses IceWM DE on the server. If I run konsole on remote desktop and my laptop goes to sleep, the remote session suspends. When I resume the remote session I get the KDE Crash Handler with the kcrash attached.
If I run konsole under GDB in remote session I get the attached stacktrace.
It seems that the `outputInfo` variable is not checked on NULL value in the snipped from qtbase/src/plugins/platforms/xcb/qxcbconnection_screens.cpp below.
The same bug is in Qt5 and Qt6.
} else if (screen) { if (output.crtc == XCB_NONE && output.mode == XCB_NONE) { // Screen has been disabled auto outputInfo = Q_XCB_REPLY(xcb_randr_get_output_info, xcb_connection(), output.output, output.config_timestamp); if (outputInfo->crtc == XCB_NONE) { qCDebug(lcQpaScreen) << "output" << screen->name() << "has been disabled"; destroyScreen(screen);