dbus_bus_get(DBUS_BUS_SESSION, &error) hangs indefinitely on OS X

René J.V. Bertin rjvbertin at gmail.com
Thu Oct 15 06:47:56 PDT 2015


On Thursday October 15 2015 00:37:04 Rick Mann wrote:

> >> Calling dbus_bus_get(DBUS_BUS_SESSION, &error) on OS X 10.10.5, dbus_bus_get(DBUS_BUS_SESSION, &error) hangs indefinitely.

> > This may be unrelated, but what was the last OS X version you know this worked as expected?
> 
> Oh, for sure it worked on 10.10.0/10.10.1.
> 
> IIRC, it has always hung if my node.js server wasn't running. But it's running now, and it's still hanging.

FWIW, Qt4 uses this call too (in dbus/dbusconnection.cpp) and I'm pretty sure that code is executed regularly when running KDE4 applications. I haven't heard anything about hangs on recent OS X versions (I'm still on 10.9 myself).

Are you sure your node.js server hasn't been updated?

R


More information about the dbus mailing list