Hi Everyone, Is anyone else seeing a self test failure in ucommonMemory when testing with Address Sanitizer. It looks like a valid finding to me.
$ cat test/test-suite.log ======================================== ucommon 7.0.0: test/test-suite.log ======================================== # TOTAL: 12 # PASS: 11 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ================================================================= ==8672==ERROR: LeakSanitizer: detected memory leaks Direct leak of 32 byte(s) in 1 object(s) allocated from: #0 0x7f22781d8448 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xe0448) #1 0x7f2277eb9d39 in ucommon::ConditionalLock::getContext() /home/jwalton/Build-Scripts/ucommon-7.0.0/corelib/condition.cpp:420 #2 0x7f2277eba3bb in ucommon::ConditionalLock::access() /home/jwalton/Build-Scripts/ucommon-7.0.0/corelib/condition.cpp:488 #3 0x7f2277ed0dd4 in ucommon::MappedPointer::access(unsigned long) /home/jwalton/Build-Scripts/ucommon-7.0.0/corelib/shared.cpp:88 #4 0x556a78144092 in ucommon::mapped_pointer<char, maptest>::get(char const*) /home/jwalton/tmp/ok2delete/include/ucommon/shared.h:231 #5 0x556a781404a5 in main /home/jwalton/Build-Scripts/ucommon-7.0.0/test/memory.cpp:234 #6 0x7f22776d3b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)