Crash on macosx-aarch64 when merging Leyden premain with mainline

ioi.lam at oracle.com ioi.lam at oracle.com
Fri Sep 19 16:04:33 UTC 2025


On 9/19/25 1:54 AM, Andrew Haley wrote:
> On 18/09/2025 23:28, Dean Long wrote:
>> If it only happens on macos aarch64 then it could be related to
>> os::current_thread_enable_wx() state.
>
> Yes. That is almost certainly the case.
>
It seems to be a bus alignment error. Maybe we're using a 8-byte aligned 
address (0x000000012a8c7108) but the instruction wants 16-byte alignment?

V  [libjvm.dylib+0x2c49c8] 
BarrierSetNMethod::nmethod_stub_entry_barrier(unsigned char**)+0x140
v  ~StubRoutines::Stub Generator method_entry_barrier_stub 
0x0000000131de4938
siginfo: si_signo: 10 (SIGBUS), si_code: 1 (BUS_ADRALN), si_addr: 
0x000000012a8c7108




More information about the leyden-dev mailing list