You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Mono program crashes when a static virtual method is called on an interface but only in the Debug configuration.
The same program works correctly with CoreCLR or with Mono in the Release configuration. I observed this while working on xamarin-macios (see xamarin/xamarin-macios#18519 (comment)).
Reproduction steps
To reproduce the issue, put the following code to the HelloWorld sample code in src/mono/sample/HelloWorld/Program.cs:
A Mono program crashes when a static virtual method is called on an interface but only in the Debug configuration.
The same program works correctly with CoreCLR or with Mono in the Release configuration. I observed this while working on xamarin-macios (see xamarin/xamarin-macios#18519 (comment)).
Reproduction steps
To reproduce the issue, put the following code to the HelloWorld sample code in
src/mono/sample/HelloWorld/Program.cs
:Run the program via
make -C src/mono/sample/HelloWorld run
.Instead of printing both lines, program crashes:
The text was updated successfully, but these errors were encountered: