RFR: 8347268: [ubsan] logOutput.cpp:357:21: runtime error: applying non-zero offset 1 to null pointer

Matthias Baesken mbaesken at openjdk.org
Wed Jan 8 14:59:06 UTC 2025


When running ubsan-enabled binaries on macOS aarch64, the following issue is reported in the test
jdk/jfr/event/gc/detailed/TestZAllocationStallEvent.java
src/hotspot/share/logging/logOutput.cpp:357:21: runtime error: applying non-zero offset 1 to null pointer
UndefinedBehaviorSanitizer:DEADLYSIGNAL
UndefinedBehaviorSanitizer: nested bug in the same thread, aborting.

This is similar to [JDK-8346881](https://bugs.openjdk.org/browse/JDK-8346881) .

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

Commit messages:
 - adjust COPYRIGHT year info
 - JDK-8347268

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

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


More information about the hotspot-runtime-dev mailing list