RFR: 8350111: [PPC] AsyncGetCallTrace crashes when called while handling SIGTRAP [v3]
Richard Reingruber
rrich at openjdk.org
Thu Feb 27 09:06:54 UTC 2025
On Thu, 27 Feb 2025 01:51:58 GMT, Andrei Pangin <apangin at openjdk.org> wrote:
> I'm OK with the proposed fix as long as it reduces possibility of crashes, but it's likely not a bullet-proof solution. Any native frame that does not belong to `libjvm.so` is potentially dangerous to walk.
Thanks for your comments, Andrei. I agree. Even frames from `libjvm.so` are dangerous since we might read an incorrect random sender_pc(). The outcome that is just undefined.
Tests are good though :)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23641#issuecomment-2687322843
More information about the hotspot-runtime-dev
mailing list