Here is a minimal test program. When I run it on my snappy box I get (with dbus-moitor running).
I can usually reproduce this when I kill the daemon and it gets dbus-activated. Subsequent runs work as expected. I wonder if it could be that the signal filter is created when there is no system-image on the dbus (yet).
The output of dbus-monitor:
# ./lala
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=37 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.13"
string ""
string ":1.13"
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=38 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.14"
string ""
string ":1.14"
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string "com.canonical.SystemImage"
string ""
string ":1.14"
signal sender=:1.14 -> dest=(null destination) serial=10 path=/Service; interface=com.canonical.SystemImage; member=UpdateAvailableStatus
boolean true
boolean false
string "266"
int32 29293320
string "2015-02-03 07:42:10"
string ""
panic: ERROR: timed out after 30 seconds waiting for system image server to respond
Here is a minimal test program. When I run it on my snappy box I get (with dbus-moitor running).
I can usually reproduce this when I kill the daemon and it gets dbus-activated. Subsequent runs work as expected. I wonder if it could be that the signal filter is created when there is no system-image on the dbus (yet).
The output of dbus-monitor: org.freedesktop .DBus -> dest=(null destination) serial=37 path=/org/ freedesktop/ DBus; interface= org.freedesktop .DBus; member= NameOwnerChange d org.freedesktop .DBus -> dest=(null destination) serial=38 path=/org/ freedesktop/ DBus; interface= org.freedesktop .DBus; member= NameOwnerChange d org.freedesktop .DBus -> dest=(null destination) serial=6 path=/org/ freedesktop/ DBus; interface= org.freedesktop .DBus; member= NameOwnerChange d SystemImage" com.canonical. SystemImage; member= UpdateAvailable Status
# ./lala
signal sender=
string ":1.13"
string ""
string ":1.13"
signal sender=
string ":1.14"
string ""
string ":1.14"
signal sender=
string "com.canonical.
string ""
string ":1.14"
signal sender=:1.14 -> dest=(null destination) serial=10 path=/Service; interface=
boolean true
boolean false
string "266"
int32 29293320
string "2015-02-03 07:42:10"
string ""
panic: ERROR: timed out after 30 seconds waiting for system image server to respond