sb_frame.sp() <= active_frame.stack_pointer #38
carlsverre
started this conversation in
Bug
Replies: 2 comments 4 replies
-
I am not sure whether it's due to inlining. Do you have a small repo that can reproduce the issue? You can turn on detailed logging by RUST_LOG=trace , might tell something. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I was able to produce a fairly minimal repro here: https://gist.github.com/carlsverre/f07c6c7fa6b3ea34023879f4317a40bc Notably, I suspect the issue is related to Deref. Although not 100% sure. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A couple of my tests hit this issue when run. The weird thing is that not all of my tests do. Some work fine, some crash with this error. It's not super clear what the difference is between them.
Per #12 it sounds like this is related to inlining. In the below test I'm not doing any explicit inlining. Is there a way to configure cargo/rust/FireDBG to compile without inlining when running FireDBG? I would prefer to not disable it entirely or anything like that.
Here is an example of a failing test with some of the relevant details. PageRange is basically like core::ops::Range and ZERO_DIGEST is basically
[0;32]
. The various block methods are all trivial.Here is the full backtrace when it fails:
Beta Was this translation helpful? Give feedback.
All reactions