[llvm-dev] When TSAN fails to do setrlimit ...
Riyaz Puthiyapurayil via llvm-dev
llvm-dev at lists.llvm.org
Fri Sep 23 15:00:04 PDT 2016
bash-4.1$ uname -r
bash-4.1$ ulimit -v 100000000000
==26389==WARNING: Program is run with limited virtual address space, which wouldn't work with ThreadSanitizer.
==26389==Re-execing with unlimited virtual address space.
==26389==ERROR: ThreadSanitizer setrlimit() failed 1
bash-4.1$ ulimit -v 1000000000
FATAL: ThreadSanitizer CHECK failed: /u/tools/src/llvm/projects/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_allocator.h:326 "((kSpaceBeg)) == (( reinterpret_cast<uptr>(MmapNoAccess(kSpaceBeg, kSpaceSize))))" (0x7d0000000000, 0xfffffffffffffff4)
==26469==FATAL: ThreadSanitizer: failed to intercept pthread_mutex_lock
Why do I get the curious looking message when virtual memory is set below a certain value instead of the self-explanatory setrlimit() failed message? Is this a known issue?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev