RFR: 8331953: ubsan: metaspaceShared.cpp:1305:57: runtime error: applying non-zero offset 12849152 to null pointer

Thomas Stuefe stuefe at openjdk.org
Wed May 15 06:14:01 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.
> 

Thanks, Matthias, the new version should not have this problem.

@iklam, could you review again? The only new hunk came with this commit: https://github.com/openjdk/jdk/pull/19152/commits/a38441d0e8357c755a3f82a9e4db2e995b00a196 . 

I now make sure that the SharedBaseAddress passed in during archive generation is correctly aligned to both archive core alignment and metaspace alignment. I thought we did this already, but apparently not.

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

PR Comment: https://git.openjdk.org/jdk/pull/19152#issuecomment-2111659007


More information about the hotspot-runtime-dev mailing list