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

First started Qt app hangs/crashes (QXcbConnection: XCB error).

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 5.0.0
    • GUI: Window management

    Description

      This is reproducible with Qt5 as of 749b83f337ec82eff305ed8ac85473ad984c84fa (top-level Qt 5 git repository).

      How to reproduce:
      1. Kill current window manager
      2. Login again (on your display manager screen)
      3. Start a Qt gui app ("Qt Gui Application" created with Creator or some GUI example). Make sure this is the very first Qt app started.

      What happens:
      1. No window appears.
      2. Output:

      Got bus address:  "unix:abstract=/tmp/dbus-r3o1o4BtOB,guid=b0efa7f60f15f16f1216be59000023ca" 
      Connected to accessibility bus at:  "unix:abstract=/tmp/dbus-r3o1o4BtOB,guid=b0efa7f60f15f16f1216be59000023ca" 
      Registered DEC:  true 
      QXcbConnection: XCB error: 179 (Unknown), sequence: 143, resource id: 0, major code: 153 (Unknown), minor code: 20
      QDBusConnection: name 'org.a11y.atspi.Registry' had owner '' but we thought it was ':1.1'
      

      All further starts works as expected (window is shown, no XCB error output).

      If Qt Creator is the very first Qt app that is started, then it crashes (same XCB Error output). See attached backtrace.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rodal Samuel Rødal
            kosjar Nikolai Kosjar
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes