-
Notifications
You must be signed in to change notification settings - Fork 587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aarch64: rr crashes immediately upon replay -e #3568
Comments
Is pointer authentication enabled in your kernel? rr currently doesn't capture those keys, I don't think. |
I'm using Fedora Asahi, so I'm not 100% sure, but it appears that pointer authentication has been in the upstream Fedora ARM64 kernel since Fedora 33 (https://fedoraproject.org/wiki/Changes/Aarch64_PointerAuthentication). Have users on Apple Silicon built their own kernels to use rr? Or does only Fedora enable pointer authentication by default? |
The apple silicon support was developed with an early version of the Asahi kernel, which I'm fairly sure didn't have PAC enabled. I don't know what Asahi Fedora remix is doing, but I wouldn't be surprised if that got enabled in the process. |
I'll rebuild the kernel and see it works. |
I think this is probably not related to early vs later asahi but that arch Linux kernel doesn’t have this enabled vs fedora that does. |
I don't think fixing this properly is that bad, we just need to dump the NT_ARM_PACA_KEYS/NT_ARM_PACG_KEYS regsets into the trace. |
Try #3569. |
It works! |
On Fedora 38 aarch64 (Apple Silicon), this can be reproduced with:
The text was updated successfully, but these errors were encountered: