RFR: 8304725: AsyncGetCallTrace can cause SIGBUS on M1 [v3]

David Holmes dholmes at openjdk.org
Thu Mar 23 12:35:57 UTC 2023


On Thu, 23 Mar 2023 08:20:18 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:

>> Fixes the issue by transitioning the thread into the WXWrite mode while walking the stack in AsyncGetCallTrace.
>> 
>> Tested on my M1 mac.
>
> Johannes Bechberger has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Use raw_thread instead of Thread::current()

AGCT uses signals - most of what it does is not safe.

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

PR Comment: https://git.openjdk.org/jdk/pull/13144#issuecomment-1481116274


More information about the serviceability-dev mailing list