Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-128906

Konsole crashes with SIGSEGV

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.8.1, 6.9.0 FF
    • QBSP 5.15.8
    • QPA: X11/XCB
    • None
    • Linux/X11
    • 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);
       

      Attachments

        For Gerrit Dashboard: QTBUG-128906
        # Subject Branch Project Status CR V

        Activity

          People

            liaqi Liang Qi
            termim Mikhail Terekhov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change