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

QML Compiler QQmlTread crashes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P1: Critical
    • 5.15, 6.2, 6.5
    • 5.15.7
    • QML: Compiler
    • None
    • Linux/Yocto

    Description

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

      >~"#5  <signal handler called>\n"
      
      
      >~"#6  QMetaObject::indexOfClassInfo (this=this@entry=0x0, name=name@entry=0x7fb1359660 \"DeferredPropertyNames\") at /usr/src/debug/qtbase/5.15.7+gitAUTOINC+dbf21da8a6-r0/git/src/corelib/kernel/qmetaobject.cpp:1059\n"
      >~"#7  0x0000007fb12aa2d4 in QQmlDeferredAndCustomParserBindingScanner::scanObject (this=this@entry=0x7f537fd0a8, objectIndex=<optimized out>) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypecompiler.cpp:1270\n"
      >~"#8  0x0000007fb12aa4ac in QQmlDeferredAndCustomParserBindingScanner::scanObject (this=this@entry=0x7f537fd0a8, objectIndex=objectIndex@entry=0) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypecompiler.cpp:1312\n"
      >~"#9  0x0000007fb12aa8fc in QQmlDeferredAndCustomParserBindingScanner::scanObject (this=this@entry=0x7f537fd0a8) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypecompiler.cpp:1232\n"
      >~"#10 0x0000007fb12afbf8 in QQmlTypeCompiler::compile (this=this@entry=0x7f537fd1f8) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypecompiler.cpp:132\n"
      >~"#11 0x0000007fb11e76d8 in QQmlTypeData::compile(QQmlRefPointer<QQmlTypeNameCache> const&, QV4::ResolvedTypeReferenceMap*, std::function<QByteArray ()> const&) (this=this@entry=0x55ae73bf70, typeNameCache=..., resolvedTypeCache=resolvedTypeCache@entry=0x7f537fd2d0, dependencyHasher=...) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypedata.cpp:774\n"
      >~"#12 0x0000007fb11ecf28 in QQmlTypeData::done (this=0x55ae73bf70) at /usr/include/c++/9.3.0/bits/std_function.h:87\n"
      >~"#13 0x0000007fb11d8530 in QQmlDataBlob::tryDone (this=0x55ae73bf70) at ../../include/QtQml/5.15.7/QtQml/private/../../../../../../git/src/qml/qml/ftw/qqmlrefcount_p.h:116\n"
      >~"#14 QQmlDataBlob::tryDone (this=this@entry=0x55ae73bf70) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmldatablob.cpp:515\n"
      >~"#15 0x0000007fb1246310 in QQmlTypeLoader::setCachedUnit (this=<optimized out>, blob=blob@entry=0x55ae73bf70, unit=0x7f897b9a30 <QmlCacheGeneratedCode::_gui_apps_Navigation_src_Ui_NavigationAppWindow_qml::qmlData>) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypeloader.cpp:477\n"
      >~"#16 0x0000007fb12463a4 in QQmlTypeLoader::loadWithCachedUnitThread (this=<optimized out>, blob=blob@entry=0x55ae73bf70, unit=<optimized out>) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypeloader.cpp:266\n"
      >~"#17 0x0000007fb11f6458 in QQmlTypeLoaderThread::loadWithCachedUnitThread (this=<optimized out>, b=0x55ae73bf70, unit=<optimized out>) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/qqmltypeloaderthread.cpp:174\n"
      >~"#18 0x0000007fb12cfa08 in QQmlThreadPrivate::threadEvent (this=0x55ae071750) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/ftw/qqmlthread.cpp:198\n"
      >~"#19 0x0000007fb12d01a4 in QQmlThreadPrivate::event (this=0x55ae071750, e=0x55af748810) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/ftw/qqmlthread.cpp:142\n"
      >~"#20 0x0000007fb033d794 in QCoreApplication::notifyInternal2 (receiver=0x55ae071750, event=0x55af748810) at ../../include/QtCore/5.15.7/QtCore/private/../../../../../../git/src/corelib/thread/qthread_p.h:325\n"
      >~"#21 0x0000007fb033d9d4 in QCoreApplication::sendEvent (receiver=receiver@entry=0x55ae071750, event=event@entry=0x55af748810) at /usr/src/debug/qtbase/5.15.7+gitAUTOINC+dbf21da8a6-r0/git/src/corelib/kernel/qcoreapplication.cpp:1462\n"
      >~"#22 0x0000007fb0340510 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55ae0a9a70) at /usr/src/debug/qtbase/5.15.7+gitAUTOINC+dbf21da8a6-r0/git/src/corelib/kernel/qcoreapplication.cpp:1821\n"
      >~"#23 0x0000007fb0340ae4 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\n"
      >~"#24 0x0000007fb039ea28 in postEventSourceDispatch (s=0x7f40004780) at /usr/src/debug/qtbase/5.15.7+gitAUTOINC+dbf21da8a6-r0/git/src/corelib/kernel/qeventdispatcher_glib.cpp:277\n"
      >~"#25 0x0000007faf263854 in g_main_dispatch (context=0x7f40000c20) at ../glib-2.62.4/glib/gmain.c:3216\n"
      >~"#26 g_main_context_dispatch (context=context@entry=0x7f40000c20) at ../glib-2.62.4/glib/gmain.c:3881\n"
      >~"#27 0x0000007faf263ac0 in g_main_context_iterate (context=context@entry=0x7f40000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.62.4/glib/gmain.c:3954\n"
      >~"#28 0x0000007faf263b64 in g_main_context_iteration (context=0x7f40000c20, may_block=1) at ../glib-2.62.4/glib/gmain.c:4015\n"
      >~"#29 0x0000007fb039ded4 in QEventDispatcherGlib::processEvents (this=0x7f40000b60, flags=...) at /usr/src/debug/qtbase/5.15.7+gitAUTOINC+dbf21da8a6-r0/git/src/corelib/kernel/qeventdispatcher_glib.cpp:423\n"
      >~"#30 0x0000007fb033be84 in QEventLoop::exec (this=this@entry=0x7f537fd838, flags=flags@entry=...) at ../../include/QtCore/../../../git/src/corelib/global/qflags.h:141\n"
      >~"#31 0x0000007fb0144ad0 in QThread::exec (this=this@entry=0x55ae071750) at ../../include/QtCore/../../../git/src/corelib/global/qflags.h:121\n"
      >~"#32 0x0000007fb12cf614 in QQmlThreadPrivate::run (this=0x55ae071750) at /usr/src/debug/qtdeclarative/5.15.7+gitAUTOINC+4757cac470-r0.2/git/src/qml/qml/ftw/qqmlthread.cpp:155\n"
      >~"#33 0x0000007fb0145fb4 in QThreadPrivate::start (arg=0x55ae071750) at /usr/src/debug/qtbase/5.15.7+gitAUTOINC+dbf21da8a6-r0/git/src/corelib/thread/qthread_unix.cpp:344\n"
      >~"#34 0x0000007fb002b4c8 in start_thread (arg=0x7fdcca8af6) at pthread_create.c:477\n"
      >~"#35 0x0000007fafd838fc in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78\n"  

       

       

      Function does not check object as nullptr (qqmltypecompiler.cpp:1269)

      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:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes