DBus on "other" platforms

Simon McVittie simon.mcvittie at collabora.co.uk
Thu May 12 20:31:43 UTC 2016

On 12/05/16 21:07, René J.V. Bertin wrote:
> I'm seeing this:
> /creds: Failed to start message bus: Socket name too long

Looks like there's some other problem with AF_UNIX on OS X that nobody
has reported so far :-(

Is there an OS X equivalent of strace that you can try running it under?
I'd be interested to see what that too-long name actually is.

>> On the
>> other hand, the typical symptom of it not working would be a busy-loop,
>> which is not what we want.
> The broken poll check doesn't busy-loop on /dev/null, if that's
> any consolation :)

It doesn't, but the problem is that if something with the same
observable behaviour as /dev/null gets registered for polling by the
main loop, poll() immediately returns (with the "invalid" flag set for
that file descriptor), so it's very easy to get a busy-loop.

On the other hand, I added code for
https://bugs.freedesktop.org/show_bug.cgi?id=23194 and
https://bugs.freedesktop.org/show_bug.cgi?id=32992 (both in 2011) which
should avoid busy-looping.

Simon McVittie
Collabora Ltd. <http://www.collabora.com/>

More information about the dbus mailing list