-
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] Generic Default Interface Method crash with Environment.StackTrace #60486
[mono] Generic Default Interface Method crash with Environment.StackTrace #60486
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. |
Is it possible to share a stack trace? |
Tagging subscribers to this area: Issue DetailsDescriptionCalling Reproduction StepsCompile and run the following program with the Mono runtime...
Expected behaviorProgram completes without crashing and the output is written to the screen. Actual behaviorProgram crashes. Regression?Not a regression Known WorkaroundsNo known workarounds. Configuration
Other informationNo response
|
|
…ace 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
…ace 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
…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>
…ace 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
…ace 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
…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>
Description
Calling
Environment.StackTrace
from a default interface method of a generic interface causes a crash in the Mono runtime.Reproduction Steps
Compile and run the following program with the Mono runtime...
Expected behavior
Program completes without crashing and the output is written to the screen.
Actual behavior
Program crashes.
Regression?
Not a regression
Known Workarounds
No known workarounds.
Configuration
Other information
No response
The text was updated successfully, but these errors were encountered: