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 Desktop
Packages, which is subscribed to json-glib in Ubuntu.
https://bugs.launchpad.net/bugs/1871023

Title:
  json_gvariant_deserialize can fail due to unrelated code setting errno

Status in json-glib package in Ubuntu:
  New
Status in json-glib source package in Bionic:
  New
Status in json-glib source package in Eoan:
  New
Status in json-glib source package in Focal:
  New

Bug description:
  [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.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to