-
Notifications
You must be signed in to change notification settings - Fork 4.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
[wasm][aot][tests] Runtime crash ("function signature mismatch") in System.Text.Encodings.Web.Tests #50965
Comments
Tagging subscribers to 'arch-wasm': @lewing Issue Details
|
This can be reproduced on Different trace now:
|
This is caused by this function pointer code:
|
…s.Web.Tests With these tests disabled, the test run doesn't crash, and can be reenabled for AOT. Issue: dotnet#50965
So this is caused by problems with function pointers in mixed mode. In compiled code, function pointers are represented by a MonoFtnPtr*. In the interpreter, they are represented by an InterpMethod*. So if an ftnptr is created in compiled code and used in the interpreter, or vice versa, things will break. |
Just fyi, I'm disabling the test in #53971, and with that rest of the test suite is able to run without crashing. |
Fixed by |
Log
The text was updated successfully, but these errors were encountered: