Strange bug in mremap/mremap_chunk
Wolfram Gloger
Wolfram.Gloger@dent.med.uni-muenchen.de
Mon Jan 10 00:56:00 GMT 2000
> 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.
More information about the Libc-alpha
mailing list