RFR: 8332955: ubsan: runningCounters.cpp:48:61: runtime error: member call on null pointer of type 'struct VirtualSpaceList'
Matthias Baesken
mbaesken at openjdk.org
Mon May 27 14:58:01 UTC 2024
On Mon, 27 May 2024 14:34:29 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:
> I'm not very familiar with this code, but if `reserved_words_nonclass()` happens to be called before the `VirtualSpaceList` is initialized, I think this fix is good.
Thanks for the review !
I don't think that ubsan is 'lying' to us here, so far at least the findings were all correct. From the backtrace above you can see that this happens rather early in the JVM lifetime, this might be the reason why we run into a nullptr.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19412#issuecomment-2133646435
More information about the hotspot-runtime-dev
mailing list