-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
"Panic: misaligned pointer reference" in rustc 1.70.0 #38
Comments
swash::scale::cff::cff::IndexMetadata::unpack
Update: this crash cannot be reproduced using the latest version of |
Appear to be a duplicate of #34.
In this case in particular, the program was containing undefined-behaviour, whose semantics may indeed change between versions. |
Indeed, it looks like the compiler managed to exploit a previously-unnoticed UB. Since it is already known and fixed in the latest version, I will close this issue now. Thanks for your explanation. |
I experienced this crash after upgrading
rustc
to 1.70.0, and I cannot reproduce it usingrustc
1.69.0. The crash happens in aniced
application (with a dependency onswash
0.1.6).The full crash log is attached here for your information. It seems there is something wrong about the font parsing process. I tested the application in Windows Sandbox (which comes with only the fonts that Microsoft ships with Windows), so the issue should not be about the custom fonts I installed.
Full crash log
The crash can be consistently reproduced on my PC with the following simple program:
with the following in
Cargo.toml
configuration (to useiced
master):I have already filed iced-rs/iced#1905, but I feel that this is more related to
swash
, so I also file a copy here.The text was updated successfully, but these errors were encountered: