Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Spurious crash at startup
Forum Updated to NodeBB v4.3 + New Features

Spurious crash at startup

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 202 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    maxwell31
    wrote on last edited by
    #1

    Hi,
    Sometimes my Qt application crashs on startup (not reproducible) and I get the output below. What can I do to find the error? I am using Qt 5.15.2

    UndefinedBehaviorSanitizer:DEADLYSIGNAL
    ==18986==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address (pc 0x7f9c40c1536d bp 0x000000000000 sp 0x7ffc01e44710 T18986)
    ==18986==The signal is caused by a READ memory access.
    ==18986==Hint: this fault was caused by a dereference of a high value address (see register values below).  Dissassemble the provided pc to learn which register was used.
        #0 0x7f9c40c1536d in QQmlVMEMetaObject::get(QObject*) /home/qt/work/qt/qtdeclarative/src/qml/../../include/QtQml/5.15.2/QtQml/private/../../../../../src/qml/qml/qqmlvmemetaobject_p.h:243
        #1 0x7f9c40c1536d in QQmlObjectCreator::populateInstance(int, QObject*, QObject*, QQmlPropertyData const*) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1502
        #2 0x7f9c40c17596 in QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*, QV4::CompiledData::Binding const*) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:886
        #3 0x7f9c40c18542 in QQmlObjectCreator::setupBindings(bool) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:798
        #4 0x7f9c40c14d5c in QQmlObjectCreator::populateInstance(int, QObject*, QObject*, QQmlPropertyData const*) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1555
        #5 0x7f9c40c15d7c in QQmlObjectCreator::createInstance(int, QObject*, bool) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1348
        #6 0x7f9c40c17fe5 in QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*, QV4::CompiledData::Binding const*) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:847
        #7 0x7f9c40c18542 in QQmlObjectCreator::setupBindings(bool) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:798
        #8 0x7f9c40c14d5c in QQmlObjectCreator::populateInstance(int, QObject*, QObject*, QQmlPropertyData const*) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1555
        #9 0x7f9c40c15d7c in QQmlObjectCreator::createInstance(int, QObject*, bool) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1348
        #10 0x7f9c40c17fe5 in QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*, QV4::CompiledData::Binding const*) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:847
        #11 0x7f9c40c18542 in QQmlObjectCreator::setupBindings(bool) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:798
        #12 0x7f9c40c14d5c in QQmlObjectCreator::populateInstance(int, QObject*, QObject*, QQmlPropertyData const*) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1555
        #13 0x7f9c40c15d7c in QQmlObjectCreator::createInstance(int, QObject*, bool) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1348
        #14 0x7f9c40c18f55 in QQmlObjectCreator::create(int, QObject*, QQmlInstantiationInterrupt*, int) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:204
        #15 0x7f9c40ba0de5 in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlincubator.cpp:298
        #16 0x7f9c40ba1903 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlincubator.cpp:89
        #17 0x7f9c40ff2251 in QQmlDelegateModelPrivate::object(QQmlListCompositor::Group, int, QQmlIncubator::IncubationMode) /home/qt/work/qt/qtdeclarative/src/qmlmodels/qqmldelegatemodel.cpp:1304
        #18 0x7f9c40ff2571 in QQmlDelegateModel::object(int, QQmlIncubator::IncubationMode) /home/qt/work/qt/qtdeclarative/src/qmlmodels/qqmldelegatemodel.cpp:1340
        #19 0x7f9c41e8cf83 in QQuickRepeaterPrivate::requestItems() /home/qt/work/qt/qtdeclarative/src/quick/items/qquickrepeater.cpp:403
        #20 0x7f9c41e8f81d in QQuickRepeater::componentComplete() /home/qt/work/qt/qtdeclarative/src/quick/items/qquickrepeater.cpp:347
        #21 0x7f9c40c127c0 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1414
        #22 0x7f9c40b9a5f0 in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:987
        #23 0x7f9c40b9cef6 in QQmlComponentPrivate::completeCreate() /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:1079
        #24 0x7f9c40b9a0da in QQmlComponent::create(QQmlContext*) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:820
        #25 0x7f9c40c075cb in QQmlApplicationEnginePrivate::finishLoad(QQmlComponent*) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlapplicationengine.cpp:148
        #26 0x7f9c40c077e5 in QQmlApplicationEnginePrivate::startLoad(QUrl const&, QByteArray const&, bool) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlapplicationengine.cpp:132
        #27 0x7f9c40c07a1c in QQmlApplicationEngine::load(QUrl const&) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlapplicationengine.cpp:279
        #28 0x1864202 in ModuleGUIHandler::setup(QQmlApplicationEngine*) /home/james/tmpbuild/build/../src/modules/moduleguihandler/moduleguihandler.cpp:439:12
        #29 0x11eeb63 in setupModules(QQmlApplicationEngine*) /home/james/tmpbuild/build/../src/main.cpp:59:73
        #30 0x11f2a6a in main /home/james/tmpbuild/build/../src/main.cpp:179:3
        #31 0x7f9c3f8350b2 in __libc_start_main /build/glibc-eX1tMB/glibc-2.31/csu/../csu/libc-start.c:308:16
        #32 0x10e5a1d in _start (/home/james/tmpbuild/build/src/main+0x10e5a1d)
    
    UndefinedBehaviorSanitizer can not provide additional info.
    SUMMARY: UndefinedBehaviorSanitizer: SEGV /home/qt/work/qt/qtdeclarative/src/qml/../../include/QtQml/5.15.2/QtQml/private/../../../../../src/qml/qml/qqmlvmemetaobject_p.h:243 in QQmlVMEMetaObject::get(QObject*)
    ==18986==ABORTING
    
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved