[jdk25u] RFR: 8360478: libjsig related tier3 jtreg tests fail when asan is configured
Thomas Stuefe
stuefe at openjdk.org
Thu Jul 24 09:45:53 UTC 2025
On Thu, 24 Jul 2025 09:21:21 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> 8360478: libjsig related tier3 jtreg tests fail when asan is configured
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.
-------------
PR Comment: https://git.openjdk.org/jdk25u/pull/35#issuecomment-3112786831
More information about the jdk-updates-dev
mailing list