D-BUS messages lost when auto-activating
Submitted by Kimmo Hämäläinen
Assigned to D-Bus Maintainers
Description
I made a simple D-BUS server which writes a line into a file when it receives a message and a client which sends 100 messages to the server with the auto-activate flag up in every one of them. The server is not initially running (it's supposed to be activated by the first message). The D-BUS system bus is used and proper .service and .conf files are installed for the server.
When the client is run, one of the two things happen:
- D-BUS system bus crashes (the server is not activated).
- Another(!) D-BUS system bus appears to ps command's listing and the server is activated, but the server does not receive any of the 100 messages.
In case of 2) happened and the client is run again, the server receives all the 100 messages (but there's still two D-BUS system buses running, according to ps).
Version: 1.5