Closed
Description
I confirmed that this is an issue with at least the following tags:
- v5.18.1
- v5.26.0
- v5.28.1
- v5.30.0
- v5.32.0
- v5.33.1
You can see the leak when running the following command:
> git clean -dxf; ./Configure -Dusedevel -des -Dcc="ccache clang" -Accflags="-Werror=declaration-after-statement -g -fno-omit-frame-pointer -fsanitize=address -fno-common -fsanitize-blacklist=`pwd`/asan_ignore" -Aldflags="-fsanitize=address" -Duseithreads
Note: I used Fedora 32 x86_64 to reproduce the issue
Extract from the Configure output
...
lgamma_r() found.
Checking to see if your libm supports _LIB_VERSION...
No, it does not (probably harmless)
link() found.
llrint() found.
llrintl() found.
llround() found.
llroundl() found.
localeconv_l() NOT found.
localtime_r() found.
=================================================================
==328778==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 16 byte(s) in 1 object(s) allocated from:
#0 0x4bd27f (/home/atoomic/workspace/perl/UU/try+0x4bd27f)
#1 0x4f25a9 (/home/atoomic/workspace/perl/UU/try+0x4f25a9)
#2 0x7fbbea8c6041 (/lib64/libc.so.6+0x27041)
SUMMARY: AddressSanitizer: 16 byte(s) leaked in 1 allocation(s).
lockf() found.
log1p() found.
log2() found.
logb() found.
...