This bug was fixed in the package json-glib - 1.4.4-2ubuntu2
---------------
json-glib (1.4.4-2ubuntu2) focal; urgency=medium
*
debian/patches/0001-json-gvariant-Stop-string-to-GVariant-conversion-fai.patch:
- Fix JSON to GVariant conversion failing sometimes (LP: #1871023)
-- Robert Ancell <[email protected]> Tue, 07 Apr 2020
09:50:05 +1200
** Changed in: json-glib (Ubuntu Focal)
Status: Fix Committed => Fix Released
--
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:
Fix Released
Status in json-glib source package in Bionic:
In Progress
Status in json-glib source package in Eoan:
In Progress
Status in json-glib source package in Focal:
Fix Released
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:
Errors are not shown on the command line
Observed result:
The following errors are 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 : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp