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

Crash when clicking on QML error hyperlink in application output

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • Qt Creator 10.0.1
    • Qt Creator 10.0.0, Qt Creator 11.0.0-beta1
    • None
    • Qt Creator 11.0.0-beta1 (10.0.82)
      Based on Qt 6.4.1 (GCC 11.3.0, x86_64)
      Ubuntu 22.04
    • b794e9823 (10.0)

    Description

      Steps I took:

      1. Opened Qt Quick project
      2. Ran it, saw QML errors
      3. Stopped the application
      4. Clicked on the error hyperlink in application output => crash
      1  QArrayDataPointer<char16_t>::QArrayDataPointer                                                                                                                                                                                                                                                                                                                                           qarraydatapointer.h        33   0x7fff3a11a4a8 
      2  QString::QString                                                                                                                                                                                                                                                                                                                                                                         qstring.h                  1271 0x7fff3a10d949 
      3  Core::IDocument::mimeType                                                                                                                                                                                                                                                                                                                                                                idocument.cpp              581  0x7fff3a3bd1ae 
      4  LanguageClient::LanguageFilter::isSupported                                                                                                                                                                                                                                                                                                                                              languageclientsettings.cpp 1034 0x7fff2bbe82ff 
      5  LanguageClient::Client::isSupportedDocument                                                                                                                                                                                                                                                                                                                                              client.cpp                 1434 0x7fff2babc181 
      6  LanguageClient::Client::openDocument                                                                                                                                                                                                                                                                                                                                                     client.cpp                 587  0x7fff2bab43a5 
      7  LanguageClient::LanguageClientManager::clientStarted                                                                                                                                                                                                                                                                                                                                     languageclientmanager.cpp  140  0x7fff2bbaf987 
      8  LanguageClient::ClientPrivate::ClientPrivate(LanguageClient::Client *, LanguageClient::BaseClientInterface *, Utils::Id const&)::{lambda()#2}::operator()() const                                                                                                                                                                                                                        client.cpp                 168  0x7fff2bad13d7 
      9  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, LanguageClient::ClientPrivate::ClientPrivate(LanguageClient::Client *, LanguageClient::BaseClientInterface *, Utils::Id const&)::{lambda()#2}>::call(LanguageClient::ClientPrivate::ClientPrivate(LanguageClient::Client *, LanguageClient::BaseClientInterface *, Utils::Id const&)::{lambda()#2}&, void * *) qobjectdefs_impl.h         127  0x7fff2bb119e7 
      10 QtPrivate::Functor<LanguageClient::ClientPrivate::ClientPrivate(LanguageClient::Client *, LanguageClient::BaseClientInterface *, Utils::Id const&)::{lambda()#2}, 0>::call<QtPrivate::List<>, void>(LanguageClient::ClientPrivate::ClientPrivate(LanguageClient::Client *, LanguageClient::BaseClientInterface *, Utils::Id const&)::{lambda()#2}&, void *, void * *)                    qobjectdefs_impl.h         241  0x7fff2bb0553a 
      11 QtPrivate::QFunctorSlotObject<LanguageClient::ClientPrivate::ClientPrivate(LanguageClient::Client *, LanguageClient::BaseClientInterface *, Utils::Id const&)::{lambda()#2}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void * *, bool *)                                                                                                           qobjectdefs_impl.h         408  0x7fff2baf9632 
      12 ??                                                                                                                                                                                                                                                                                                                                                                                                                       0x7ffff5b97a32 
      13 LanguageClient::InterfaceController::started                                                                                                                                                                                                                                                                                                                                             client.moc                 199  0x7fff2bac2761 
      14 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (LanguageClient::InterfaceController:: *)()>::call(void (LanguageClient::InterfaceController:: *)(), LanguageClient::InterfaceController *, void * *)                                                                                                                                                     qobjectdefs_impl.h         135  0x7fff2bb106cd 
      15 QtPrivate::FunctionPointer<void (LanguageClient::InterfaceController:: *)()>::call<QtPrivate::List<>, void>(void (LanguageClient::InterfaceController:: *)(), LanguageClient::InterfaceController *, void * *)                                                                                                                                                                           qobjectdefs_impl.h         172  0x7fff2bb045ec 
      16 QtPrivate::QSlotObject<void (LanguageClient::InterfaceController:: *)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void * *, bool *)                                                                                                                                                                                                                  qobjectdefs_impl.h         383  0x7fff2baf8a1b 
      17 QObject::event(QEvent *)                                                                                                                                                                                                                                                                                                                                                                                                 0x7ffff5b8937c 
      18 QApplicationPrivate::notify_helper(QObject *, QEvent *)                                                                                                                                                                                                                                                                                                                                                                  0x7ffff6f770f2 
      19 QCoreApplication::notifyInternal2(QObject *, QEvent *)                                                                                                                                                                                                                                                                                                                                                                   0x7ffff5b3929a 
      20 QCoreApplicationPrivate::sendPostedEvents(QObject *, int, QThreadData *)                                                                                                                                                                                                                                                                                                                                                 0x7ffff5b3fdfd 
      21 ??                                                                                                                                                                                                                                                                                                                                                                                                                       0x7ffff5de11b3 
      22 g_main_context_dispatch                                                                                                                                                                                                                                                                                                                                                                                                  0x7ffff551bd3b 
      23 ??                                                                                                                                                                                                                                                                                                                                                                                                                       0x7ffff55706c8 
      24 g_main_context_iteration                                                                                                                                                                                                                                                                                                                                                                                                 0x7ffff55193e3 
      25 QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)                                                                                                                                                                                                                                                                                                                                               0x7ffff5de0b3a 
      26 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)                                                                                                                                                                                                                                                                                                                                                                  0x7ffff5b44d5b 
      27 QDialog::exec()                                                                                                                                                                                                                                                                                                                                                                                                          0x7ffff71bf455 
      28 Core::Internal::EditorManagerPrivate::openEditor                                                                                                                                                                                                                                                                                                                                         editormanager.cpp          863  0x7fff3a28b9b5 
      29 Core::Internal::EditorManagerPrivate::openEditorAt                                                                                                                                                                                                                                                                                                                                       editormanager.cpp          939  0x7fff3a28c360 
      30 Core::EditorManager::openEditorAt                                                                                                                                                                                                                                                                                                                                                        editormanager.cpp          3154 0x7fff3a298482 
      31 QtSupport::Internal::QtOutputLineParser::openEditor                                                                                                                                                                                                                                                                                                                                      qtoutputformatter.cpp      210  0x7fffc43134db 
      32 QtSupport::Internal::QtOutputLineParser::handleLink                                                                                                                                                                                                                                                                                                                                      qtoutputformatter.cpp      157  0x7fffc4312868 
      33 Utils::OutputFormatter::handleLink                                                                                                                                                                                                                                                                                                                                                       outputformatter.cpp        548  0x7ffff79bbbc3 
      34 Core::OutputWindow::handleLink                                                                                                                                                                                                                                                                                                                                                           outputwindow.cpp           194  0x7fff3a4e7843 
      35 Core::OutputWindow::mouseReleaseEvent                                                                                                                                                                                                                                                                                                                                                    outputwindow.cpp           200  0x7fff3a4e78fe 
      36 QWidget::event(QEvent *)                                                                                                                                                                                                                                                                                                                                                                                                 0x7ffff6fccb48 
      37 QFrame::event(QEvent *)                                                                                                                                                                                                                                                                                                                                                                                                  0x7ffff70626f2 
      38 QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject *, QEvent *)                                                                                                                                                                                                                                                                                                                                              0x7ffff5b3903a 
      39 QApplicationPrivate::notify_helper(QObject *, QEvent *)                                                                                                                                                                                                                                                                                                                                                                  0x7ffff6f770e1 
      40 QApplication::notify(QObject *, QEvent *)                                                                                                                                                                                                                                                                                                                                                                                0x7ffff6f7fa68 
      41 QCoreApplication::notifyInternal2(QObject *, QEvent *)                                                                                                                                                                                                                                                                                                                                                                   0x7ffff5b3929a 
      42 QApplicationPrivate::sendMouseEvent(QWidget *, QMouseEvent *, QWidget *, QWidget *, QWidget * *, QPointer<QWidget>&, bool, bool)                                                                                                                                                                                                                                                                                         0x7ffff6f7edd0 
      43 ??                                                                                                                                                                                                                                                                                                                                                                                                                       0x7ffff6fde591 
      44 ??                                                                                                                                                                                                                                                                                                                                                                                                                       0x7ffff6fe115b 
      45 QApplicationPrivate::notify_helper(QObject *, QEvent *)                                                                                                                                                                                                                                                                                                                                                                  0x7ffff6f770f2 
      46 QCoreApplication::notifyInternal2(QObject *, QEvent *)                                                                                                                                                                                                                                                                                                                                                                   0x7ffff5b3929a 
      47 QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent *)                                                                                                                                                                                                                                                                                                                                   0x7ffff65bd3c0 
      48 QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)                                                                                                                                                                                                                                                                                                                                    0x7ffff660e22c 
      49 ??                                                                                                                                                                                                                                                                                                                                                                                                                       0x7ffff6aa3020 
      50 g_main_context_dispatch                                                                                                                                                                                                                                                                                                                                                                                                  0x7ffff551bd3b 
      51 ??                                                                                                                                                                                                                                                                                                                                                                                                                       0x7ffff55706c8 
      52 g_main_context_iteration                                                                                                                                                                                                                                                                                                                                                                                                 0x7ffff55193e3 
      53 QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)                                                                                                                                                                                                                                                                                                                                               0x7ffff5de0b3a 
      54 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)                                                                                                                                                                                                                                                                                                                                                                  0x7ffff5b44d5b 
      55 QCoreApplication::exec()                                                                                                                                                                                                                                                                                                                                                                                                 0x7ffff5b4113e 
      56 main                                                                                                                                                                                                                                                                                                                                                                                     main.cpp                   810  0x555555564cc4                                                                                                                                                                                                                                                                                                                                                                                                                              
      

      The error was one produced with qmlWarning (from a patch not yet merged), pointing to Qt's embedded sources:

      qrc:/qt-project.org/imports/QtQuick/Controls/Material/TextArea.qml:38:5: QML FloatingPlaceholderText: Attached TextArea object doesn't exist on Flickable!
      

      I have qmlls enabled.

      Attachments

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

        Activity

          People

            davschul David Schulz
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes