[Bug sanitizer/55517] [ASAN] ASAN doesn't work with (soft) ulimit on virtual memory

anlauf at gmx dot de gcc-bugzilla@gcc.gnu.org
Thu May 30 16:55:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55517

Harald Anlauf <anlauf at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gmx dot de

--- Comment #8 from Harald Anlauf <anlauf at gmx dot de> ---
(In reply to Kostya Serebryany from comment #7)
> BTW, the messages are actually quite nice: 
> 
> ==22487== ERROR: Failed to allocate 0x20000001000 (2199023259648) bytes at
> address 0x0ffffffff000 (12)
> ==22487== ReserveShadowMemoryRange failed while trying to map 0x20000001000
> bytes. Perhaps you're using ulimit -v

I'd like to try ASAN on a system where the sysadmins enforce
a hard limit.  Is this possible?

I've set the soft limit to the same value as the hard limit,
but keep getting similar errors.



More information about the Gcc-bugs mailing list