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

Crash in QmlJS when opening project (Qt Creator in Qt Creator)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt Creator 5.0.2
    • Quick / QML Support
    • None

    Description

      Build based on Qt 5.15.2, I ran it with MallocScribble=1 on macOS/M1.

      Thread 33 Crashed:: QThread
      0   ???                           	0x00007ffe94312ab8 ???
      1   libsystem_kernel.dylib        	0x00007fff2032792e __pthread_kill + 10
      2   libsystem_c.dylib             	0x00007fff202ab411 abort + 120
      3   libsystem_malloc.dylib        	0x00007fff2018b1f5 malloc_vreport + 548
      4   libsystem_malloc.dylib        	0x00007fff2018e34a malloc_report + 151
      5   libQmlJS.5.0.2.dylib          	0x0000000125a2566e QmlJS::MemoryPool::~MemoryPool() + 94 (qmljsmemorypool_p.h:64)
      6   libQmlJS.5.0.2.dylib          	0x0000000125a24d05 QmlJS::MemoryPool::~MemoryPool() + 21 (qmljsmemorypool_p.h:60)
      7   libQmlJS.5.0.2.dylib          	0x0000000125a24cbc QmlJS::Engine::~Engine() + 92 (qmljsengine_p.cpp:106)
      8   libQmlJS.5.0.2.dylib          	0x0000000125a24d25 QmlJS::Engine::~Engine() + 21 (qmljsengine_p.cpp:106)
      9   libQmlJS.5.0.2.dylib          	0x0000000125b7ec51 QmlJS::TypeDescriptionReader::operator()(QHash<QString, QSharedPointer<LanguageUtils::FakeMetaObject const> >*, QList<QmlJS::ModuleApiInfo>*, QStringList*) + 833 (qmljstypedescriptionreader.cpp:79)
      10  libQmlJS.5.0.2.dylib          	0x0000000125aed7d4 QmlJS::CppQmlTypesLoader::parseQmlTypeDescriptions(QByteArray const&, QHash<QString, QSharedPointer<LanguageUtils::FakeMetaObject const> >*, QList<QmlJS::ModuleApiInfo>*, QStringList*, QString*, QString*, QString const&) + 436 (qmljsinterpreter.cpp:1402)
      11  libQmlJS.5.0.2.dylib          	0x0000000125b5089c QmlJS::PluginDumper::loadQmlTypeDescription(QStringList const&) const::$_4::operator()(QFutureInterface<QmlJS::PluginDumper::QmlTypeDescription>&) const + 508 (qmljsplugindumper.cpp:382)
      12  libQmlJS.5.0.2.dylib          	0x0000000125b50690 void Utils::Internal::runAsyncQFutureInterfaceDispatch<QmlJS::PluginDumper::QmlTypeDescription, QmlJS::PluginDumper::loadQmlTypeDescription(QStringList const&) const::$_4>(std::__1::integral_constant<bool, true>, QFutureInterface<QmlJS::PluginDumper::QmlTypeDescription>, QmlJS::PluginDumper::loadQmlTypeDescription(QStringList const&) const::$_4&&) + 32 (runextensions.h:257)
      13  libQmlJS.5.0.2.dylib          	0x0000000125b50639 void Utils::Internal::runAsyncMemberDispatch<QmlJS::PluginDumper::QmlTypeDescription, QmlJS::PluginDumper::loadQmlTypeDescription(QStringList const&) const::$_4, void>(QFutureInterface<QmlJS::PluginDumper::QmlTypeDescription>, QmlJS::PluginDumper::loadQmlTypeDescription(QStringList const&) const::$_4&&) + 57 (runextensions.h:274)
      14  libQmlJS.5.0.2.dylib          	0x0000000125b50569 void Utils::Internal::runAsyncImpl<QmlJS::PluginDumper::QmlTypeDescription, QmlJS::PluginDumper::loadQmlTypeDescription(QStringList const&) const::$_4>(QFutureInterface<QmlJS::PluginDumper::QmlTypeDescription>, QmlJS::PluginDumper::loadQmlTypeDescription(QStringList const&) const::$_4&&) + 57 (runextensions.h:303)
      15  libQmlJS.5.0.2.dylib          	0x0000000125b500e2 void Utils::Internal::AsyncJob<QmlJS::PluginDumper::QmlTypeDescription, QmlJS::PluginDumper::loadQmlTypeDescription(QStringList const&) const::$_4>::runHelper<0ul>(std::__1::integer_sequence<unsigned long, 0ul>) + 82 (runextensions.h:372)
      16  libQmlJS.5.0.2.dylib          	0x0000000125b4fda2 Utils::Internal::AsyncJob<QmlJS::PluginDumper::QmlTypeDescription, QmlJS::PluginDumper::loadQmlTypeDescription(QStringList const&) const::$_4>::run() + 178 (runextensions.h:352)
      17  libUtils.5.0.2.dylib          	0x00000001093f6180 Utils::Internal::RunnableThread::run() + 32 (runextensions.cpp:39)
      18  org.qt-project.QtCore         	0x000000010c9586e9 QThreadPrivate::start(void*) + 329
      19  libsystem_pthread.dylib       	0x00007fff203568fc _pthread_start + 224
      20  libsystem_pthread.dylib       	0x00007fff20352443 thread_start + 15
      
      

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes