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

Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Organization Geek Central
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.