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

Crash when starting applications on 5.15.0

    XMLWordPrintable

Details

    • Linux/Wayland, Linux/X11
    • add46fd9055088e6aa458f21558234e267eb60ca (qt/qtdeclarative/5.15)

    Description

      When I run our Kirigami applications on Qt 5.15.0, I get a crash at startup. Looking at the backtrace it seems like something is going off at start.

      See attached an imports log, a test project.

      Crash Backtrace:

      #0  0x00007ffff7d9c896 in QV4::Value::as<QV4::VariantObject> (this=0x7fffee667228) at ../../include/QtQml/5.15.0/QtQml/private/../../../../../../../../devel/frameworks/qt5/qtdeclarative/src/qml/memory/qv4heap_p.h:73
      #1  ResolvedList::ResolvedList (prop=0x7fffee66bad0, this=<optimized out>) at /home/apol/devel/frameworks/qt5/qtdeclarative/src/qml/qml/qqmlvmemetaobject.cpp:87
      #2  list_count (prop=0x7fffee66bad0) at /home/apol/devel/frameworks/qt5/qtdeclarative/src/qml/qml/qqmlvmemetaobject.cpp:124
      #3  0x00007ffff7e31d0e in QmlListWrapperOwnPropertyKeyIterator::next (this=0x555555b47a90, o=0x7fffeec0a5c0, pd=0x7fffeec0a5d0, attrs=0x7fffffffd6b6) at /home/apol/devel/frameworks/qt5/qtdeclarative/src/qml/qml/qqmllistwrapper_p.h:87
      #4  0x00007ffff7cbd78a in QV4::ForInIteratorObject::nextProperty (this=0x7fffeec0a510) at ../../include/QtQml/5.15.0/QtQml/private/../../../../../../../../devel/frameworks/qt5/qtdeclarative/src/qml/common/qv4staticvalue_p.h:325
      #5  0x00007ffff7cbd91d in QV4::ForInIteratorPrototype::method_next (b=<optimized out>, thisObject=<optimized out>) at /home/apol/devel/frameworks/qt5/qtdeclarative/src/qml/jsruntime/qv4objectiterator.cpp:152
      #6  0x00007ffff7d02573 in QV4::FunctionObject::call (argc=<optimized out>, argv=<optimized out>, thisObject=<optimized out>, this=0x7fffeec0a5b0) at /home/apol/devel/frameworks/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:172
      #7  QV4::FunctionObject::call (data=..., this=0x7fffeec0a5b0) at /home/apol/devel/frameworks/qt5/qtdeclarative/src/qml/jsruntime/qv4jscall_p.h:112
      #8  QV4::Runtime::IteratorNext::call (engine=0x555555604080, iterator=..., value=0x7fffeec0a560) at /home/apol/devel/frameworks/qt5/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:829
      #9  0x00007ffff7cedf16 in QV4::Moth::VME::interpret (frame=0x7fffffffd940, engine=0x555555604080, code=0x7fffedc03389 "J(\026\f\030\b.\021\030\r\026\b4\r\030\a\022\r\030\017\246\022\a\001\017pJ\006\026\a:\023L\005\246\024\t\001\aRHѸ")
          at /home/apol/devel/frameworks/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:914
      #10 0x00007ffff7cf2837 in QV4::Moth::VME::exec (frame=frame@entry=0x7fffffffd940, engine=engine@entry=0x555555604080) at /home/apol/devel/frameworks/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:463
      #11 0x00007ffff7c8267d in QV4::Function::call (this=this@entry=0x555555986bb0, thisObject=<optimized out>, argv=argv@entry=0x7fffeec0a500, argc=<optimized out>, context=<optimized out>)
          at /home/apol/devel/frameworks/qt5/qtdeclarative/src/qml/jsruntime/qv4function.cpp:69
      #12 0x00007ffff7e21f77 in QQmlJavaScriptExpression::evaluate (this=this@entry=0x555555867420, callData=callData@entry=0x7fffeec0a4d0, isUndefined=isUndefined@entry=0x7fffffffdb3f)
          at ../../include/QtQml/5.15.0/QtQml/private/../../../../../../../../devel/frameworks/qt5/qtdeclarative/src/qml/jsruntime/qv4value_p.h:343
      #13 0x00007ffff7e27b3f in QQmlBinding::evaluate (this=this@entry=0x555555867420, isUndefined=isUndefined@entry=0x7fffffffdb3f) at ../../include/QtQml/5.15.0/QtQml/private/../../../../../../../../devel/frameworks/qt5/qtdeclarative/src/qml/jsruntime/qv4jscall_p.h:95
      #14 0x00007ffff7e2bfa9 in QQmlNonbindingBinding::doUpdate (this=0x555555867420, watcher=..., flags=..., scope=...) at /home/apol/devel/frameworks/qt5/qtdeclarative/src/qml/qml/qqmlbinding.cpp:254
      #15 0x00007ffff7e28e32 in QQmlBinding::update (this=0x555555867420, flags=...) at /home/apol/devel/frameworks/qt5/qtdeclarative/src/qml/qml/qqmlbinding.cpp:194
      #16 0x00007ffff7e3aaa6 in QQmlObjectCreator::finalize (this=0x555555648290, interrupt=...) at /home/apol/devel/frameworks/qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1389
      #17 0x00007ffff7db8b6b in QQmlComponentPrivate::complete (state=0x7fffe00032b8, enginePriv=0x555555603930) at /home/apol/devel/frameworks/qt5/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:988
      #18 QQmlComponentPrivate::complete (enginePriv=0x555555603930, state=0x7fffe00032b8) at /home/apol/devel/frameworks/qt5/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:984
      #19 0x00007ffff7dbb87e in QQmlComponentPrivate::completeCreate (this=0x7fffe0003230) at /home/apol/devel/frameworks/qt5/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:1080
      #20 QQmlComponentPrivate::completeCreate (this=0x7fffe0003230) at /home/apol/devel/frameworks/qt5/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:1070
      #21 0x00007ffff7db85dc in QQmlComponent::create (this=0x555555643160, context=<optimized out>) at /home/apol/devel/frameworks/qt5/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:821
      #22 0x00007ffff7e2f166 in QQmlApplicationEnginePrivate::finishLoad (this=this@entry=0x555555603930, c=c@entry=0x555555643160) at /home/apol/build-devel/qt5/qtbase/include/QtCore/../../../../../devel/frameworks/qt5/qtbase/src/corelib/tools/qmap.h:598
      #23 0x00007ffff7e2f77e in QQmlApplicationEnginePrivate::startLoad (this=0x555555603930, url=..., data=..., dataFlag=dataFlag@entry=false) at /home/apol/devel/frameworks/qt5/qtdeclarative/src/qml/qml/qqmlapplicationengine.cpp:134
      #24 0x00007ffff7e2f82d in QQmlApplicationEngine::load (this=<optimized out>, url=...) at /home/apol/build-devel/qt5/qtbase/include/QtCore/../../../../../devel/frameworks/qt5/qtbase/src/corelib/tools/qarraydata.h:257
      #25 0x000055555555c32c in main (argc=<optimized out>, argv=<optimized out>) at /home/apol/devel/frameworks/qt5/qtdeclarative/tools/qml/main.cpp:653
      

      Attachments

        1. importslog
          152 kB
          Aleix Pol
        2. QTBUG82171.tar.gz
          0.5 kB
          Fabian Kosmale
        3. simplecrash.qml
          0.1 kB
          Aleix Pol
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            fabiankosmale Fabian Kosmale
            apol Aleix Pol
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes