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

Segfault when closing file dialog that's waiting for NFS

    XMLWordPrintable

Details

    • Linux/X11

    Description

      Report from a customer:

      When opening a QFileDialog starting at an NFS share it sometimes takes some time until the widget
      is displayed properly. Before is is correctly visible (i.e. only the window decoration and an empty widget area is displayed)
      one can already press the close button. The result is a crash.

      Running in gdb yields this backtrace:

      Thread 1 "a3ppc" received signal SIGSEGV, Segmentation fault.
      0x0000000002b0cd98 in QMetaObject::cast(QObject*) const ()
      (gdb) bt
      #0 0x0000000002b0cd98 in QMetaObject::cast(QObject*) const ()
      #1 0x0000000002d133db in QWidget::isActiveWindow() const ()
      #2 0x0000000002d210fd in QWidget::initPainter(QPainter*) const ()
      #3 0x000000000328a240 in QPainter::begin(QPaintDevice*) ()
      #4 0x0000000003289f2f in QPainter::QPainter(QPaintDevice*) ()
      #5 0x0000000002d16313 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
      #6 0x0000000002d275ad in QWidgetBackingStore::doSync() ()
      #7 0x0000000002d1c8f5 in QWidget::event(QEvent*) ()
      #8 0x0000000002def546 in QMainWindow::event(QEvent*) ()
      #9 0x0000000002cf2a7f in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
      #10 0x0000000002cf3e3f in QApplication::notify(QObject*, QEvent*) ()
      #11 0x0000000002b07917 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
      #12 0x0000000002b089c0 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
      #13 0x0000000002b3d99a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
      #14 0x000000000340f094 in QXcbUnixEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
      #15 0x0000000002b0356f in QEventLoop::exec&#40;QFlags<QEventLoop::ProcessEventsFlag>&#41; ()
      #16 0x0000000002b07ef4 in QCoreApplication::exec&#40;&#41; ()
      #17 0x0000000001fe86b2 in main ()
      

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            izero Tero Siironen
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes