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

When clicking on an entry of search results in Qt Assistant it can crash if it is the first time the page is shown

    Details

      Description

      When clicking on an entry of search results in Qt Assistant it can crash if it is the first time the page is shown with:

      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0   org.qt-project.QtGui          	0x000000010848c142 QTextLine::height() const + 18
      1   org.qt-project.QtGui          	0x00000001084cd07e QTextDocumentLayoutPrivate::layoutFlow(QTextFrame::iterator, QTextLayoutStruct*, int, int, QFixed) + 7710
      2   org.qt-project.QtGui          	0x00000001084d2b56 QTextDocumentLayoutPrivate::layoutFrame(QTextFrame*, int, int, QFixed, QFixed, QFixed) + 2070
      3   org.qt-project.QtGui          	0x00000001084d2318 QTextDocumentLayoutPrivate::layoutFrame(QTextFrame*, int, int, QFixed) + 984
      4   org.qt-project.QtGui          	0x00000001084d5239 QTextDocumentLayout::doLayout(int, int, int) + 521
      5   org.qt-project.QtGui          	0x00000001084d4d67 QTextDocumentLayout::documentChanged(int, int, int) + 807
      6   org.qt-project.QtGui          	0x00000001084af2bc QTextDocumentPrivate::finishEdit() + 188
      7   org.qt-project.assistant      	0x0000000107c8674d 0x107c4a000 + 247629
      8   org.qt-project.assistant      	0x0000000107c5eef5 0x107c4a000 + 85749
      9   org.qt-project.QtCore         	0x0000000108aa3be1 QMetaObject::activate(QObject*, int, int, void**) + 913
      10  org.qt-project.assistant      	0x0000000107c8a6c0 0x107c4a000 + 263872
      11  org.qt-project.assistant      	0x0000000107c864c8 0x107c4a000 + 246984
      12  org.qt-project.assistant      	0x0000000107c5e90c 0x107c4a000 + 84236
      13  org.qt-project.QtCore         	0x0000000108aa3be1 QMetaObject::activate(QObject*, int, int, void**) + 913
      14  org.qt-project.assistant      	0x0000000107c8b810 0x107c4a000 + 268304
      15  org.qt-project.QtCore         	0x0000000108aa3be1 QMetaObject::activate(QObject*, int, int, void**) + 913
      16  org.qt-project.QtHelp         	0x0000000107d9dbf6 QHelpSearchResultWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 118
      17  org.qt-project.QtCore         	0x0000000108aa3be1 QMetaObject::activate(QObject*, int, int, void**) + 913
      18  org.qt-project.QtHelp         	0x0000000107d92ba7 QResultWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 151
      19  org.qt-project.QtCore         	0x0000000108aa3be1 QMetaObject::activate(QObject*, int, int, void**) + 913
      20  org.qt-project.QtWidgets      	0x0000000107f7a252 QTextBrowserPrivate::_q_activateAnchor(QString const&) + 434
      21  org.qt-project.QtCore         	0x0000000108aa3be1 QMetaObject::activate(QObject*, int, int, void**) + 913
      22  org.qt-project.QtWidgets      	0x0000000107fc3c09 QWidgetTextControlPrivate::activateLinkUnderCursor(QString) + 1321
      23  org.qt-project.QtWidgets      	0x0000000107fc226a QWidgetTextControlPrivate::mouseReleaseEvent(QEvent*, Qt::MouseButton, QPointF const&, QFlags<Qt::KeyboardModifier>, QFlags<Qt::MouseButton>, QPoint const&) + 730
      24  org.qt-project.QtWidgets      	0x0000000107fc0670 QWidgetTextControl::processEvent(QEvent*, QMatrix const&, QWidget*) + 2656
      25  org.qt-project.QtWidgets      	0x0000000107fbfc00 QWidgetTextControl::processEvent(QEvent*, QPointF const&, QWidget*) + 80
      26  org.qt-project.QtWidgets      	0x0000000107f762a7 QTextEdit::mouseReleaseEvent(QMouseEvent*) + 151
      27  org.qt-project.QtWidgets      	0x0000000107e0e8c6 QWidget::event(QEvent*) + 1670
      28  org.qt-project.QtWidgets      	0x0000000107f03f7d QFrame::event(QEvent*) + 45
      29  org.qt-project.QtWidgets      	0x0000000107f8c573 QAbstractScrollArea::viewportEvent(QEvent*) + 179
      30  org.qt-project.QtWidgets      	0x0000000107f8d125 QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) + 37
      31  org.qt-project.QtCore         	0x0000000108a735aa QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 202
      32  org.qt-project.QtWidgets      	0x0000000107dd4578 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 248
      33  org.qt-project.QtWidgets      	0x0000000107dd7b23 QApplication::notify(QObject*, QEvent*) + 9123
      34  org.qt-project.QtCore         	0x0000000108a73314 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
      35  org.qt-project.QtWidgets      	0x0000000107dd4eb7 QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) + 871
      36  org.qt-project.QtWidgets      	0x0000000107e2f1cb QWidgetWindow::handleMouseEvent(QMouseEvent*) + 1387
      37  org.qt-project.QtWidgets      	0x0000000107e2e20f QWidgetWindow::event(QEvent*) + 175
      38  org.qt-project.QtWidgets      	0x0000000107dd458d QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
      39  org.qt-project.QtWidgets      	0x0000000107dd6e5c QApplication::notify(QObject*, QEvent*) + 5852
      40  org.qt-project.QtCore         	0x0000000108a73314 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
      41  org.qt-project.QtGui          	0x00000001083b1b77 QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 2855
      42  org.qt-project.QtGui          	0x000000010839938b QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 155
      43  libqcocoa.dylib               	0x000000010bae0e81 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33
      44  com.apple.CoreFoundation      	0x00007fff793fe8d1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      45  com.apple.CoreFoundation      	0x00007fff793dfc6c __CFRunLoopDoSources0 + 556
      46  com.apple.CoreFoundation      	0x00007fff793df156 __CFRunLoopRun + 934
      47  com.apple.CoreFoundation      	0x00007fff793deb54 CFRunLoopRunSpecific + 420
      48  com.apple.HIToolbox           	0x00007fff78969a5c RunCurrentEventLoopInMode + 240
      49  com.apple.HIToolbox           	0x00007fff78969799 ReceiveNextEventCommon + 184
      50  com.apple.HIToolbox           	0x00007fff789696c6 _BlockUntilNextEventMatchingListInModeWithFilter + 71
      51  com.apple.AppKit              	0x00007fff76f0f5b4 _DPSNextEvent + 1120
      52  com.apple.AppKit              	0x00007fff77689d6b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2789
      53  com.apple.AppKit              	0x00007fff76f03f35 -[NSApplication run] + 926
      54  libqcocoa.dylib               	0x000000010badfd1f QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2143
      55  org.qt-project.QtCore         	0x0000000108a6f0e1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 401
      56  org.qt-project.QtCore         	0x0000000108a73985 QCoreApplication::exec() + 341
      57  org.qt-project.assistant      	0x0000000107c68cee 0x107c4a000 + 126190
      58  libdyld.dylib                 	0x00007fff8e9d1255 start + 1
      

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                allan.jensen Allan Sandfeld Jensen
                Reporter:
                andysh Andy Shaw
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There is 1 open Gerrit change