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

QML Compiler QQmlTread crashes

    XMLWordPrintable

Details

    • Linux/Yocto

    Description

      Looks like this is the same issue as https://bugreports.qt.io/browse/QTBUG-102191
      coredump stack:

      #6  QMetaObject::indexOfClassInfo (this=this@entry=0x0, name=name@entry=0x7f857eb660 "DeferredPropertyNames") at /usr/src/debug/qtbase/5.15.7+gitAUTOINC+dbf21da8a6-r0/git/src/corelib/kernel/qmetaobject.cpp:1059
              i = -1
              m = 0x0
      #7  0x0000007f8573c2d4 in QQmlDeferredAndCustomParserBindingScanner::scanObject (this=this@entry=0x7f2a7fad78, objectIndex=<optimized out>) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypecompiler.cpp:1270
              mo = <optimized out>
              namesIndex = <optimized out>
              obj = 0x7f0c991148
              propertyCache = <optimized out>
              defaultPropertyName = {static null = {<No data fields>}, d = 0x7f848c71f0 <QArrayData::shared_null>}
              defaultProperty = 0x0
              customParser = 0x0
              propertyResolver = {cache = {o = 0x7f0d682bc0}}
              deferredPropertyNames = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, static is_always_lock_free = true}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f848c7b50 <QListData::shared_null>}, d = 0x7f848c7b50 <QListData::shared_null>}}, <No data fields>}
      #8  0x0000007f8573c4ac in QQmlDeferredAndCustomParserBindingScanner::scanObject (this=this@entry=0x7f2a7fad78, objectIndex=objectIndex@entry=0) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypecompiler.cpp:1312
              subObjectValid = <optimized out>
              pd = 0x7f0c96e328
              name = {static null = {<No data fields>}, d = 0x7f57017a98 <QmlCacheGeneratedCode::_gui_apps_AMGRace_src_Ui_controller_AMGRaceAppController_qml::qmlData+30200>}
              seenSubObjectWithId = true
              binding = 0x7f0c98e158
              obj = 0x7f0c98dfc8
              propertyCache = <optimized out>
              defaultPropertyName = {static null = {<No data fields>}, d = 0x7f0c0d1e30}
              defaultProperty = 0x7f0c0d26e8
              customParser = 0x0
              propertyResolver = {cache = {o = 0x7f0d681ac0}}
              deferredPropertyNames = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, static is_always_lock_free = true}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f848c7b50 <QListData::shared_null>}, d = 0x7f848c7b50 <QListData::shared_null>}}, <No data fields>}
      #9  0x0000007f8573c8fc in QQmlDeferredAndCustomParserBindingScanner::scanObject (this=this@entry=0x7f2a7fad78) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypecompiler.cpp:1232
      No locals.
      #10 0x0000007f85741bf8 in QQmlTypeCompiler::compile (this=this@entry=0x7f2a7faec8) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypecompiler.cpp:132
              deferredAndCustomParserBindingScanner = {<QQmlCompilePass> = {compiler = 0x7f2a7faec8}, qmlObjects = 0x7f0c614660, propertyCaches = 0x7f2a7faf00, customParsers = @0x7f2a7faef0, _seenObjectWithId = true}
              pendingGroupPropertyBindings = {<QVector<QQmlBindingInstantiationContext>> = {d = 0x7f848c71f0 <QArrayData::shared_null>}, <No data fields>}
              qmlGenerator = {<No data fields>}
              compilationUnit = <optimized out>
      #11 0x0000007f856796d8 in QQmlTypeData::compile(QQmlRefPointer<QQmlTypeNameCache> const&, QV4::ResolvedTypeReferenceMap*, std::function<QByteArray ()> const&) (this=this@entry=0x7f0c989450, typeNameCache=..., resolvedTypeCache=resolvedTypeCache@entry=0x7f2a7fafa0, dependencyHasher=...) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypedata.cpp:774
              typeRecompilation = true
              enginePrivate = <optimized out>
              compiler = {resolvedTypes = 0x7f2a7fafa0, errors = {<QListSpecialMethods<QQmlError>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, static is_always_lock_free = true}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f848c7b50 <QListData::shared_null>}, d = 0x7f848c7b50 <QListData::shared_null>}}, engine = 0x7f18004e80, dependencyHasher = @0x7f2a7fb048, document = 0x7f0c614570, customParsers = {{d = 0x7f848c7b00 <QHashData::shared_null>, e = 0x7f848c7b00 <QHashData::shared_null>}}, m_componentRoots = {d = 0x7f848c71f0 <QArrayData::shared_null>}, m_propertyCaches = {data = {d = 0x7f0d6834a0}}, typeNameCache = {o = 0x7f0d682330}, typeData = 0x7f0c989450}
              trySaveToDisk = <optimized out>
      #12 0x0000007f8567ef28 in QQmlTypeData::done (this=0x7f0c989450) at /usr/include/c++/9.3.0/bits/std_function.h:87
              cleanup = {m_func = {__this = 0x7f0c989450}, m_invoke = true}
              typeCleanupGuard = {m_func = {__this = 0x7f0c989450}, m_invoke = true}
              resolvedTypeCache = {<QMap<int, QV4::ResolvedTypeReference*>> = {d = 0x7f0d6816e0}, <No data fields>}
              typeNameCache = {o = 0x7f0d682330}
              engine = 0x557b80e4a0
              dependencyHasher = {__engine = 0x557b80e4a0, __resolvedTypeCache = @0x7f2a7fafa0, __this = 0x7f0c989450}
      #13 0x0000007f8566a530 in QQmlDataBlob::tryDone (this=0x7f0c989450) at ../../include/QtQml/5.15.7/QtQml/private/../../../../../../git/src/qml/qml/ftw/qqmlrefcount_p.h:116
      No locals.
      #14 QQmlDataBlob::tryDone (this=this@entry=0x7f0c989450) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmldatablob.cpp:515
      No locals.
      #15 0x0000007f856d8310 in QQmlTypeLoader::setCachedUnit (this=this@entry=0x7f18004fb8, blob=blob@entry=0x7f0c989450, unit=0x7f570104a0 <QmlCacheGeneratedCode::_gui_apps_AMGRace_src_Ui_controller_AMGRaceAppController_qml::qmlData>) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypeloader.cpp:477
              prof = {<QQmlProfilerHelper> = {<QQmlProfilerDefinitions> = {<No data fields>}, profiler = 0x0}, <No data fields>}
      #16 0x0000007f856d83a4 in QQmlTypeLoader::loadWithCachedUnitThread (this=this@entry=0x7f18004fb8, blob=blob@entry=0x7f0c989450, unit=<optimized out>) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypeloader.cpp:266
      No locals.
      #17 0x0000007f856df64c in CachedLoader::loadThread (this=0x7f2a7fb130, blob=0x7f0c989450, loader=0x7f18004fb8) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypeloader.cpp:182
      No locals.
      #18 QQmlTypeLoader::doLoad<CachedLoader> (this=this@entry=0x7f18004fb8, loader=..., blob=blob@entry=0x7f0c989450, mode=mode@entry=QQmlTypeLoader::PreferSynchronous) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypeloader.cpp:205
      No locals.
      #19 0x0000007f856d83e8 in QQmlTypeLoader::loadWithCachedUnit (this=this@entry=0x7f18004fb8, blob=blob@entry=0x7f0c989450, unit=unit@entry=0x7f570104a0 <QmlCacheGeneratedCode::_gui_apps_AMGRace_src_Ui_controller_AMGRaceAppController_qml::qmlData>, mode=mode@entry=QQmlTypeLoader::PreferSynchronous) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypeloader.cpp:252
      No locals.
      #20 0x0000007f856daf44 in QQmlTypeLoader::getType (this=this@entry=0x7f18004fb8, unNormalizedUrl=..., mode=mode@entry=QQmlTypeLoader::PreferSynchronous) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypeloader.cpp:822
              cachedUnit = 0x7f570104a0 <QmlCacheGeneratedCode::_gui_apps_AMGRace_src_Ui_controller_AMGRaceAppController_qml::qmlData>
              error = QQmlMetaType::CachedUnitLookupError::NoError
              url = {d = 0x7f0c970700}
              holder = {lock = @0x7f18004fb8}
              typeData = 0x7f0c989450
      #21 0x0000007f8567df74 in QQmlTypeData::resolveTypes (this=this@entry=0x557e103ca0) at ../../include/QtQml/5.15.7/QtQml/private/../../../../../../git/src/qml/qml/qqmldatablob_p.h:95
              ref = {location = {{_dummy = 0, line = {val = 0}, column = {val = 0}}}, type = {d = {o = 0x7f0c980d80}}, majorVersion = 0, minorVersion = 0, typeData = {o = 0x0}, selfReference = false, prefix = {static null = {<No data fields>}, d = 0x7f848c71f0 <QArrayData::shared_null>}, needsCreation = true}
              typeName = {static null = {<No data fields>}, d = 0x7f0c9704a0}
              majorVersion = 1
              minorVersion = 0
              csRef = @0x7f0c956ca0: {typeName = {static null = {<No data fields>}, d = 0x7f0c9704a0}, prefix = {static null = {<No data fields>}, d = 0x7f848c71f0 <QArrayData::shared_null>}, majorVersion = 1, minorVersion = 0}
              __for_range = @0x7f2a7fb278: {<QListSpecialMethods<QQmlImports::CompositeSingletonReference>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, static is_always_lock_free = true}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f0d652370}, d = 0x7f0d652370}}
              __for_begin = <optimized out>
              __for_end = <optimized out>
              resolvedScripts = {<QListSpecialMethods<QQmlImports::ScriptReference>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, static is_always_lock_free = true}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f0c988eb0}, d = 0x7f0c988eb0}}
              resolvedCompositeSingletons = {<QListSpecialMethods<QQmlImports::CompositeSingletonReference>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, static is_always_lock_free = true}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f0d652370}, d = 0x7f0d652370}}
      #22 0x0000007f85680680 in QQmlTypeData::allDependenciesDone (this=0x557e103ca0) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypedata.cpp:743
              errors = {<QListSpecialMethods<QQmlError>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, static is_always_lock_free = true}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f848c7b50 <QListData::shared_null>}, d = 0x7f848c7b50 <QListData::shared_null>}}
              it = 0x7f848c7208 <QArrayData::shared_null+24>
              end = 0x7f848c7208 <QArrayData::shared_null+24>
      #23 0x0000007f856d8398 in QQmlTypeLoader::setCachedUnit (this=<optimized out>, blob=blob@entry=0x557e103ca0, unit=0x7f570b9c30 <QmlCacheGeneratedCode::_gui_apps_AMGRace_src_Ui_startup_AMGAppTileStates_qml::qmlData>) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypeloader.cpp:470
              prof = {<QQmlProfilerHelper> = {<QQmlProfilerDefinitions> = {<No data fields>}, profiler = 0x0}, <No data fields>}
      #24 0x0000007f856d83a4 in QQmlTypeLoader::loadWithCachedUnitThread (this=<optimized out>, blob=blob@entry=0x557e103ca0, unit=<optimized out>) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypeloader.cpp:266
      No locals.
      #25 0x0000007f85688458 in QQmlTypeLoaderThread::loadWithCachedUnitThread (this=<optimized out>, b=0x557e103ca0, unit=<optimized out>) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypeloaderthread.cpp:174
      No locals.
      #26 0x0000007f85761a08 in QQmlThreadPrivate::threadEvent (this=0x557b84d570) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/ftw/qqmlthread.cpp:198
              message = 0x557e1051b0
      #27 0x0000007f857621a4 in QQmlThreadPrivate::event (this=0x557b84d570, e=0x557e388850) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/ftw/qqmlthread.cpp:142
      No locals.
      #28 0x0000007f847cf794 in QCoreApplication::notifyInternal2 (receiver=0x557b84d570, event=0x557e388850) at ../../include/QtCore/5.15.7/QtCore/private/../../../../../../git/src/corelib/thread/qthread_p.h:325
              selfRequired = true
              result = false
              cbdata = {0x557b84d570, 0x557e388850, 0x7f2a7fb4ef}
              d = <optimized out>
              threadData = 0x557b870d60
              scopeLevelCounter = {threadData = 0x557b870d60}
      #29 0x0000007f847cf9d4 in QCoreApplication::sendEvent (receiver=receiver@entry=0x557b84d570, event=event@entry=0x557e388850) at /usr/src/debug/qtbase/5.15.7+gitAUTOINC+dbf21da8a6-r0/git/src/corelib/kernel/qcoreapplication.cpp:1462
      No locals.
      #30 0x0000007f847d2510 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x557b870d60) at /usr/src/debug/qtbase/5.15.7+gitAUTOINC+dbf21da8a6-r0/git/src/corelib/kernel/qcoreapplication.cpp:1821
              e = 0x557e388850
              pe = <optimized out>
              r = 0x557b84d570
              relocker = <optimized out>
              event_deleter = {d = 0x557e388850}
              locker = {_M_device = 0x557b870d90, _M_owns = false}
              startOffset = 0
              i = @0x557b870d84: 1
              cleanup = {receiver = 0x0, event_type = 0, data = 0x557b870d60, exceptionCaught = true}
      #31 0x0000007f847d2ae4 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at /usr/src/debug/qtbase/5.15.7+gitAUTOINC+dbf21da8a6-r0/git/src/corelib/kernel/qcoreapplication.cpp:1680
              data = <optimized out>
      #32 0x0000007f84830a28 in postEventSourceDispatch (s=0x7f0c004780) at /usr/src/debug/qtbase/5.15.7+gitAUTOINC+dbf21da8a6-r0/git/src/corelib/kernel/qeventdispatcher_glib.cpp:277
              source = 0x7f0c004780
      #33 0x0000007f836f5854 in g_main_dispatch (context=0x7f0c000c20) at ../glib-2.62.4/glib/gmain.c:3216
              dispatch = 0x7f84830a00 <postEventSourceDispatch(GSource*, GSourceFunc, gpointer)>
              prev_source = 0x0
              was_in_call = 0
              user_data = 0x0
              callback = 0x0
              cb_funcs = <optimized out>
              cb_data = <optimized out>
              need_destroy = <optimized out>
              source = 0x7f0c004780
              current = 0x7f0c004a50
              i = 0
              __FUNCTION__ = "g_main_dispatch"
      #34 g_main_context_dispatch (context=context@entry=0x7f0c000c20) at ../glib-2.62.4/glib/gmain.c:3881
      No locals.
      #35 0x0000007f836f5ac0 in g_main_context_iterate (context=context@entry=0x7f0c000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.62.4/glib/gmain.c:3954
              max_priority = 2147483647
              timeout = -1
              some_ready = 1
              nfds = <optimized out>
              allocated_nfds = <optimized out>
              fds = 0x7f0c004a30
      #36 0x0000007f836f5b64 in g_main_context_iteration (context=0x7f0c000c20, may_block=1) at ../glib-2.62.4/glib/gmain.c:4015
              retval = <optimized out>
      #37 0x0000007f8482fed4 in QEventDispatcherGlib::processEvents (this=0x7f0c000b60, flags=...) at /usr/src/debug/qtbase/5.15.7+gitAUTOINC+dbf21da8a6-r0/git/src/corelib/kernel/qeventdispatcher_glib.cpp:423
              d = 0x7f0c000b80
              canWait = <optimized out>
              savedFlags = {i = 0}
              result = <optimized out>
      #38 0x0000007f847cde84 in QEventLoop::exec (this=this@entry=0x7f2a7fb838, flags=flags@entry=...) at ../../include/QtCore/../../../git/src/corelib/global/qflags.h:141
              d = 0x7f0c003690
              threadData = <optimized out>
              locker = {val = 367144326392}
              ref = <optimized out>
              app = <optimized out>
      #39 0x0000007f845d6ad0 in QThread::exec (this=this@entry=0x557b84d570) at ../../include/QtCore/../../../git/src/corelib/global/qflags.h:121
              d = 0x557b81d4a0
              locker = {val = 367144326392}
              eventLoop = {<QObject> = {_vptr.QObject = 0x7f84ac2bb0 <vtable for QEventLoop+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7f849ab770 <qt_meta_stringdata_QObject>, data = 0x7f849ab900 <qt_meta_data_QObject>, static_metacall = 0x7f84808360 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x7f0c003690}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7f849ae890 <qt_meta_stringdata_Qt>, data = 0x7f849aba20 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7f84aba700 <QObject::staticMetaObject>}, stringdata = 0x7f849a66e0 <qt_meta_stringdata_QEventLoop>, data = 0x7f849a6740 <qt_meta_data_QEventLoop>, static_metacall = 0x7f847cdb20 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
              returnCode = <optimized out>
      #40 0x0000007f85761614 in QQmlThreadPrivate::run (this=0x557b84d570) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/ftw/qqmlthread.cpp:155
      No locals.
      #41 0x0000007f845d7fb4 in QThreadPrivate::start (arg=0x557b84d570) at /usr/src/debug/qtbase/5.15.7+gitAUTOINC+dbf21da8a6-r0/git/src/corelib/thread/qthread_unix.cpp:344
              thr = 0x557b84d570
              data = <optimized out>
              __clframe = {__cancel_routine = <optimized out>, __cancel_arg = 0x557b84d570, __do_it = 1, __cancel_type = <optimized out>}
      #42 0x0000007f844bc4c8 in start_thread (arg=0x7ff18bbe56) at pthread_create.c:477
              ret = <optimized out>
              pd = 0x7ff18bbe56
              unwind_buf = {cancel_jmp_buf = {{jmp_buf = {546173862112, 549513314056, 549513313878, 549513313879, 0, 547680563200, 546173862112, 546173863904, 546173862112, 546173862304, 546173860048, 9516653466861587306, 0, 9516653469313937522, 0, 0, 0, 0, 0, 0, 0, 0}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
              not_first_call = <optimized out>
      #43 0x0000007f842148fc in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78 

      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
            alylyk Artem Lylyk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes