<br><br><div class="gmail_quote">On Sat, Jun 11, 2011 at 8:25 PM, Simon McVittie <span dir="ltr"><<a href="mailto:simon.mcvittie@collabora.co.uk">simon.mcvittie@collabora.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Sat, 11 Jun 2011 at 10:41:08 +0800, Vincent Zhang wrote:<br>
> After digging the code,<br>
> I found it is the dbus daemon mutex issue: dbus daemon uses a shared<br>
> memory file store the bus address and uses a mutex protect it, but the<br>
> mutex is used incorrectly:<br>
<br>
</div>Could you open a bug on <a href="http://bugs.freedesktop.org" target="_blank">bugs.freedesktop.org</a>, please? Patches would also be<br>
welcome.<br>
<div class="im"><br>
> 2. There is another issue about session<br>
> bus default address. DBUS_SESSION_BUS_DEFAULT_ADDRESS, deduced in<br>
> <a href="http://configure.ac" target="_blank">configure.ac</a>, is not exported to config.h, so the default session<br>
> bus address used in dbus lib maybe inconsistent with the one in<br>
> session.conf<br>
<br>
</div>D-Bus on Windows with autotools isn't amazingly well tested; again, bug<br>
reports and patches welcome.<br></blockquote><div><br>What I can say is that, with the advices of Vincent Zhang:<br><br>1) changing in <a href="http://configure.ac">configure.ac</a> the value of DBUS_SESSION_BUS_DEFAULT_ADDRESS to "autolaunch:scope=*install-path"<br>
2) adding in <a href="http://configure.ac">configure.ac</a> AC_DEFINE_UNQUOTED(DBUS_SESSION_BUS_DEFAULT_ADDRESS, "$DBUS_SESSION_BUS_DEFAULT_ADDRESS", [Session bus default address])<br><br>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).<br>
<br>regards<br><br>Vincent Torri<br></div></div>