Details
-
Bug
-
Resolution: Won't Do
-
P1: Critical
-
None
-
5.5.1, 5.9.6, 5.11.1
-
None
-
Embedded linux on iMX6 sabrelite.
Description
If application calls QDBusConnection::systemBus() function before d-bus daemon is running, it will create invalid global d-bus connection which remains invalid for the lifetime of application. So at creation time of global d-bus connection there is no check if creation actually was success.
Steps to reproduce (use provided test app):
- Shut down all d-bus daemons (main, socket, session)
- Start application, it should print out dbus connection nok
- Start d-bus daemons
- From test app UI click all buttons.
- Observe print outs in console
Expection would be that all should print out ok. Now only "manual" will print ok as for working d-bus connection.