dbus connection abort

Simon McVittie simon.mcvittie at collabora.co.uk
Thu Mar 10 05:27:49 PST 2011


On Thu, 10 Mar 2011 at 13:33:53 +0100, Andreas Volz wrote:
> could you imagine that the connection is down only from
> sending methods to dbus?

If you sent invalid UTF-8, an invalid boolean whose value is neither 0 nor
1 or other malformed data, yes, this can happen. My patches on
<https://bugs.freedesktop.org/show_bug.cgi?id=16338> diagnose this with a
_dbus_return_if_fail rather than silently allowing it.

> Or do I've a race condition

Are you using threads? If so, I'm afraid you get to debug them; libdbus is
theoretically thread-safe, and has what appears to be appropriate locking,
but various threading problems have been reported.

    S


More information about the dbus mailing list