Comment 0 for bug 1871023

Revision history for this message
Robert Ancell (robert-ancell) wrote :

[Impact]
json_gvariant_deserialize can fail due to unrelated code setting errno, this is causing snapd-glib to not be able to decode responses from snapd. Fixed in https://gitlab.gnome.org/GNOME/json-glib/-/merge_requests/22

[Test Case]
1. Run GNOME Software from the command line
2. Browse to postman

Expected result:
Postman is shown with correct data

Observed result:
Not all channels shown, the following shown on the command line:
05:17:29:0875 GLib g_variant_new_variant: assertion 'value != NULL' failed
05:17:29:0875 GLib g_variant_new_variant: assertion 'value != NULL' failed
05:17:29:0877 Gs not GsPlugin error g-io-error-quark:35: Invalid string value converting to GVariant
05:17:29:0877 Gs not handling error failed for action refine: Invalid string value converting to GVariant

(These errors may not always occur, and is likely racy).

[Regression Potential]
Small risk of introducing other bugs.