-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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] Context->method_inst is non-NULL but garbage on AOT #62334
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
We backported the original fix to mono/mono#21356 - will need to update there too |
/cc @vargaz |
frame 10 is runtime/src/mono/mono/mini/mini-exceptions.c Lines 895 to 899 in 5789792
which calls runtime/src/mono/mono/mini/mini-exceptions.c Lines 847 to 849 in 5789792
which is setting And then that context is passed to |
The context is a MonoMethodRuntimeGenericContext when the method is a default interface method. Also re-enable broken DIM tests. Fixes dotnet/runtime dotnet#62334
The context is a MonoMethodRuntimeGenericContext when the method is a default interface method. Related to dotnet/runtime#62334
The context is a MonoMethodRuntimeGenericContext when the method is a default interface method. Related to dotnet/runtime#62334
…ace method (#21356) * [mono] Fix StackTrace from a dim and Vtable offsets for static interface method - Fix StackTrace when called from a DIM. - Fix the other test case that was added for @bholmes, and this case when the method `TestMethod5` was being called it was executing `TestMethod10`, and this was fixed skipping static interface methods when was calculating vtable offsets. The fix was completely done by @vargaz, I just opened the PR. Thanks @vargaz . Fix dotnet/runtime#60486 * mono_get_generic_info_from_stack_frame fix for default interface methods The context is a MonoMethodRuntimeGenericContext when the method is a default interface method. Related to dotnet/runtime#62334 Co-authored-by: thaystg <thaystg@users.noreply.github.com> Co-authored-by: Bill Holmes <bill.holmes@unity3d.com>
The context is a MonoMethodRuntimeGenericContext when the method is a default interface method. Related to dotnet/runtime#62334
The context is a MonoMethodRuntimeGenericContext when the method is a default interface method. Related to dotnet/runtime#62334
…ace method (mono#21356) * [mono] Fix StackTrace from a dim and Vtable offsets for static interface method - Fix StackTrace when called from a DIM. - Fix the other test case that was added for @bholmes, and this case when the method `TestMethod5` was being called it was executing `TestMethod10`, and this was fixed skipping static interface methods when was calculating vtable offsets. The fix was completely done by @vargaz, I just opened the PR. Thanks @vargaz . Fix dotnet/runtime#60486 * mono_get_generic_info_from_stack_frame fix for default interface methods The context is a MonoMethodRuntimeGenericContext when the method is a default interface method. Related to dotnet/runtime#62334 Co-authored-by: thaystg <thaystg@users.noreply.github.com> Co-authored-by: Bill Holmes <bill.holmes@unity3d.com>
The new test from #60770
Test from #60770 is failing on the AOT lane - looks like context->method_inst is non-NULL but garbage:
https://helix.dot.net/api/2019-06-17/jobs/37967d43-ee2b-411f-aa01-5e4f6f0fab43/workitems/Loader.classloader/console
Look at collect_ginst_images in frame 6
The text was updated successfully, but these errors were encountered: