A couple of tests e.g. VendorInfoPluginsTest but also some Hotspot like 
runtime/ErrorHandling/CreateCoredumpOnCrash.java put (write) to special 
addresses like 0 to provoke crashs.
However this does not work well with ubsan-enabled binaries on the clang based 
platforms (macOS, AIX).
The mentioned tests generate a SIGSEGV.

Some other tests generate a SIGBUS, e.g.

runtime/memory/ReserveMemory.java
runtime/memory/ReadFromNoaccessArea.java

and this leads to similar issues with ubsan-enabled binaries.

We should adjust the signal handling with the sanitizer options, how to do this 
is documented here :
https://github.com/google/sanitizers/wiki/SanitizerCommonFlags

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

Commit messages:
 - JDK-8360791

Changes: https://git.openjdk.org/jdk/pull/26015/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26015&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8360791
  Stats: 6 lines in 1 file changed: 5 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/26015.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26015/head:pull/26015

PR: https://git.openjdk.org/jdk/pull/26015

Reply via email to