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

Sporadic crash seen when navigating through screens

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 5.6.3
    • None
    • Linux/Other display system

    Description

      In the environment mentioned, we are seeing a very sporadic crash when navigating between screens(*.qmls). Our understanding is that crash is happening when trying to release memory allocated and it might be due to memory corruption. Below is the call stack

      #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #1  0x712e2384 in __GI_abort () at abort.c:79
      #2  0x71330000 in __libc_message (action=action@entry=do_abort, fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:181
      #3  0x71337aec in malloc_printerr (str=<optimized out>) at malloc.c:5339
      #4  0x71339840 in _int_free (av=<optimized out>, p=0x4a9d00f, have_lock=<optimized out>) at malloc.c:4173
      #5  0x7152e454 in operator delete (ptr=<optimized out>) at ../../../../libstdc++-v3/libsupc++/del_op.cc:49
      #6  0x7152e478 in operator delete[] (ptr=<optimized out>) at ../../../../libstdc++-v3/libsupc++/del_opv.cc:35
      #7  0x71dee804 in QHashData::free_helper (this=0x4c43c18, node_delete=0x71f89db0 <QHash<QByteArray, int>::deleteNode2(QHashData::Node*)>, node_delete@entry=0x71f8a33c <QHash<QByteArray, int>::freeData(QHashData*)+40>) at tools/qhash.cpp:544
      #8  0x71f8a33c in QHash<QByteArray, int>::freeData (this=this@entry=0x7ef24118, x=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qhash.h:556
      #9  0x71f89aac in QHash<QByteArray, int>::~QHash (this=0x7ef24118, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qhash.h:247
      #10 QMetaStringTable::~QMetaStringTable (this=0x7ef24118, __in_chrg=<optimized out>) at kernel/qmetaobjectbuilder_p.h:315
      #11 buildMetaObject (d=0x4c866e8, buf=buf@entry=0x0, expectedSize=expectedSize@entry=0, relocatable=relocatable@entry=false) at kernel/qmetaobjectbuilder.cpp:1292
      #12 0x71f89b2c in QMetaObjectBuilder::toMetaObject (this=this@entry=0x4cbe064) at kernel/qmetaobjectbuilder.cpp:1498
      #13 0x7298ccf4 in QQmlOpenMetaObjectType::createProperties (this=0x4cbe038, names=...) at qml/qqmlopenmetaobject.cpp:121
      #14 0x72a83804 in ModelNodeMetaObject::initialize (this=this@entry=0x4cbdfe0) at types/qqmllistmodel.cpp:1239
      #15 0x72a838b4 in ModelNodeMetaObject::toDynamicMetaObject (this=0x4cbdfe0, object=<optimized out>) at types/qqmllistmodel.cpp:1252
      #16 0x71f8fbf8 in QObjectData::dynamicMetaObject (this=<optimized out>) at kernel/qobject.cpp:195
      #17 0x71f8fc28 in QObject::metaObject (this=<optimized out>) at .moc/moc_qobject.cpp:165
      #18 0x72995100 in QQmlNotifierEndpoint::disconnect (this=0x2855194) at ../../include/QtQml/5.6.3/QtQml/private/../../../../../src/qml/qml/qqmlnotifier_p.h:202
      #19 QQmlData::disconnectNotifiers (this=this@entry=0x4a94cb8) at qml/qqmlengine.cpp:1614
      #20 0x72997f20 in QQmlData::destroyed (this=0x4a94cb8, object=0x1c8a240) at qml/qqmlengine.cpp:1710
      #21 0x72997fb0 in QQmlData::destroyed (d=<optimized out>, o=<optimized out>) at qml/qqmlengine.cpp:683
      #22 0x71f99bc8 in QObject::~QObject (this=0x1c8a240, __in_chrg=<optimized out>) at kernel/qobject.cpp:922
      #23 0x71f9a1f8 in QObject::~QObject (this=0x1c8a240, __in_chrg=<optimized out>) at kernel/qobject.cpp:1042
      #24 0x72a7f3d4 in ListElement::destroy (this=0x4c86580, layout=0x2a978d8) at types/qqmllistmodel.cpp:1134
      #25 0x72a7f438 in ListModel::clear (this=this@entry=0x28ab538) at types/qqmllistmodel.cpp:558
      #26 0x72a7f464 in ListModel::destroy (this=0x28ab538) at types/qqmllistmodel.cpp:338
      #27 0x72a848cc in QQmlListModel::~QQmlListModel (this=0x4d0d950, __in_chrg=<optimized out>) at types/qqmllistmodel.cpp:1710
      #28 0x7299b5c8 in QQmlPrivate::QQmlElement<QQmlListModel>::~QQmlElement (this=0x4d0d950, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
      #29 QQmlPrivate::QQmlElement<QQmlListModel>::~QQmlElement (this=0x4d0d950, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
      #30 0x71f98f34 in QObjectPrivate::deleteChildren (this=this@entry=0x4f2e830) at kernel/qobject.cpp:1963
      #31 0x71f9a1b0 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1034
      #32 0x72c76010 in QQuickItem::~QQuickItem (this=0x46d15f8, __in_chrg=<optimized out>) at items/qquickitem.cpp:2332
      #33 0x72c94a60 in QQuickRectangle::~QQuickRectangle (this=0x46d15f8, __in_chrg=<optimized out>) at items/qquickrectangle_p.h:139
      #34 QQmlPrivate::QQmlElement<QQuickRectangle>::~QQmlElement (this=0x46d15f8, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
      #35 QQmlPrivate::QQmlElement<QQuickRectangle>::~QQmlElement (this=0x46d15f8, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
      #36 0x71f98f34 in QObjectPrivate::deleteChildren (this=this@entry=0x49d8b30) at kernel/qobject.cpp:1963
      #37 0x71f9a1b0 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1034
      #38 0x72c76010 in QQuickItem::~QQuickItem (this=0x4aa0a20, __in_chrg=<optimized out>) at items/qquickitem.cpp:2332
      #39 0x72c94a60 in QQuickRectangle::~QQuickRectangle (this=0x4aa0a20, __in_chrg=<optimized out>) at items/qquickrectangle_p.h:139
      #40 QQmlPrivate::QQmlElement<QQuickRectangle>::~QQmlElement (this=0x4aa0a20, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
      #41 QQmlPrivate::QQmlElement<QQuickRectangle>::~QQmlElement (this=0x4aa0a20, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
      #42 0x71f90ec8 in qDeleteInEventHandler (o=o@entry=0x4aa0a20) at kernel/qobject.cpp:4472
      #43 0x71f9217c in QObject::event (this=this@entry=0x4aa0a20, e=e@entry=0x286ecd0) at kernel/qobject.cpp:1247
      #44 0x72c742e4 in QQuickItem::event (this=0x4aa0a20, ev=0x286ecd0) at items/qquickitem.cpp:7541
      #45 0x71f630b4 in QCoreApplicationPrivate::notify_helper (receiver=0x4aa0a20, event=0x286ecd0) at kernel/qcoreapplication.cpp:1149
      #46 0x71f63154 in doNotify (receiver=receiver@entry=0x4aa0a20, event=event@entry=0x286ecd0) at kernel/qcoreapplication.cpp:1090
      #47 0x71f63290 in QCoreApplication::notify (this=this@entry=0x7ef248e0, receiver=receiver@entry=0x4aa0a20, event=event@entry=0x286ecd0) at kernel/qcoreapplication.cpp:1076
      #48 0x72249960 in QGuiApplication::notify (this=0x7ef248e0, object=0x4aa0a20, event=0x286ecd0) at kernel/qguiapplication.cpp:1626
      #49 0x73d373e0 in xplatform::XPApplication::notify (this=0x7ef248e0, receiver=<optimized out>, event=<optimized out>) at ../../src/utils/xpapplication.cpp:44
      #50 0x71f631f8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x4aa0a20, event=event@entry=0x286ecd0) at kernel/qcoreapplication.cpp:1015
      #51 0x71f68c50 in QCoreApplication::sendEvent (event=0x286ecd0, receiver=0x4aa0a20) at kernel/qcoreapplication.h:225
      #52 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1480ca0) at kernel/qcoreapplication.cpp:1650
      #53 0x71fbf154 in QEventDispatcherUNIX::processEvents (this=0x1542e10, flags=...) at kernel/qeventdispatcher_unix.cpp:579
      #54 0x6cc686e8 in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
      #55 0x71f61884 in QEventLoop::processEvents (this=this@entry=0x7ef24828, flags=..., flags@entry=...) at kernel/qeventloop.cpp:128
      #56 0x71f61d2c in QEventLoop::exec (this=this@entry=0x7ef24828, flags=flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:53
      #57 0x71f6a778 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:111
      #58 0x72243f98 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1617
      #59 0x0017763c in common_ij::Main_Routine (argc=2, argv=<optimized out>) at ../../../../../../Eclipse/src/cijui/cij_init_routine.cpp:1218
      #60 0x0014e0f0 in main (argc=<optimized out>, argv=<optimized out>) at ../../../../../../CommonHMI/IJ/main.cpp:170
       

      Is it a known issue??

      What can we do so that this issue can address.  We are also not able to tie to any particular screen because the crash seems to happen at random screen visits.

       

      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
            ravipathuri RAVIVARMA P
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes