-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[mono][interp] Remove an assertion. #78596
Conversation
The assertion can be hit in normal usage on wasm when calling a catch clause inside a finally clause from interp_run_clause_with_il_state (). Test case is TCErrorConditionWriter:var_21 () in the xml test suite.
Tagging subscribers to this area: @BrzVlad Issue DetailsThe assertion can be hit in normal usage on wasm when calling a catch clause inside a finally clause from interp_run_clause_with_il_state (). Test case is TCErrorConditionWriter:var_21 () in the xml test suite.
|
Re: |
This will need a backport to 7.0. |
The failure was only hit on 7.0 due to: |
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
I don't understand the behavior with this change. Let's say we have a method like this:
So from your description, I assume that Interpreter will start executing @vargaz Is this correct ? |
@BrzVlad @vargaz Doesn't |
Yes, this might not be correct. |
@jandupej No, because the behavior is dependent on who executes this block. The finally block can be invoked as part of the method execution, when the guarded code is finished, or independently from EH. In which case the endfinally opcode (which has to be at the end of all finally blocks) just returns out of |
Not the right fix, closing. |
The assertion can be hit in normal usage on wasm when calling a catch clause inside a finally clause from interp_run_clause_with_il_state ().
Test case is TCErrorConditionWriter:var_21 () in the xml test suite.