-
Notifications
You must be signed in to change notification settings - Fork 107
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
trace is trying to dereferencing misaligned pointer #216
Comments
I'm seeing similar errors also when using pprof-rs with libunwind on Mac M2:
|
I got the same error message. This is on an Apple M1 Pro running OSX 13.5.2 and Rust 1.72.0. I am fairly confident that the behavior changed upon OSX upgrade, although I'm not sure which upgrade, and hypothetically the behavior could have changed when I upgraded Rust. Regardless, profiling always crashes now. |
I'm getting a Macbook today. Maybe I can try to reproduce the bug on it 😆 . The backtrace provided by @alindima above is really helpful and I think I have known the problem, just need to verify / validate the fix 🍻 . |
rust panic with following error message
after some investigation these two lines in
frame_pointer.rs
turned out to be the root causeThe text was updated successfully, but these errors were encountered: