dbus_message_iter_init returns false sometimes, and can then return true when re-call it with the same dbus message?
I am sorry if it is not a right place to post such issues.
dbus_message_iter_init returns false sometimes, and can return true when re-call it with the same dbus message.
The DBus message passed to the function is unmarshalled from a byte block over the TCP connection. It could return false one out of 5000 times. If I re-execute the function by jumping back with Gdb, it will return true. Is there something to notice when using DBus message related functions?
the DBus package is dbus-1.12.12-7.fc30.x86_64
The code is here.