Setup fails when things are slow under valgrind
When things are slow, like when running valgrind --leak-check=no --num-callers=20 gnome-software
, the D-Bus calls can timeout, effectively causing the plugins to be disabled in error, or some parts of it to be incomplete.
Specifically, the below are done during the GsPliginClass::setup_async() calls:
-
disabling epiphany as setup failed: Couldn’t create Epiphany WebAppProvider proxy: couldn’t get name owner
, the GDBusPorxy'sget_name_owner()
returnedNULL
here, I guess because GDBus did not receive the value yet disabling fwupd as setup failed: Error calling StartServiceByName for org.freedesktop.fwupd: Timeout was reached
no permission for org.freedesktop.Flatpak.appstream-update: failed to create permission org.freedesktop.Flatpak.appstream-update: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached
No idea what to do with these. The flatpak plugin skips the system installation(s) due to this timeout.