dbus-daemon on Windows: Failed to bind socket "localhost:59367": Address already in use

Ralf Habacker ralf at habacker.de
Sat Jan 3 09:55:41 PST 2015


Am 02.01.2015 um 23:17 schrieb Thomas Sondergaard:
> When I run the attached test programs I get a handful or so of cases
> where the dbus-daemon fails to start with a message like
>
> Failed to bind socket "localhost:59367": Address already in use
>
> This surprises me. First I thought it was some kind of race condition
> when starting multiple buses at the same time (dbus-test.cc), but it
> also fails a handful of times out of a thousand when only one process
> is started at a time (dbus-test-nothreads.cc).
>
> This is using D-Bus Message Bus Daemon 1.8.10 on Windows.
>
> Steps to reproduce:
>
> 1. Compile the small test program on Windows
> 2. Make sure dbus-daemon is in the path
> 3. Run the test program
>
> The nothreads version takes about 4 minutes to run.
I filed a related bug https://bugs.freedesktop.org/show_bug.cgi?id=87999.

To be able to follow this bug you should request a bugs freedesktop
account.

Regards
 Ralf




More information about the dbus mailing list