-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
rustc 1.56.0 : double free on OpenBSD sparc64 #90064
Comments
for reference, I am building natively on sparc64, with openbsd packaging infrastructure using this port tree (it is Makefile which is fetching 1.56.0, applies some patches, start build, package, etc...). It includes few patches. I tested 1.55.0 on the exact same OS version and it built fine. I am currently testing 1.56.0 without a patch I backported from 1.57.0 which is changing few bits on backtrace. The gdb backtrace has mention of |
my build without gimli patch still fail. so it isn't that. |
Assigning priority as discussed in the Zulip thread of the Prioritization Working Group. @rustbot label -I-prioritize +P-medium |
I made some progress. Disabling C-unwind by removing the Regarding unwinding, on OpenBSD, all architectures doesn't do it the same way: specially, sparc64 is the sole to use @alexcrichton do you have some possible pointers to help me to properly resolv the issue ? For now, I intent to add |
@alexcrichton as a workaround (for a local patch for sparc64 on OpenBSD), does not calling |
it seems it is a code generation problem: adding |
I am currently preparing packaging of rustc 1.56.0 for OpenBSD.
On sparc64, while compiling
alloc
, the build aborts due todouble free
(OpenBSD libc detects it and abort).If I correctly understand the place, the double free occurs with stage1, which is 1.56.0 code built using 1.55.0.
It is a regression from previous stable, as building 1.55.0 was fine.
Any pointer would be appreciate.
The build log for
alloc
is the following:gdb backtrace:
The text was updated successfully, but these errors were encountered: