On Sun, May 25, 2008 at 02:28:11PM -0700, Josh Triplett wrote: > Package: iceweasel > Followup-For: Bug #475166 > > http://bugs.gentoo.org/show_bug.cgi?id=213080 has more information on > this bug. Apparently aoss overrides mmap so it can handle mmap'ed OSS > devices, and the aoss mmap calls calloc. libjemalloc's initialization > process, which must run before memory allocation will work, calls mmap > to get memory to allocate. Deadlock. > > As I understand it, libjemalloc provides a significant improvement in > Firefox 3. Disabling it to work around a bug in aoss seems quite > unfortunate. How about temporarily dropping support for aoss instead, > or only disabling libjemalloc when using aoss?
That's exactly what is done right now. > Alternatively, what if > libjemalloc had a pool of heap memory available on startup to satisfy > initial requests, and only called mmap when this ran out? > > Forwarded upstream as https://bugzilla.mozilla.org/show_bug.cgi?id=435683 . Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]