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: unassig...@gcc.gnu.org

        ReportedBy: rgue...@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)

Reply via email to