Re: DBus on "other" platforms

Simon McVittie <simon.mcvittie-ZGY8ohtN/[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Organization Collabora Ltd.
Message-ID <[email protected]>
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/>

_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
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.