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 sanitizer/59410] Some tsan tests fail with 4GB RAM


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.


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