> The assert in question seems to be this:
> 
> 
> static void add_mapping_callback(Addr addr, SizeT len, UInt prot, 
>                                  ULong dev, ULong ino, Off64T offset, 
>                                  const UChar *filename)
> {
>    // derived from sync_check_mapping_callback()
> 
>    Int iLo, iHi, i;
> 
>    if (len == 0) return;
> 
>    /* The kernel should not give us wraparounds. */
>    aspacem_assert(addr <= addr + len - 1); 

The most likely candidate for triggering the assert()
is if 'len' is -1: MAP_FAILED, or the C library returning -1
when some bare system call returns -ENOMEM, -ENOSPC,
-EINTR, etc., and there was no prior check for that error.

-- 

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to