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

When the cache for a QML file is generated and then loaded it will cause a crash

    XMLWordPrintable

Details

    • d0d4cc528ba9e3c39c15a2292066dac1d457abd5 (qt/qtdeclarative/dev) 81c2da0c7ccc361e3cc2206d30aaeb55065a5352 (qt/qtdeclarative/6.1) 06aca6a1d5f4bad74bb5d3d82025ffd789557a05 (qt/qtdeclarative/6.0) 4a5b989755 (qt/tqtc-qtdeclarative/5.15-opensource)

    Description

      When the cache for a QML file is generated and then loaded it will cause a crash. If the application is restarted afterwards then it is fine, modifying MessageDialog.qml in the example is enough to get it to crash again. The stack is:

      Thread 5 Crashed:: QQmlThread
      0   org.qt-project.QtQml          	0x000000010f0ccc40 QQmlType::lookupInlineComponentIdByName(QString const&) const + 32
      1   org.qt-project.QtQml          	0x000000010f0827fb QQmlTypeData::done() + 539
      2   org.qt-project.QtQml          	0x000000010f076d8f QQmlDataBlob::tryDone() + 63
      3   org.qt-project.QtQml          	0x000000010f0d15c5 QQmlTypeLoader::setData(QQmlDataBlob*, QQmlDataBlob::SourceCodeData const&) + 149
      4   org.qt-project.QtQml          	0x000000010f0d0e1b QQmlTypeLoader::setData(QQmlDataBlob*, QString const&) + 107
      5   org.qt-project.QtQml          	0x000000010f0d0c52 QQmlTypeLoader::loadThread(QQmlDataBlob*) + 338
      6   org.qt-project.QtQml          	0x000000010f0910c2 QQmlTypeLoaderThread::loadThread(QQmlDataBlob*) + 18
      7   org.qt-project.QtQml          	0x000000010f1457be QQmlThreadPrivate::threadEvent() + 126
      8   org.qt-project.QtQml          	0x000000010f145730 QQmlThreadPrivate::event(QEvent*) + 32
      9   org.qt-project.QtCore         	0x000000010f70b888 QCoreApplicationPrivate::notify_helper(QObject*, QEvent*) + 88
      10  org.qt-project.QtCore         	0x000000010f70b536 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 166
      11  org.qt-project.QtCore         	0x000000010f70c673 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 803
      12  org.qt-project.QtCore         	0x000000010f76a779 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 73
      13  org.qt-project.QtCore         	0x000000010f707937 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471
      14  org.qt-project.QtCore         	0x000000010f544b33 QThread::exec() + 131
      15  org.qt-project.QtQml          	0x000000010f145849 QQmlThreadPrivate::run() + 57
      16  org.qt-project.QtCore         	0x000000010f545a49 QThreadPrivate::start(void*) + 329
      17  libsystem_pthread.dylib       	0x00007fff6c682109 _pthread_start + 148
      18  libsystem_pthread.dylib       	0x00007fff6c67db8b thread_start + 15
      

      Attachments

        Activity

          People

            ulherman Ulf Hermann
            andysh Andy Shaw
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: