-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
assertion failed: bpos.to_u32() >= mbc.pos.to_u32() + mbc.bytes as u32' #58094
Comments
Cannot reproduce on my linux. |
I can reproduce a very similar problem (appears to involve the same origin and failing assertion of
For me, setting backtrace
|
With the help of libfuzzer-sys, I've found a tiny test that reproduces this crash on Linux and Mac:
|
Got another one:
Happens when compiling regex tests with |
According to glaicer, the ICE from this example has been gone. |
@bjorn3 can you confirm that your example does not crash on nightly anymore? |
Has been fixed in #66141 |
#66054 is likely the part of the rollup fixing it. |
Shouldn't a testcase be added instead of closing this? |
Add more tests for fixed ICEs Closes rust-lang#36122 (fixed in 1.20.0) Closes rust-lang#58094 (fixed in rust-lang#66054) Also, fix mistaken test case, from rust-lang#30904 to rust-lang#30906 (cc @eddyb) r? @Centril
Add more tests for fixed ICEs Closes rust-lang#36122 (fixed in 1.20.0) Closes rust-lang#58094 (fixed in rust-lang#66054) Also, fix mistaken test case, from rust-lang#30904 to rust-lang#30906 (cc @eddyb) r? @Centril
A similar crash that still happens: #66473 |
Reproduction branch: https://github.com/bjorn3/rustc_codegen_cranelift/tree/syntax_assertion_fail
When applying the change from the last commit I get a panic in my code during the call to
SourceMap::lookup_char_pos
.Backtrace
The text was updated successfully, but these errors were encountered: