Here is the leak report

```
make[2]: Leaving directory
'/home/nwatkins/src/redpanda-llvm16/vbuild/debug/clang/v_deps_build/nettle-prefix/src/nettle-build'
echo stamp > eccdata.stamp
./eccdata curve25519 11 6 64 > ecc-curve25519.hT && mv
ecc-curve25519.hT ecc-curve25519.h
Table size: 256 entries

=================================================================
==1667484==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 64 byte(s) in 1 object(s) allocated from:
    #0 0x565361b74bfe in __interceptor_malloc
/home/nwatkins/src/redpanda-llvm16/vbuild/llvm/src/compiler-rt/lib/asan/asan_malloc_linux.cpp:69:3
    #1 0x565361baf79e in gmp_default_alloc eccdata.c
    #2 0x565361bb7fbc in gmp_xalloc_limbs eccdata.c
    #3 0x565361bb8a1b in mpz_realloc eccdata.c
    #4 0x565361bb92ea in mpz_set
(/home/nwatkins/src/redpanda-llvm16/vbuild/debug/clang/v_deps_build/nettle-prefix/src/nettle-build/eccdata+0x11c2ea)
    #5 0x565361bb96b5 in mpz_init_set
(/home/nwatkins/src/redpanda-llvm16/vbuild/debug/clang/v_deps_build/nettle-prefix/src/nettle-build/eccdata+0x11c6b5)
    #6 0x565361bc377e in mpz_div_qr eccdata.c
    #7 0x565361bc426a in mpz_mod
(/home/nwatkins/src/redpanda-llvm16/vbuild/debug/clang/v_deps_build/nettle-prefix/src/nettle-build/eccdata+0x12726a)
    #8 0x565361bf1412 in output_bignum_redc eccdata.c
    #9 0x565361be65b7 in output_curve eccdata.c
    #10 0x565361bde8e6 in main
(/home/nwatkins/src/redpanda-llvm16/vbuild/debug/clang/v_deps_build/nettle-prefix/src/nettle-build/eccdata+0x1418e6)
    #11 0x7f965423bb49 in __libc_start_call_main
(/lib64/libc.so.6+0x27b49) (BuildId:
245240a31888ad5c11bbc55b18e02d87388f59a9)
    #12 0x7f965423bc0a in __libc_start_main@GLIBC_2.2.5
(/lib64/libc.so.6+0x27c0a) (BuildId:
245240a31888ad5c11bbc55b18e02d87388f59a9)
    #13 0x565361adb364 in _start
(/home/nwatkins/src/redpanda-llvm16/vbuild/debug/clang/v_deps_build/nettle-prefix/src/nettle-build/eccdata+0x3e364)

SUMMARY: AddressSanitizer: 64 byte(s) leaked in 1 allocation(s).
```

On Sun, May 7, 2023 at 7:38 AM Niels Möller <[email protected]> wrote:
>
> Noah Watkins <[email protected]> writes:
>
> > (fwiw sanitizer does report a memory leak when eccdata is
> > running at the end of make).
>
> If it looks like the sanitizer could be right, can you share the error
> report?
>
> Regards,
> /Niels
>
> --
> Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
> Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to