Comment 8 for bug 490024

Revision history for this message
Christophe Dumez (hydr0g3n) wrote : Re: 2.0.0rc2 dies without any reason

The ASSERT that is hit was imported recently in eglibc from glibc with the following changelog: (public_vALLOc): Try other arenas in case _int_valloc fails.

Commit Diff is here:
http://www.eglibc.org/cgi-bin/viewcvs.cgi/fsf/trunk/libc/malloc/malloc.c?rev=6938&view=diff&r1=6938&r2=6937&p1=fsf/trunk/libc/malloc/malloc.c&p2=/fsf/trunk/libc/malloc/malloc.c

However, since the hit only seems to happen in eglibc, I made a diff for this function (public_vALLOc) and got only this:
3845,3846c3750,3751
< force_reg (__memalign_hook);
< if (__builtin_expect (hook != NULL, 0))
---
> __memalign_hook;
> if (hook != NULL)