[Bug 1988440] [NEW] Regression in 22.04: segmentation fault when language is spanish
Launchpad Bug Tracker
1988440 at bugs.launchpad.net
Wed Sep 7 10:16:46 UTC 2022
You have been subscribed to a public bug by Sergio Costas (rastersoft-gmail):
The discussion here describes the issue in full detail:
https://forum.snapcraft.io/t/segment-fault-with-snap-store/31547
The bug was caused by a double-free in libxmlb, triggered by some
specific data combination.
[Impact] This bug has been in the library since, at least, version
0.1.8, the one used in Bionic. Although the patch attached here fixes
the problem in the "snap-store" snap, the bug is still present in the
libraries distributed as .deb in Ubuntu, and also in the GNOME-42
extension snap. A patch has been sent both to the libxmlb repository
(which has been accepted and merged) and to the Debian SALSA repository.
[Test plan] To test this bug, just download the GIT repository
https://github.com/sergio-costas/test_libxmlb2 and follow the
instructions. If the bug is there, valgrind will show an access to an
already freed memory block and six CRITICAL errors will be shown by
GLib.
[Where problems could occur] If another developer adds code that uses
the 'xb_builder_xml_lang_prio_cb()' function and forgets to define a
destruction function for the passed 'nodes_to_destroy' ptr_array, there
would be a memory leak.
** Affects: snap-store-desktop
Importance: Critical
Assignee: Sergio Costas (rastersoft-gmail)
Status: Fix Committed
** Affects: libxmlb (Ubuntu)
Importance: Critical
Assignee: Sergio Costas (rastersoft-gmail)
Status: In Progress
** Affects: libxmlb (Ubuntu Bionic)
Importance: Undecided
Assignee: Sergio Costas (rastersoft-gmail)
Status: In Progress
** Affects: libxmlb (Ubuntu Focal)
Importance: Undecided
Assignee: Sergio Costas (rastersoft-gmail)
Status: In Progress
** Affects: libxmlb (Ubuntu Jammy)
Importance: Undecided
Assignee: Sergio Costas (rastersoft-gmail)
Status: In Progress
** Affects: libxmlb (Ubuntu Kinetic)
Importance: Critical
Assignee: Sergio Costas (rastersoft-gmail)
Status: In Progress
--
Regression in 22.04: segmentation fault when language is spanish
https://bugs.launchpad.net/bugs/1988440
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list