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

Matthias Baesken mbaesken at openjdk.org
Thu Jan 9 08:34:38 UTC 2025


On Wed, 8 Jan 2025 14:54:04 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> 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) .

Hi David, thanks for the review !

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

PR Comment: https://git.openjdk.org/jdk/pull/22971#issuecomment-2579435134


More information about the hotspot-runtime-dev mailing list