json_gvariant_deserialize can fail due to unrelated code setting errno
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
json-glib (Ubuntu) |
Fix Released
|
High
|
Robert Ancell | ||
Bionic |
Fix Released
|
High
|
Robert Ancell | ||
Eoan |
Fix Released
|
High
|
Robert Ancell | ||
Focal |
Fix Released
|
High
|
Robert Ancell |
Bug Description
[Impact]
json_gvariant_
[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_
05:17:29:0875 GLib g_variant_
05:17:29:0877 Gs not GsPlugin error g-io-error-
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.
Changed in json-glib (Ubuntu Bionic): | |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in json-glib (Ubuntu Eoan): | |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in json-glib (Ubuntu Focal): | |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in json-glib (Ubuntu Focal): | |
status: | New → Fix Committed |
importance: | Undecided → High |
Changed in json-glib (Ubuntu Eoan): | |
importance: | Undecided → High |
Changed in json-glib (Ubuntu Bionic): | |
importance: | Undecided → High |
description: | updated |
Changed in json-glib (Ubuntu Eoan): | |
status: | New → Fix Committed |
Changed in json-glib (Ubuntu Bionic): | |
status: | New → Fix Committed |
Changed in json-glib (Ubuntu Bionic): | |
status: | Fix Committed → In Progress |
Changed in json-glib (Ubuntu Eoan): | |
status: | Fix Committed → In Progress |
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 address hidden> Tue, 07 Apr 2020 09:50:05 +1200