Hi experts, I got the following error when run my app with Asan in Mac OS, Could you take a look what's the problem? It is likely a asan related issue, how to bypass it?
==23202==ERROR: AddressSanitizer: heap-use-after-free on address 0x6110000f4450 at pc 0x10019379f bp 0x7fff5fbfa190 sp 0x7fff5fbfa188 WRITE of size 8 at 0x6110000f4450 thread T0 ==23202==AddressSanitizer CHECK failed: /Users/macs/Developer/llvm/final/llvm.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_common.cc:215 "((n_ranges_)) < ((kMaxNumberOfAddressRanges))" (0x6, 0x6) ==23202==AddressSanitizer CHECK failed: /Users/macs/Developer/llvm/final/llvm.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc:335 "((owner_)) != (((uptr)pthread_self()))" (0x7fff7c459180, 0x7fff7c459180) ==23202==AddressSanitizer CHECK failed: /Users/macs/Developer/llvm/final/llvm.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc:335 "((owner_)) != (((uptr)pthread_self()))" (0x7fff7c459180, 0x7fff7c459180) ==23202==AddressSanitizer CHECK failed: /Users/macs/Developer/llvm/final/llvm.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc:335 "((owner_)) != (((uptr)pthread_self()))" (0x7fff7c459180, 0x7fff7c459180) ==23202==AddressSanitizer CHECK failed: /Users/macs/Developer/llvm/final/llvm.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc:335 "((owner_)) != (((uptr)pthread_self()))" (0x7fff7c459180, 0x7fff7c459180) ==23202==AddressSanitizer CHECK failed: /Users/macs/Developer/llvm/final/llvm.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc:335 "((owner_)) != (((uptr)pthread_self()))" (0x7fff7c459180, 0x7fff7c459180) ==23202==AddressSanitizer CHECK failed: /Users/macs/Developer/llvm/final/llvm.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc:335 "((owner_)) != (((uptr)pthread_self()))" (0x7fff7c459180, 0x7fff7c459180) ==23202==AddressSanitizer CHECK failed: /Users/macs/Developer/llvm/final/llvm.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc:335 "((owner_)) != (((uptr)pthread_self()))" (0x7fff7c459180, 0x7fff7c459180) ==23202==AddressSanitizer CHECK failed: /Users/macs/Developer/llvm/final/llvm.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc:335 "((owner_)) != (((uptr)pthread_self()))" (0x7fff7c459180, 0x7fff7c459180) Segmentation fault: 11 Thanks! -- You received this message because you are subscribed to the Google Groups "address-sanitizer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
