-
Notifications
You must be signed in to change notification settings - Fork 12
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
Crashes in Rust Nightly #7
Comments
That sounds like Miri is just running your system out of memory. If Miri were encountering a problem, you'd get a clear diagnostic. Also, the issue linked is about disabling a MIR optimization, and Miri disables all optimizations by default (and emits a warning if you turn them back on). I tried compiling this repo but I get this error:
Which supposedly can be hacked around by downgrading bstr to 1.2.0. After doing that, I get this:
🤷 |
Thanks for looking I to this! I will do some of my own testing later. It is quite likely that the sigfaults was caused by OOM since that particular test is a fairly complex diff/computation which night consume a lot of memory with miri. @saethlin the build failures seem to happen in gitoxide. I only use gitoxide for the benchmarks (currently) and not for the test cases so you could just remove gitoxide from the dependency list. Altough it's odd that gitoxide fails to build. I would guess someone did a breaking change on a patch version by accidwnt |
The first break is BurntSushi/bstr#149, which is... messy |
You're right, that might be the issue. Sorry for the confusion!
Oh yes, I temporarily fixed that by commenting out the dependency. I should have mentioned that. I'm closing this issue, since this wasn't the right place to file it. @pascalkuthe also created PR helix-editor/helix#7227. Thanks! |
Running the test with Miri using
MIRIFLAGS="-Zmiri-disable-isolation" cargo +nightly miri test
for this repo results in aSIGKILL
.This might have something to do with the issue reported in rust-lang/rust#112171.
The text was updated successfully, but these errors were encountered: