|
From: Tom H. <to...@co...> - 2005-03-22 07:13:12
|
In message <loo...@po...>
Benny Cheung <bwl...@gm...> wrote:
> <Program Execution Continues for some time...>
>
> valgrind: vg_memory.c:229 (vgPlain_unmap_range): Assertion `rs == s' failed.
> ==5504== at 0xB002A954: vgPlain_skin_assert_fail (vg_mylibc.c:1137)
> ==5504== by 0xB002A953: assert_fail (vg_mylibc.c:1133)
> ==5504== by 0xB002A991: vgPlain_core_assert_fail (vg_mylibc.c:1144)
> ==5504== by 0xB0028238: vgPlain_unmap_range (vg_memory.c:245)
If you're using 2.2.0 then that looks like a known bug that is fixed
in the CVS code the 2.4.0 release candidates so you might want to try
that.
> I am particularly concerned about the error message "Address 0x1C83E028 is
> 294912 bytes inside a block of size 268435456 alloc'd". Seems the malloc()
> gives me a chunk of memory already allocated in another malloc()'ed chunk.
That's just telling you where the first undefined byte is relative to
the start of the malloced block.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|