Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ThreadSanitizer doesn't work on aarch64? #187

Open
huangtianhua opened this issue Mar 19, 2020 · 1 comment
Open

ThreadSanitizer doesn't work on aarch64? #187

huangtianhua opened this issue Mar 19, 2020 · 1 comment

Comments

@huangtianhua
Copy link

huangtianhua commented Mar 19, 2020

I build/test apache/kudu on aarch64, when I enable tsan then all tests are failed(they are success without tsan enable), the error info like:

+++++++++++++++++++++++++++++++++++++++++++++++
ThreadSanitizer:DEADLYSIGNAL
==6175==ERROR: ThreadSanitizer: SEGV on unknown address 0x000000000000 (pc 0x000000000000 bp 0xfffffffff0f0 sp 0xfffffffff0f0 T6175)
==6175==Hint: pc points to the zero page.
==6175==The signal is caused by a READ memory access.
==6175==Hint: address points to the zero page.

ThreadSanitizer can not provide additional info.
SUMMARY: ThreadSanitizer: SEGV (<unknown module>)
==6175==ABORTING
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

I also print the sig info as:

(gdb) p sig
$3 = (const __sanitizer::SignalContext &) @0xfffff633ad68: {siginfo = 0xfffff633ada0,
  context = 0xfffff633ae20, addr = 0, pc = 0, sp = 281474976706768, bp = 281474976706768,
  is_memory_access = true, write_flag = __sanitizer::SignalContext::READ}

Ps: we use LLVM: 9.0.0

According to llvm documents, tsan support linux aarch64 platform, and I try the example mentioned in llvm document. So would you please help me, what's the problem to make all tests failed?
Thanks very much.

@llvmbot
Copy link
Member

llvmbot commented Apr 12, 2022

@llvm/issue-subscribers-backend-aarch64

mmitche pushed a commit to mmitche/llvm-project that referenced this issue Aug 4, 2022
…331.2 (llvm#187)

[objwriter/12.x] Update dependencies from dotnet/arcade
vext01 pushed a commit to vext01/llvm-project that referenced this issue Aug 13, 2024
Fix unhandled case in FixStackmapsSpillReloads pass.
mjklemm added a commit to mjklemm/llvm-project that referenced this issue Oct 17, 2024
ergawy pushed a commit to ergawy/llvm-project that referenced this issue Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants