-
Notifications
You must be signed in to change notification settings - Fork 92
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
internal compiler error: assertion failed: (left == right)
#2312
Labels
[C] Bug
This is a bug. Something isn't working.
[F] Crash
Kani crashed
T-High Priority
Tag issues that have high priority
T-User
Tag user issues / requests
Z-Kani Compiler
Issues that require some changes to the compiler
Comments
Thanks for the bug report @nano-o. I ran into another crash when I tried those steps:
which seems to be the same as #2260. |
zhassan-aws
added
T-High Priority
Tag issues that have high priority
[F] Crash
Kani crashed
T-User
Tag user issues / requests
labels
Mar 22, 2023
This is a minimal example that reproduces the second crash ( #[kani::proof]
fn main() {
let e = std::io::Error::new(std::io::ErrorKind::Other, "");
let d = &e as &(dyn std::error::Error + 'static);
let _ = d.is::<std::io::Error>();
}
Haven't been able to reproduce the original one yet. |
celinval
added
the
Z-Kani Compiler
Issues that require some changes to the compiler
label
Apr 5, 2023
celinval
added a commit
that referenced
this issue
Feb 6, 2024
Use FnAbi instead of function signature when generating code for function types. Properly check the `PassMode::Ignore`. For foreign functions, instead of ignoring the declaration type, cast the arguments and return value. For now, we also ignore the caller location, since we don't currently support tracking caller location. This change makes it easier for us to do so. We might want to wait for this issue to get fixed so we can easily add support using stable APIs: rust-lang/project-stable-mir#62 Resolves #2260 Resolves #2312 Resolves #1365 Resolves #1350
feliperodri
added a commit
that referenced
this issue
Feb 9, 2024
## What's Changed * `modifies` Clauses for Function Contracts by @JustusAdam in #2800 * Fix ICEs due to mismatched arguments by @celinval in #2994. Resolves the following issues: * #2260 * #2312 * Enable powf*, exp*, log* intrinsics by @tautschnig in #2996 * Upgrade Rust toolchain to nightly-2024-01-24 by @celinval @feliperodri @qinheping **Full Changelog**: kani-0.45.0...kani-0.46.0 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses. --------- Signed-off-by: Felipe R. Monteiro <felisous@amazon.com> Co-authored-by: Celina G. Val <celinval@amazon.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
[C] Bug
This is a bug. Something isn't working.
[F] Crash
Kani crashed
T-High Priority
Tag issues that have high priority
T-User
Tag user issues / requests
Z-Kani Compiler
Issues that require some changes to the compiler
Kani 0.24.0 crashes in the following scenario.
First clone https://github.com/nano-o/soroban-examples/tree/f5e6acc0e253aabe0a4da6f503ddefac1bcb1df5
Then
cd increment
andcargo kani --tests
results in the crash below. It seems different from the other issues related to this codebase and already reported.The text was updated successfully, but these errors were encountered: