DBus issue on Windows
Vincent Torri
vincent.torri at gmail.com
Sat Jun 11 13:21:01 PDT 2011
On Sat, Jun 11, 2011 at 8:25 PM, Simon McVittie <
simon.mcvittie at collabora.co.uk> wrote:
> On Sat, 11 Jun 2011 at 10:41:08 +0800, Vincent Zhang wrote:
> > After digging the code,
> > I found it is the dbus daemon mutex issue: dbus daemon uses a shared
> > memory file store the bus address and uses a mutex protect it, but the
> > mutex is used incorrectly:
>
> Could you open a bug on bugs.freedesktop.org, please? Patches would also
> be
> welcome.
>
> > 2. There is another issue about session
> > bus default address. DBUS_SESSION_BUS_DEFAULT_ADDRESS, deduced in
> > configure.ac, is not exported to config.h, so the default session
> > bus address used in dbus lib maybe inconsistent with the one in
> > session.conf
>
> D-Bus on Windows with autotools isn't amazingly well tested; again, bug
> reports and patches welcome.
>
What I can say is that, with the advices of Vincent Zhang:
1) changing in configure.ac the value of DBUS_SESSION_BUS_DEFAULT_ADDRESS to
"autolaunch:scope=*install-path"
2) adding in configure.acAC_DEFINE_UNQUOTED(DBUS_SESSION_BUS_DEFAULT_ADDRESS,
"$DBUS_SESSION_BUS_DEFAULT_ADDRESS", [Session bus default address])
makes dbus 1.4.12 working on Windows, while it was not the case without
those changes (note that i didn't test with 1) and without 2). I'll give it
a try).
regards
Vincent Torri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20110611/000e3b3d/attachment.htm>
More information about the dbus
mailing list