mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-01 23:24:21 +08:00
e89a4f6cb4
With the next commit, if I run docker/docker_run_tests.sh --shell-after docker/jammy-asan-clang.Dockerfile I get this in test_string.fish and test_git.fish: ================================================================= ==8339==ERROR: LeakSanitizer: detected memory leaks Direct leak of 72 byte(s) in 1 object(s) allocated from: #0 0x55a8a637eb45 in realloc /rustc/llvm/src/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:85:3 #1 0x7facb841b6cc in _nc_doalloc (/lib/x86_64-linux-gnu/libtinfo.so.6+0x106cc) (BuildId: e22ba7829a55a0dec2201a0b6dac7ba236118561) SUMMARY: AddressSanitizer: 72 byte(s) leaked in 1 allocation(s). Strangely there is no tparm in the call stack. It does not seem to happen in CI.
8 lines
309 B
Plaintext
8 lines
309 B
Plaintext
# LSAN can detect leaks tracing back to __asan::AsanThread::ThreadStart (probably caused by our
|
|
# threads not exiting before their TLS dtors are called). Just ignore it.
|
|
leak:AsanThread
|
|
|
|
# ncurses leaks allocations freely as it assumes it will be running throughout. Ignore these.
|
|
leak:tparm
|
|
leak:_nc_doalloc
|