Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.12.0
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(QFlags<QEventLoop::ProcessEventsFlag>) () #16 0x0000000002b07ef4 in QCoreApplication::exec() () #17 0x0000000001fe86b2 in main ()