segfault at 10 ip 00007fbb33028d4e sp 00007ffd8d3bf380 error 4 in libdbus-1.so.3.19.13[7fbb33027000+2e000]

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Thu Sep 30 00:23:22 UTC 2021


On Wed, 29 Sep 2021 18:55:27 +0000 (UTC), Srinadh Penugonda wrote:

> How do I dump the MessageIterator?

It’s a fixed-length struct full of nothing but non-public fields. From
/usr/include/dbus-1.0/dbus/dbus-message.h:

struct DBusMessageIter
{ 
  void *dummy1;         /**< Don't use this */
  void *dummy2;         /**< Don't use this */

etc, etc.

By the way, you are supposed to allocate the structure for use by
libdbus.


More information about the dbus mailing list