[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#457337: libc6: mremap() returns invalid address



On Fri, Dec 21, 2007 at 04:20:14PM -0500, Andreas Klöckner wrote:
> And there is indeed a call to mremap, and it is indeed the last thing the 
> process does. The strace return value looks ok, but the value that arrives in 
> C (at least according to gdb and the segfault) is not.

I'd look at the preprocessed source and make sure nothing is casting
your pointer back to a long.  It looked truncated.

> And the code is not really mine--it's just dlmalloc.

You have a test case for the crash; we do not.

-- 
Daniel Jacobowitz
CodeSourcery



Reply to: