Bug 6034 - Crash GetValue on static properties of unspecialized generic
Summary: Crash GetValue on static properties of unspecialized generic
Alias: None
Product: Runtime
Classification: Mono
Component: General ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2012-07-08 01:40 UTC by James Bellinger
Modified: 2017-08-28 15:04 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

crashes Mono (5.99 KB, application/zip)
2012-07-08 01:40 UTC, James Bellinger

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description James Bellinger 2012-07-08 01:40:25 UTC
Created attachment 2172 [details]
crashes Mono


Ran into this when writing code that reads static properties with reflection.
Not hard to work around but figured I'd report it.

The crash is:

* Assertion at ../../../mono/mini/mini-generic-sharing.c:1377, condition `!method_inst->is_open' not met

Still, this might occasionally cause problems for IDEs, code obfuscators and the like.

Have a good day

Comment 1 Zoltan Varga 2012-08-13 22:56:56 UTC
Fixed in master.