Bug 31883 - System.InvalidProgramException on reference address store
Summary: System.InvalidProgramException on reference address store
Status: RESOLVED DUPLICATE of bug 36292
Alias: None
Product: Runtime
Classification: Mono
Component: JIT ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Alexander Kyte
Depends on:
Reported: 2015-07-13 12:28 UTC by Marek Safar
Modified: 2016-01-13 17:14 UTC (History)
5 users (show)

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

test-1 (4.50 KB, application/x-msdownload)
2015-07-13 12:28 UTC, Marek Safar

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 Marek Safar 2015-07-13 12:28:01 UTC
Created attachment 12003 [details]

mono test-1.exe

Unhandled Exception:
System.InvalidProgramException: Invalid IL code in B:M1<T_REF> (T_REF): IL_0002: stloc.0

No error on .net or with peverify
Comment 1 Andrea Canciani 2016-01-12 23:44:15 UTC
I hit the same exception on `stloc.s 4` in an F# library:

Comment 2 Zoltan Varga 2016-01-13 17:14:57 UTC

*** This bug has been marked as a duplicate of bug 36292 ***