[LLVMbugs] [Bug 15544] New: Address Sanitizer doesn't call new_handler when allocation fails

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Mar 19 10:21:19 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=15544

            Bug ID: 15544
           Summary: Address Sanitizer doesn't call new_handler when
                    allocation fails
           Product: new-bugs
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: mclow.lists at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10203
  --> http://llvm.org/bugs/attachment.cgi?id=10203&action=edit
Example program - taken from libc++ test suite

After calling set_new_handler(), if I attempt to allocate memory, and that
fails, I expect to have my new handler called. 

This works fine w/o ASan. But with ASan, the new handler is not called.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130319/d9d1473d/attachment.html>


More information about the llvm-bugs mailing list