Integrated: 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:39 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) .

This pull request has now been integrated.

Changeset: 82e16ba2
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/82e16ba248a97e3446d5b2d64c353b61dd6bdda6
Stats:     4 lines in 1 file changed: 2 ins; 0 del; 2 mod

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

Reviewed-by: dholmes

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

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


More information about the hotspot-runtime-dev mailing list