This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Something is broken in repack
- From: Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>
- To: dak at gnu dot org
- Cc: nico at cam dot org, jonsmirl at gmail dot com, gitster at pobox dot com, gcc at gcc dot gnu dot org, git at vger dot kernel dot org
- Date: 14 Dec 2007 16:18:58 -0000
- Subject: Re: Something is broken in repack
- References: <85d4tc8hi8.fsf@lola.goethe.zz>
Hi,
> Maybe an malloc/free/mmap wrapper that records the requested sizes and
> alloc/free order and dumps them to file so that one can make a compact
> git-free standalone test case for the glibc maintainers might be a good
> thing.
I already have such a wrapper:
http://malloc.de/malloc/mtrace-20060529.tar.gz
But note that it does interfere with the thread scheduling, so it
can't record the exact same allocation pattern as when not using the
wrapper.
Regards,
Wolfram.