On Tue, Jan 10, 2023 at 10:55:36PM -0500, Emilio Cota wrote: > qemu-user can hang in a multi-threaded fork. One common > reason is that when creating a TB, between fork and exec > we manipulate a GTree whose memory allocator (GSlice) is > not fork-safe.
BTW, I just checked latest glib status https://gitlab.gnome.org/GNOME/glib/-/issues/1079 it appears they're pretty close to deciding to delete the GSlice impl and always use system malloc. So if we do take this patch series it'll hopefully be a time limited thing to carry. With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
