Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24839

Crash when showing tooltip (built with Qt6)

    XMLWordPrintable

Details

    • macOS

    Description

      Build Qt Creator with Qt6, make it show special tool tip by e.g. opening python file with language server and hovering.

      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0   libsystem_platform.dylib      	0x00007fff6f413e52 _platform_strlen + 18
      1   org.qt-project.QtCore         	0x000000010494a220 QByteArray::QByteArray(char const*, long long) + 192
      2   org.qt-project.QtWidgets      	0x0000000103488819 QApplication::font(QWidget const*) + 409
      3   org.qt-project.QtWidgets      	0x00000001034e1e62 QWidget::event(QEvent*) + 3346
      4   org.qt-project.QtWidgets      	0x000000010357d5cb QFrame::event(QEvent*) + 43
      5   org.qt-project.QtWidgets      	0x000000010348b50e QApplicationPrivate::notify_helper(QObject*, QEvent*) + 254
      6   org.qt-project.QtWidgets      	0x000000010348c7ef QApplication::notify(QObject*, QEvent*) + 495
      7   org.qt-project.QtCore         	0x000000010489af57 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 215
      8   org.qt-project.QtWidgets      	0x00000001034d59dd QWidget::ensurePolished() const + 77
      9   libUtils.4.13.82.dylib        	0x0000000102659989 Utils::Internal::TextTip::TextTip(QWidget*) + 137 (tips.cpp:163)
      10  libUtils.4.13.82.dylib        	0x0000000102659afd Utils::Internal::TextTip::TextTip(QWidget*) + 29 (tips.cpp:169)
      11  libUtils.4.13.82.dylib        	0x000000010265febe Utils::ToolTip::showInternal(QPoint const&, QVariant const&, int, QWidget*, QVariant const&, QRect const&) + 302 (tooltip.cpp:327)
      12  libUtils.4.13.82.dylib        	0x000000010265f99a Utils::ToolTip::show(QPoint const&, QString const&, Qt::TextFormat, QWidget*, QVariant const&, QRect const&) + 250 (tooltip.cpp:97)
      13  libTextEditor.dylib           	0x000000010a08d557 TextEditor::BaseHoverHandler::operateTooltip(TextEditor::TextEditorWidget*, QPoint const&) + 567 (basehoverhandler.cpp:157)
      14  libTextEditor.dylib           	0x000000010a08c5f9 TextEditor::BaseHoverHandler::showToolTip(TextEditor::TextEditorWidget*, QPoint const&) + 41 (basehoverhandler.cpp:42)
      15  libTextEditor.dylib           	0x000000010a2ce2ab TextEditor::Internal::HoverHandlerRunner::onHandlerFinished(int, int, int) + 443 (texteditor.cpp:379)
      16  libTextEditor.dylib           	0x000000010a2ce0e7 TextEditor::Internal::HoverHandlerRunner::checkNext()::'lambda'(int)::operator()(int) const + 39 (texteditor.cpp:352)
      17  libTextEditor.dylib           	0x000000010a2ce0a1 decltype(std::__1::forward<TextEditor::Internal::HoverHandlerRunner::checkNext()::'lambda'(int)&>(fp)(std::__1::forward<int>(fp0))) std::__1::__invoke<TextEditor::Internal::HoverHandlerRunner::checkNext()::'lambda'(int)&, int>(TextEditor::Internal::HoverHandlerRunner::checkNext()::'lambda'(int)&, int&&) + 49 (type_traits:3545)
      18  libTextEditor.dylib           	0x000000010a2ce042 void std::__1::__invoke_void_return_wrapper<void>::__call<TextEditor::Internal::HoverHandlerRunner::checkNext()::'lambda'(int)&, int>(TextEditor::Internal::HoverHandlerRunner::checkNext()::'lambda'(int)&, int&&) + 50 (__functional_base:349)
      19  libTextEditor.dylib           	0x000000010a2ce002 std::__1::__function::__alloc_func<TextEditor::Internal::HoverHandlerRunner::checkNext()::'lambda'(int), std::__1::allocator<TextEditor::Internal::HoverHandlerRunner::checkNext()::'lambda'(int)>, void (int)>::operator()(int&&) + 50 (functional:1546)
      20  libTextEditor.dylib           	0x000000010a2ccbe3 std::__1::__function::__func<TextEditor::Internal::HoverHandlerRunner::checkNext()::'lambda'(int), std::__1::allocator<TextEditor::Internal::HoverHandlerRunner::checkNext()::'lambda'(int)>, void (int)>::operator()(int&&) + 51 (functional:1720)
      21  libLanguageClient.dylib       	0x0000000113e4addd std::__1::__function::__value_func<void (int)>::operator()(int&&) const + 77 (functional:1873)
      22  libLanguageClient.dylib       	0x0000000113e3bb4f std::__1::function<void (int)>::operator()(int) const + 47 (functional:2548)
      23  libLanguageClient.dylib       	0x0000000113e3b29c LanguageClient::HoverHandler::identifyMatch(TextEditor::TextEditorWidget*, int, std::__1::function<void (int)>) + 812 (languageclienthoverhandler.cpp:75)
      24  libTextEditor.dylib           	0x000000010a08c853 TextEditor::BaseHoverHandler::process(TextEditor::TextEditorWidget*, int, std::__1::function<void (int)>) + 259 (basehoverhandler.cpp:132)
      25  libTextEditor.dylib           	0x000000010a08c6cc TextEditor::BaseHoverHandler::checkPriority(TextEditor::TextEditorWidget*, int, std::__1::function<void (int)>) + 204 (basehoverhandler.cpp:50)
      26  libTextEditor.dylib           	0x000000010a2cc446 TextEditor::Internal::HoverHandlerRunner::checkNext() + 230 (texteditor.cpp:350)
      27  libTextEditor.dylib           	0x000000010a2a0b66 TextEditor::Internal::HoverHandlerRunner::startChecking(QTextCursor const&, QPoint const&) + 310 (texteditor.cpp:336)
      28  libTextEditor.dylib           	0x000000010a2a09f8 TextEditor::Internal::TextEditorWidgetPrivate::processTooltipRequest(QTextCursor const&) + 216 (texteditor.cpp:3525)
      29  libTextEditor.dylib           	0x000000010a2a14c5 TextEditor::TextEditorWidget::viewportEvent(QEvent*) + 1141 (texteditor.cpp:3572)
      30  org.qt-project.QtCore         	0x000000010489b1df QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 207
      31  org.qt-project.QtWidgets      	0x000000010348b4fa QApplicationPrivate::notify_helper(QObject*, QEvent*) + 234
      32  org.qt-project.QtWidgets      	0x000000010348cd92 QApplication::notify(QObject*, QEvent*) + 1938
      33  org.qt-project.QtCore         	0x000000010489af57 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 215
      34  org.qt-project.QtWidgets      	0x0000000103489d00 QApplication::event(QEvent*) + 1184
      35  org.qt-project.qtcreator      	0x00000001020398df SharedTools::QtSingleApplication::event(QEvent*) + 143 (qtsingleapplication.cpp:125)
      36  org.qt-project.QtWidgets      	0x000000010348b50e QApplicationPrivate::notify_helper(QObject*, QEvent*) + 254
      37  org.qt-project.QtWidgets      	0x000000010348c7ef QApplication::notify(QObject*, QEvent*) + 495
      38  org.qt-project.QtCore         	0x000000010489af57 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 215
      39  org.qt-project.QtCore         	0x0000000104a148a5 QTimerInfoList::activateTimers() + 901
      40  libqcocoa.dylib               	0x0000000103df4705 0x103dde000 + 91909
      41  com.apple.CoreFoundation      	0x00007fff351add52 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      42  com.apple.CoreFoundation      	0x00007fff351adcf1 __CFRunLoopDoSource0 + 103
      43  com.apple.CoreFoundation      	0x00007fff351adb0b __CFRunLoopDoSources0 + 209
      44  com.apple.CoreFoundation      	0x00007fff351ac83a __CFRunLoopRun + 927
      45  com.apple.CoreFoundation      	0x00007fff351abe3e CFRunLoopRunSpecific + 462
      46  com.apple.HIToolbox           	0x00007fff33dd8abd RunCurrentEventLoopInMode + 292
      47  com.apple.HIToolbox           	0x00007fff33dd87d5 ReceiveNextEventCommon + 584
      48  com.apple.HIToolbox           	0x00007fff33dd8579 _BlockUntilNextEventMatchingListInModeWithFilter + 64
      49  com.apple.AppKit              	0x00007fff3241e039 _DPSNextEvent + 883
      50  com.apple.AppKit              	0x00007fff3241c880 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
      51  com.apple.AppKit              	0x00007fff3240e58e -[NSApplication run] + 658
      52  libqcocoa.dylib               	0x0000000103df5335 0x103dde000 + 95029
      53  org.qt-project.QtCore         	0x00000001048a6f6e QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 382
      54  org.qt-project.QtCore         	0x000000010489b572 QCoreApplication::exec() + 130
      55  org.qt-project.qtcreator      	0x000000010201cc5e main + 15022 (main.cpp:740)
      56  libdyld.dylib                 	0x00007fff6f21dcc9 start + 1
      

      Attachments

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

        Activity

          People

            jkobus Jarek Kobus
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes