This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug malloc/19243] reused_arena can pick an arena on the free list, leading to an assertion failure and reference count corruption


https://sourceware.org/bugzilla/show_bug.cgi?id=19243

--- Comment #12 from Nick Alcock <nick.alcock at oracle dot com> ---
I can confirm that that cherry-pick makes the problem go away -- but if I drop
the RLIMIT_AS still further (admittedly, a *lot* further), it comes back:

mutilate 7 /usr/src/glibc/x86_64-mutilate% ulimit -v 500000
mutilate 8 /usr/src/glibc/x86_64-mutilate% env
GCONV_PATH=/usr/src/glibc/x86_64-mutilate/iconvdata
LOCPATH=/usr/src/glibc/x86_64-mutilate/localedata LC_ALL=C  
/usr/src/glibc/x86_64-mutilate/elf/ld-linux-x86-64.so.2 --library-path
/usr/src/glibc/x86_64-mutilate:/usr/src/glibc/x86_64-mutilate/math:/usr/src/glibc/x86_64-mutilate/elf:/usr/src/glibc/x86_64-mutilate/dlfcn:/usr/src/glibc/x86_64-mutilate/nss:/usr/src/glibc/x86_64-mutilate/nis:/usr/src/glibc/x86_64-mutilate/rt:/usr/src/glibc/x86_64-mutilate/resolv:/usr/src/glibc/x86_64-mutilate/crypt:/usr/src/glibc/x86_64-mutilate/mathvec:/usr/src/glibc/x86_64-mutilate/nptl
/usr/src/glibc/x86_64-mutilate/malloc/tst-malloc-thread-exit
error: pthread_create: Resource temporarily unavailable
Didn't expect signal from child: got `Aborted'

So that patch only works around the problem in this one test :(

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]