RTLD_DEEPBIND incompatibe with sanitizer runtime

2020-08-20 Thread xfan
We got the following error when using address sanitizer. You are trying to dlopen a libssl.so.1.1 shared library with RTLD_DEEPBIND flag which is incompatibe with sanitizer runtime (see https://github.com/google/sanitizers/issues/611 for details) Unfortunately we don't have con

How can operator new to throw std::bad_alloc upon allocation failure?

2019-06-21 Thread xfan
My code actually has the catch block. But with address sanitizer, it crashed instead of going to the catch block. Seems it is in the TODO list https://github.com/google/sanitizers/issues/295 Is there a way to solve it now? I am using RedHat Linux, gcc 8.3. Thanks! Xingyan -- You received thi

address sanitizer performance slowdown

2019-05-28 Thread xfan
We upgrade gcc from 4.8.5 to 8.3 recently and found address sanitizer performance becomes worse. On gcc 4.8.5, performance slowdown is 4 times, and on gcc 8.3, performance slowdown is 6.3 times. OS: Red hat Linux. Any idea? Thanks, Xingyan -- You received this message because you are subscr

allocator_may_return_null

2019-03-15 Thread xfan
asan::asan_memalign(unsigned long, unsigned long, __sanitizer::BufferedStackTrace*, __asan::AllocType) ../../../../libsanitizer/asan/asan_allocator.cc:856 #8 0x7fd80c91b35f in operator new[](unsigned long) ../../../../libsanitizer/asan/asan_new_delete.cc:93 #9 0x400aab in main /home/

"failed to allocate" and "unknown-crash"

2018-12-01 Thread xfan
Asan reports the following error: ==6113== WARNING: AddressSanitizer failed to allocate 0x000d5b0fd480 bytes ==6113== WARNING: AddressSanitizer failed to allocate 0x000d5b0fd480 bytes ==6113== WARNING: AddressSanitizer failed to allocate 0x000b8f430280 bytes ==6113== WARNING: AddressSanitizer fail