Comment 37 for bug 844286

Revision history for this message
Chris Halse Rogers (raof) wrote :

OOOOOOH!

This could be a threading bug; colord uses g_dbus from glib, which is threadsafe by means of proxying everything to the main thread, but also links to libsane, which links to libavahi, which uses libdbus directly. What's more, avahi spawns a bunch of threads.

libdbus isn't threadsafe unless dbus_threads_init() is called, and nothing in this stack calls it.