工程遇到一個問題
==3983==AddressSanitizer's allocator is terminating the process instead of returning 0
==3983==If you don't like this behavior 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)" (0x0, 0x0)
==3983==AddressSanitizer's allocator is terminating the process instead of returning 0
==3983==If you don't like this behavior 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)" (0x0, 0x0)
控制臺上報這個錯誤,一直鎖定不了問題,希望大家幫幫忙!
uj5u.com熱心網友回復:
我也是遇到這個問題: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)" (0x0, 0x0)
你解決了嗎?
uj5u.com熱心網友回復:
同遇到這個問題==652==ERROR: AddressSanitizer failed to deallocate 0x20000 (131072) bytes at address 0x00017a3bc800
==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" && 0)) != (0)" (0x0, 0x0)
#0 0x106333558 in __asan::AsanCheckFailed(char const*, int, char const*, unsigned long long, unsigned long long)
請問解決了嗎
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/72473.html
標籤:iOS
上一篇:有人用過pyinstaller打包過代碼嗎?運行結果不一致
下一篇:QT呼叫vs編譯的庫 出現的錯誤Building MFC application with /MD[d] (CRT dll version) requires
