Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Connman / Qt - DBus
Forum Updated to NodeBB v4.3 + New Features

Connman / Qt - DBus

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 490 Views 1 Watching
  • 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.
  • R Offline
    R Offline
    rhb327
    wrote on last edited by
    #1

    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.

    Thanks,
    -Rich

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rhb327
        wrote on last edited by
        #3

        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.

        Thanks,
        -Rich

        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