Important: Please read the Qt Code of Conduct -

Connman / Qt - DBus

  • I'm working on an occasional application hang associated with Qt and connman. There error is as follows:

    Nov  8 00:15:48 var-som-mx6 user.notice XXXXXXX: dbus[600]: arguments to dbus_message_iter_init_append() were incorrect, assertion "message != NULL" failed in file ../../dbus-1.12.2/dbus/dbus-message.c line 2499.
    Nov  8 00:15:48 var-som-mx6 user.notice XXXXXXX: This is normally a bug in some application using the D-Bus library.
    Nov  8 00:15:48 var-som-mx6 user.notice XXXXXXX: 
    Nov  8 00:15:48 var-som-mx6 user.notice XXXXXXX:   D-Bus not built with -rdynamic so unable to print a backtrace

    I'm looking for any advice regarding debug approaches or it other have seen a similar error. I'm working on adding -rdynamic.


  • Lifetime Qt Champion


    You should add which version of Qt you are using, the Linux distribution you are running, the code where you use DBus.

  • Qt: 5.12.0
    Linux: Yocto Sumo

    Code...I don't have a great recipe to reproduce yet. I am leveraging QNetworkAccessManager and a QNetworkConfigurationManager.

    QNetworkConfigurationManager Signals / Slots

    connect(&networkManager, SIGNAL(onlineStateChanged(bool)), this, SLOT(onlineStateChanged(bool)));
        connect(&networkManager, SIGNAL(configurationAdded(QNetworkConfiguration)), this, SLOT(newConfigAdded(QNetworkConfiguration)));
        connect(&networkManager, SIGNAL(configurationRemoved(QNetworkConfiguration)), this, SLOT(newConfigRemoved(QNetworkConfiguration)));
        connect(&networkManager, SIGNAL(configurationChanged(QNetworkConfiguration)), this, SLOT(configStateChanged(QNetworkConfiguration)));
    connect(this, SIGNAL(updateNetworkConfigurations()), &networkManager, SLOT(updateConfigurations()));

    QNetworkAccessManager Signals / Slots

    • Use finished() signal

    I'm more focused on QNetworkConfigurationManager presenlty.


Log in to reply