[llvm-bugs] [Bug 32652] New: Scudo-x86_64 quarantine.cpp fails
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Apr 13 08:50:38 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=32652
Bug ID: 32652
Summary: Scudo-x86_64 quarantine.cpp fails
Product: compiler-rt
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: compiler-rt
Assignee: unassignedbugs at nondot.org
Reporter: hfinkel at anl.gov
CC: kcc at google.com, llvm-bugs at lists.llvm.org
This test fails on my build system (during a self-host check):
Scudo-x86_64 :: quarantine.cpp
/src/llvm/projects/compiler-rt/test/scudo/quarantine.cpp:29: int main(int, char
**): Assertion `__sanitizer_
get_current_allocated_bytes() > allocated_bytes' failed.
The problem is that, both before and after the call to malloc,
__sanitizer_get_current_allocated_bytes() returns 0. Thus, the assertion fails.
If I change the size allocated in the test to something more than (1U << 16),
(1U << 17) or (1U << 20) for example, then the test consistently passes.
--
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/20170413/fb03268f/attachment.html>
More information about the llvm-bugs
mailing list