This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: Strange bug in mremap/mremap_chunk
- To: martin at loewis dot home dot cs dot tu-berlin dot de
- Subject: Re: Strange bug in mremap/mremap_chunk
- From: Wolfram Gloger <Wolfram dot Gloger at dent dot med dot uni-muenchen dot de>
- Date: Mon, 10 Jan 2000 09:56:18 +0100 ("MET)
- CC: libc-alpha at sourceware dot cygnus dot com
- References: <200001092230.XAA00786@loewis.home.cs.tu-berlin.de>
> After installing glibc 2.1.3pre1, I found that gcc would not compile
> itself anymore. Specifically, cpp 2.95.2 crashed when compiling
> cp/ptree.c from current gcc CVS.
>
> I traced this down to malloc.c:1966:
>
> cp = (char *)mremap((char *)p - offset, size + offset, new_size,
> MREMAP_MAYMOVE);
What kernel version are you running? mremap() is triggered so rarely
that one wouldn't notice easily if it was broken..
Regards,
Wolfram.