==3983==AddressSanitizer 's allocator is terminating the process home returning 0
==3983==If you don 't like this behaviors set allocator_may_return_null=1
==3983==AddressSanitizer CHECK failed:/BuildRoot/Library/Caches/com. Apple. XBS/Sources/clang_compiler_rt_Fall2018/clang_Fall2018 1000.11.45.5/SRC/projects/compiler - rt/lib/sanitizer_common sanitizer_allocator. Cc: 225 "((0))!=(0) "(0 x0, 0 x0)
==3983==AddressSanitizer 's allocator is terminating the process home returning 0
==3983==If you don 't like this behaviors set allocator_may_return_null=1
==3983==AddressSanitizer CHECK failed:/BuildRoot/Library/Caches/com. Apple. XBS/Sources/clang_compiler_rt_Fall2018/clang_Fall2018 1000.11.45.5/SRC/projects/compiler - rt/lib/sanitizer_common sanitizer_allocator. Cc: 225 "((0))!=(0) "(0 x0, 0 x0)
Console to report this error, the lock is not the problem, hope everybody to help!
CodePudding user response:
I have encountered this problem:AddressSanitizer CHECK failed:/BuildRoot/Library/Caches/com. Apple. XBS/Sources/clang_compiler_rt_Fall2018/clang_Fall2018 1000.11.45.5/SRC/projects/compiler - rt/lib/sanitizer_common sanitizer_allocator. Cc: 225 "((0))!=(0) "(0 x0, 0 x0)
Did you solve?
CodePudding user response:
The problems with====652 ERROR: AddressSanitizer failed to deallocate 0 x20000 (131072) bytes at address 0 x00017a3bc800
==652==AddressSanitizer CHECK failed:/BuildRoot/Library/Caches/com. Apple. XBS/Sources/clang_compiler_rt/clang 1100.0.33.16/SRC/projects/compiler - rt/lib/sanitizer_common sanitizer_posix. Cc: 62 "(" unable to unmap" & amp; & 0))!=(0) "(0 x0, 0 x0)
# 0 0 x106333558 __asan in: : AsanCheckFailed (char const *, int, char * const, unsigned long long, unsigned long long)
Can you tell me the solution