You have been subscribed to a public bug:
if (safe_system_call(started_message) != 0)
This fails non-deterministically in the Registry test, even though it
shouldn't.
I suspect the lack of thread safety of system() is to blame, and the
safe_system_call() method with its lock doesn't do the job we were
hoping it would.
I don't think we can rely on system() to do anything for us. (I've had
problems in the past where it would hang occasionally, for example.)
Forking a shell is also a supremely expensive way to send a single dbus
message. It probably would be better for us to cobble our own dbus
message together. But do we have a thread-safe dbus API?
** Affects: unity-scopes-api (Ubuntu)
Importance: High
Status: New
--
system() fails in RegistryObject
https://bugs.launchpad.net/bugs/1362367
You received this bug notification because you are a member of Ubuntu Touch
seeded packages, which is subscribed to unity-scopes-api in Ubuntu.
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp