Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 901805

Summary: [Tracker] Breakage with dev-libs/glib-2.76
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: CONFIRMED ---    
Severity: normal CC: mail, pacho
Priority: Normal Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://lore.kernel.org/distributions/87ilez30xe.fsf@gentoo.org/
See Also: https://gitlab.gnome.org/GNOME/glib/-/issues/2941
https://gitlab.gnome.org/GNOME/glib/-/issues/2937
Whiteboard: glib-2.76 removed its "slice allocator" which covered up memory allocation bugs; these failures are likely bugs in your package
Package list:
Runtime testing required: ---
Bug Depends on: 901775, 901783, 900921, 901777, 901779, 901781, 901785, 901787, 903129, 903131, 903145, 906130, 907831    
Bug Blocks:    

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-17 13:59:21 UTC
glib-2.76 drops slice and switches to the system's malloc instead.

This causes some bugs in glib consumers to be exposed. ASAN or Valgrind can help debug these issues.
Comment 1 colo-des 2023-03-26 19:32:42 UTC
mcabber-1.1.2-r1 with glib-2.76.0
When running mcabber, it crashes giving the following message

malloc(): unsorted double linked list corrupted Aborted

At the time of compiling mcabber-1.1.2-r1 with glib-2.76.0 everything was normal, unfortunately I have not saved the build logs.

Only solution was UD to glib-2.74.6.