new malloc, G and libc_r

Richard Nyberg rnyberg at murmeldjur.se
Wed Feb 15 14:47:04 PST 2006


I've been playing around with the new malloc options on HEAD and noticed
that libc_r really doesn't like the G option. All threaded apps fail like
below. Isn't it a strange way to fail though? As I understand it the G
option can make buggy apps to die from illegal memory access, not cause
memory allocation failure.

[doozer//~]$ MALLOC_OPTIONS=G xmms
Fatal error 'Cannot allocate priority ready queue.' at line ? in file /usr/src/lib/libc_r/uthread/uthread_init.c (errno = ?)
Abort trap (core dumped)

        -Richard






More information about the Kernel mailing list