RFR: 8331953: ubsan: metaspaceShared.cpp:1305:57: runtime error: applying non-zero offset 12849152 to null pointer
Ioi Lam
iklam at openjdk.org
Wed May 15 17:28:02 UTC 2024
On Tue, 14 May 2024 08:18:08 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> We see now errors like this on Linux ppc64le with the patch added.
>
> ```
> # Internal Error (/jdk/src/hotspot/share/cds/metaspaceShared.cpp:1295), pid=7002, tid=7006
> # assert(is_aligned(base_address, base_address_alignment)) failed:
> Archive base address unaligned: 0x0000000000010000, needs alignment: 16777216.
> ```
This looks curious. Why would `base_address` be `0x0000000000010000`? Is that value contained in `static_mapinfo->requested_base_address()`? I am wondering is there's a rounding/alignment bug that leads up to this value on ppc64le.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19152#issuecomment-2113076849
More information about the hotspot-runtime-dev
mailing list