[jdk25u] RFR: 8360478: libjsig related tier3 jtreg tests fail when asan is configured

Matthias Baesken mbaesken at openjdk.org
Thu Jul 24 10:31:59 UTC 2025


On Thu, 24 Jul 2025 09:43:37 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Hmmm...
> 
> If ASAN does not come first, libjsig comes first, and libjsig uses malloc, it will use the malloc implementation from the C-Runtime, not the one ASAN interposes. That, in turn, could cause weird errors or crashes when later memory is freed at a place where ASAN interposition of malloc holds, since we use a different free().
> 
> I would probably just disable the libjsig tests for ASAN completely.


Hi Thomas, never saw that really happening in practise when running tests with ASAN enabled binaries.
(of course that is no proof that it is technically impossible under special circumstances)

-------------

PR Comment: https://git.openjdk.org/jdk25u/pull/35#issuecomment-3112931587


More information about the jdk-updates-dev mailing list