glibc/malloc
Pino Toscano e19af3803b muntrace: reset file and hooks before finalizing the stream
fclose will call free, invoking its hook, then fprintf which would indirectly
try to allocate a buffer, and this can cause malloc to be used (thus its hook
to be invoked) if libio uses malloc instead of mmap; given any malloc/free hook
locks the internal lock, this leads to a deadlock.

To prevent this hook roundtrip at muntrace, first unset MALLSTREAM and the
hooks, and only after that close the trace file.
2012-11-19 20:01:00 +01:00
..
arena.c Name space hygeine for madvise. 2012-10-04 16:31:43 -07:00
Depend
hooks.c Return requested size for malloc_usable_size when MALLOC_CHECK_ > 0 2012-09-05 21:49:30 +05:30
Makefile Support --with-pkgversion and --with-bugurl. 2012-11-09 22:13:45 +00:00
malloc.c Name space hygeine for madvise. 2012-10-04 16:31:43 -07:00
malloc.h Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
mallocbug.c Avoid warnings in test malloc program 2012-03-28 13:05:11 -04:00
mcheck-init.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
mcheck.c * malloc/arena.c: Fold copyright years. 2012-09-05 20:47:16 -03:00
mcheck.h Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
memusage.c * malloc/arena.c: Fold copyright years. 2012-09-05 20:47:16 -03:00
memusage.sh Support --with-pkgversion and --with-bugurl. 2012-11-09 22:13:45 +00:00
memusagestat.c Update --version copyright dates for memusagestat and pcprofiledump. 2012-11-15 01:01:33 +00:00
morecore.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
mtrace.c muntrace: reset file and hooks before finalizing the stream 2012-11-19 20:01:00 +01:00
mtrace.pl Support --with-pkgversion and --with-bugurl. 2012-11-09 22:13:45 +00:00
obstack.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
obstack.h Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
set-freeres.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
thread-freeres.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-calloc.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-malloc-usable.c Return requested size for malloc_usable_size when MALLOC_CHECK_ > 0 2012-09-05 21:49:30 +05:30
tst-malloc.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-mallocfork.c * malloc/tst-mallocfork.c (do_test): Make sure sa_flags is 2005-12-06 00:50:15 +00:00
tst-mallocstate.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-mcheck.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-mtrace.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-mtrace.sh Use $(run-program-prefix) in more shell script tests. 2012-10-19 23:30:43 +00:00
tst-obstack.c
tst-trim1.c * malloc/tst-trim1.c: New file. 2007-12-16 22:57:57 +00:00
tst-valloc.c
Versions Implement aligned_alloc 2012-01-01 07:17:21 -05:00