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

QWidget::repaint() hangs indefinitely on inactive console

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.5.0
    • QPA: X11/XCB
    • None

    Description

      With two or more X11 sessions running on separate console (for example, with multiple users logged in), QWidget::repaint() hangs any application that calls it from an inactive console.

      Partial backtrace:

      #0  0x00007f8de56d407f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
      #1  0x00007f8de04bbc49 in ?? () from /usr/lib/libxcb.so.1
      #2  0x00007f8de04bd2ff in ?? () from /usr/lib/libxcb.so.1
      #3  0x00007f8de04bd411 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
      #4  0x00007f8dd1dc2db1 in QXcbConnection::sync (this=0x1052b70) at qxcbconnection.cpp:1770
      #5  0x00007f8dd1de72f5 in QXcbShmImage::preparePaint (this=0x1397ca0, region=...) at qxcbbackingstore.cpp:286
      #6  0x00007f8dd1de74a8 in QXcbBackingStore::beginPaint (this=0x16f83d0, region=...) at qxcbbackingstore.cpp:324
      #7  0x00007f8de3806761 in QWidgetBackingStore::doSync (this=this@entry=0x16fb770) at kernel/qwidgetbackingstore.cpp:1186
      #8  0x00007f8de3806e0d in QWidgetBackingStore::sync (this=0x16fb770) at kernel/qwidgetbackingstore.cpp:1032
      #9  0x00007f8de382ca42 in QWidgetPrivate::syncBackingStore (this=0x120c760) at kernel/qwidget.cpp:1892
      #10 0x00007f8de3847118 in QWidget::event (this=this@entry=0x120c4a0, event=event@entry=0x7fffd1ef45d0) at kernel/qwidget.cpp:8970
      #11 0x00007f8de397828b in QMainWindow::event (this=0x120c4a0, event=0x7fffd1ef45d0) at widgets/qmainwindow.cpp:1495
      #12 0x00007f8de37f70ec in QApplicationPrivate::notify_helper (this=this@entry=0x104a3e0, receiver=receiver@entry=0x120c4a0, e=e@entry=0x7fffd1ef45d0) at kernel/qapplication.cpp:3717
      #13 0x00007f8de37fcaa7 in QApplication::notify (this=0x109ef00, receiver=0x120c4a0, e=0x7fffd1ef45d0) at kernel/qapplication.cpp:3500
      #14 0x00007f8de2ade02d in QCoreApplication::notifyInternal (this=0x109ef00, receiver=receiver@entry=0x120c4a0, event=event@entry=0x7fffd1ef45d0) at kernel/qcoreapplication.cpp:965
      #15 0x00007f8de380764f in QCoreApplication::sendEvent (event=0x7fffd1ef45d0, receiver=0x120c4a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
      #16 QWidgetBackingStore::sendUpdateRequest (this=<optimized out>, widget=0x120c4a0, updateTime=<optimized out>) at kernel/qwidgetbackingstore.cpp:456
      #17 0x00007f8de3808469 in QWidgetBackingStore::markDirty (this=0x16fb770, rect=..., widget=widget@entry=0x12109d0, updateTime=updateTime@entry=QWidgetBackingStore::UpdateNow, bufferState=bufferState@entry=QWidgetBackingStore::BufferValid) at kernel/qwidgetbackingstore.cpp:639
      #18 0x00007f8de382ffd5 in QWidget::repaint (this=0x12109d0, rect=...) at kernel/qwidget.cpp:10748
      #19 0x00007f8de3830053 in QWidget::repaint (this=<optimized out>) at kernel/qwidget.cpp:10704
      

      Attachments

        Issue Links

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

          Activity

            People

              paeglis Gatis Paeglis
              john.lindgren@aol.com John Lindgren
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes