This is the mail archive of the libc-alpha@sourceware.cygnus.com 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]

Re: Strange bug in mremap/mremap_chunk


> 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.

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