Uploaded image for project: 'Qt Automotive Suite'
  1. Qt Automotive Suite
  2. AUTOSUITE-1421

Crash in qml/installer test

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 5.14
    • Qt Application Manager
    • None
    • Linux/X11

    Description

      There is an abort in the QDBusConnection thread when the qml/installer test is run: 

      PASS   : appman-qmltestrunner::tst_installer.qml::Installer::initTestCase()
      QWARN  : appman-qmltestrunner::tst_installer.qml::Installer::test_1states() QDBusMarshaller: type `QtAM::Package*' (1030) is not registered with D-BUS. Use qDBusRegisterMetaType to register it
      dbus[14186]: Array or variant type requires that type variant be written, but end_dict_entry was written.
      The overall signature expected here was 'sa{sv}' and we are on byte 4 of that signature.
        D-Bus not built with -rdynamic so unable to print a backtrace
      
      *** process [...]/qtbase/bin/appman-qmltestrunner (14186) crashed ***
      
       > why: uncaught signal 6 (Aborted)
      
       > where: QDBusConnection thread, TID: 14192, pthread ID: 0x7f04665bd700
      
       > backtrace:
      PASS   : appman-qmltestrunner::tst_installer.qml::Installer::test_1states()
         0: _FUN [559456593dc4] in [...]/qtapplicationmanager/src/common-lib/unixsignalhandler.cpp:153
         1: (null) [7f047720b88f]
         2: gsignal [7f0476692e97]
         3: abort [7f0476694800]
         4: _dbus_abort [7f04747bb273]
         5: _dbus_warn_check_failed [7f04747b1aff]
         6: (null) [7f047479dbf2]
         7: _dbus_type_writer_unrecurse [7f047479ec8c]
         8: dbus_message_iter_close_container [7f04747a39d5]
         9: q_dbus_message_iter_close_container [7f047815c72f] in [...]/qtbase/src/dbus/qdbus_symbols_p.h:345
        10: QDBusMarshaller::close() [7f047815e6a5] in [...]/qtbase/src/dbus/qdbusmarshaller.cpp:371
        11: QDBusMarshaller::~QDBusMarshaller() [7f047815e375] in [...]/qtbase/src/dbus/qdbusmarshaller.cpp:59
        12: QDBusMarshaller::~QDBusMarshaller() [7f047815e3ad] in [...]/qtbase/src/dbus/qdbusmarshaller.cpp:60
        13: QDBusArgument::~QDBusArgument() [7f047815d1c6] in [...]/qtbase/src/dbus/qdbusargument.cpp:347
        14: QDBusMarshaller::appendRegisteredType(QVariant const&) [7f047815f024] in [...]/qtbase/src/dbus/qdbusmarshaller.cpp:530
        15: QDBusMarshaller::appendVariantInternal(QVariant const&) [7f047815ee8e] in [...]/qtbase/src/dbus/qdbusmarshaller.cpp:504
        16: QDBusMessagePrivate::toDBusMessage(QDBusMessage const&, QFlags<QDBusConnection::ConnectionCapability>, QDBusError*) [7f047813786a] in [...]/qtbase/src/dbus/qdbusmessage.cpp:197
        17: QDBusConnectionPrivate::relaySignal(QObject*, QMetaObject const*, int, QList<QVariant> const&) [7f047811f4ee] in [...]/qtbase/src/dbus/qdbusintegrator.cpp:1275
      PASS   : appman-qmltestrunner::tst_installer.qml::Installer::test_2cancel_update()
        18: QDBusConnectionPrivate::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [7f04781888f4] in .moc/moc_qdbusconnection_p.cpp:191
        19: QMetaCallEvent::placeMetaCall(QObject*) [7f04777c4728] in kernel/qobject.cpp:621
        20: QObject::event(QEvent*) [7f04777c5783] in kernel/qobject.cpp:1339
        21: QCoreApplicationPrivate::notify_helper(QObject*, QEvent*) [7f047777f07f] in kernel/qcoreapplication.cpp:1253
        22: doNotify [7f047777ec9f] in kernel/qcoreapplication.cpp:1182
        23: QCoreApplication::notifyInternal2(QObject*, QEvent*) [7f047777eaf7] in kernel/qcoreapplication.cpp:1091
        24: QCoreApplication::sendEvent(QObject*, QEvent*) [7f047777f531] in kernel/qcoreapplication.cpp:1487
        25: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) [7f047778016f] in kernel/qcoreapplication.cpp:1832
        26: QCoreApplication::sendPostedEvents(QObject*, int) [7f047777fab9] in kernel/qcoreapplication.cpp:1691
        27: postEventSourceDispatch [7f0477815715] in kernel/qeventdispatcher_glib.cpp:277
        28: g_main_context_dispatch [7f04744ba416]
        29: (null) [7f04744ba64f]
        30: g_main_context_iteration [7f04744ba6db]
        31: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) [7f0477815e7c] in kernel/qeventdispatcher_glib.cpp:423
        32: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) [7f047777b1c6] in kernel/qeventloop.cpp:138
        33: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [7f047777b500] in kernel/qeventloop.cpp:225
        34: QThread::exec() [7f04774fd335] in thread/qthread.cpp:536
        35: QDBusConnectionManager::run() [7f047810df26] in [...]/qtbase/src/dbus/qdbusconnection.cpp:179
        36: QThreadPrivate::start(void*) [7f04775001a2] in thread/qthread_unix.cpp:342
        37: start_thread [7f04772006da]
        38: __clone [7f047677588e]
        39: (null) [ffffffffffffffff]
      
       > qml stack:
         0: wait in file://[...]/qtbase/qml/QtTest/SignalSpy.qml:189
         1: init in file://[...]/qtapplicationmanager/tests/qml/installer/tst_installer.qml:92
         2: qtest_runInternal in file://[...]/qtbase/qml/QtTest/TestCase.qml:1784
         3: qtest_runFunction in file://[...]/qtbase/qml/QtTest/TestCase.qml:1798
         4: qtest_run in file://[...]/qtbase/qml/QtTest/TestCase.qml:1970
         5: onWhenChanged in file://[...]/qtbase/qml/QtTest/TestCase.qml:2021
      
       > the process will be aborted (core dumped)
      

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rgriebl Robert Griebl
            bweimer Bernd Weimer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes