RFR: 8360478: libjsig related tier3 jtreg tests fail when asan is configured [v3]
Matthias Baesken
mbaesken at openjdk.org
Fri Jun 27 07:13:26 UTC 2025
> 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)
Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
Readjust COPYRIGHT year
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/25978/files
- new: https://git.openjdk.org/jdk/pull/25978/files/06efab18..e72b4791
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25978&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25978&range=01-02
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/25978.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25978/head:pull/25978
PR: https://git.openjdk.org/jdk/pull/25978
More information about the build-dev
mailing list