Public bug reported:

[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.

** Affects: json-glib (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: json-glib (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: json-glib (Ubuntu Eoan)
     Importance: Undecided
         Status: New

** Affects: json-glib (Ubuntu Focal)
     Importance: Undecided
         Status: New

** Also affects: json-glib (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: json-glib (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: json-glib (Ubuntu Eoan)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1871023

Title:
  json_gvariant_deserialize can fail due to unrelated code setting errno

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/json-glib/+bug/1871023/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to