Re: [hatari-devel] ASAN issues with tests

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Am Sun, 31 Jul 2022 02:02:38 +0300
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:

> Hi,
> 
> On 30.7.2022 23.29, Nicolas Pomarède wrote:
[...]
> In my case I get in both cases:
> Tracer caught signal 11: addr=0x0 pc=0x7f5c9873c0f0 sp=0x7f5c883d9d10
> ==7495==LeakSanitizer has encountered a fatal error.
> 
> So AddressSanitizer tries to find leaks at program end, but crashes 
> instead, maybe due to memory corruption that it did not detect.

Could you try whether it works somehow better if you set this first:

export ASAN_OPTIONS="fast_unwind_on_malloc=0"

?
 
> > maybe some memory is allocated by SDL for audio in all cases, but not 
> > correctly free'd when "sound = off" ?  
> 
> Sounds plausible.

Yes, that sounds likely. If it does not show the correct location, it often
means that it is somewhere in one of the system libraries.

 Thomas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/