This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]