This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/59410] Some tsan tests fail with 4GB RAM
- From: "kcc at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 06 Dec 2013 16:32:24 +0000
- Subject: [Bug sanitizer/59410] Some tsan tests fail with 4GB RAM
- Auto-submitted: auto-generated
- References: <bug-59410-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59410
--- Comment #3 from Kostya Serebryany <kcc at gcc dot gnu.org> ---
(In reply to H.J. Lu from comment #0)
> On a Linux/x86-64 machine with 4GB RAM, I got failures like:
>
> FAIL: c-c++-common/tsan/atomic_stack.c -O0 output pattern test, is FATAL:
> ThreadSanitizer can not mmap the shadow memory (something is mapped at
> 0x555555554000 < 0x7cf000000000)
This warning is not about physical RAM, but about virtual RAM.
This systems is not compatible with the tsan's shadow mapping.
Can you show the /proc/self/maps of the process before it dies
(just put a breakpoint on __tsan_init)?
I assume that asan tests pass on this machine and you don't have strict rlimit
on virtual memory.