On Wed, 25 Jun 2025 12:49:54 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:
> There are a number of :tier3 HS jtreg tests using libjsig. Unfortunately they > clash with asan, so it should be avoided to run them if asan is configured. > > Examples : > runtime/signal/TestSigalrm.java > runtime/signal/TestSigbus.java > > They run into errors like this > > > stdout: []; > stderr: [==59482==ASan runtime does not come first in initial library list; > you should either link runtime to your application or manually preload it > with LD_PRELOAD. > > > One option would be to avoid running those tests when asan is enabled. > Another option is to avoid the so called 'link order check' . > https://github.com/google/sanitizers/wiki/addresssanitizerflags > > verify_asan_link_order - Check position of ASan runtime in library list > (needs to be disabled when other library has to be preloaded system-wide) This pull request has now been integrated. Changeset: a23de2ec Author: Matthias Baesken <mbaes...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/a23de2ec090628b52532ee5d9bd4364a97499f5b Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod 8360478: libjsig related tier3 jtreg tests fail when asan is configured Reviewed-by: dholmes, ihse ------------- PR: https://git.openjdk.org/jdk/pull/25978