Re: [hatari-devel] ASAN issues with tests |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] ASAN issues with tests
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sun, 31 Jul 2022 05:38:04 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1659245887; bh=igZAlSTSYn1KvGc5+JR0AAA1htzBVALKnTfOaKkCK8E=; h=Date:From:To:Subject:From; b=aXEjZCYxfklm0BjB6hsg/K50tXIxZxuIFGgEFUuRw3SdwMAHhEfuQmtWtfuvVcW/s yJd8+ko+bCT36VVQFBS0v/PJYMAN4fM9y7luPfzwCIHj2BN2bzpa1Fq0PUtfJ0ME2t hRROaeUqBCeGtWwh334ZzT1LeNNoD4EyzSFMI/3kGhCmx1IlyYTw0x7PdPw+VoMyjk aJXtYycZwLyMTm62jyYRJdd69kVGh8uiMkmtCMFyfIoDObpkgKGVKHXGb39ynv9hVL RDXtf10+v/R01+KwmuomApepoZPK91DxHiL71ge7C/wUOpRA0mfN0FOIBMfrcISeJS dlrO9CRJ+qApg==
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