develooper Front page | perl.perl5.porters | Postings from April 2019

Re: Storable and Leaky hooks which die

Thread Previous | Thread Next
Tomasz Konojacki
April 17, 2019 02:00
Re: Storable and Leaky hooks which die
Message ID:
On Wed, 17 Apr 2019 11:18:26 +1000
Tony Cook <> wrote:

> For some reason I'm not seeing any leaks from an ASAN build.
>  ./Configure -des -Dusedevel -Accflags=-fsanitize=address -Aldflags=-fsanitize=address -DDEBUGGING -Doptimize=-O0\ -g -Dcc=/opt/gcc-8.2.0/bin/gcc
> valgrind picked up a leak of the ptr table from your example which is
> fixed in 1d7b2a7e3a7a0e05c254d065923488b768eb3ce0.
> Tony

To enable leak detection in ASAN you need -fsanitize=leak flag.
-fsanitize=address is just for memory errors.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About