This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/55517] New: [ASAN] ASAN doesn't work with (soft) ulimit on virtual memory
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Nov 2012 12:31:43 +0000
- Subject: [Bug other/55517] New: [ASAN] ASAN doesn't work with (soft) ulimit on virtual memory
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55517
Bug #: 55517
Summary: [ASAN] ASAN doesn't work with (soft) ulimit on virtual
memory
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: rguenth@gcc.gnu.org
The asan runtime should raise any soft limit on virtual memory by the amount
of shadow virtual mappings it creates. Those are not accounted for in any
limit calculation.
If a hard limit is present it should probably report that instead of failing
with a cryptic message that it cannot allocate memory:
==10720== ERROR: Failed to allocate 0x20000001000 (2199023259648) bytes at
address 0x0ffffffff000 (12)