Bug 9118 - * Assertion at ../../../../../mono/mono/mini/aot-compiler.c:2372, condition `image_index < MONO_AOT_METHODREF_MIN' not met
Summary: * Assertion at ../../../../../mono/mono/mini/aot-compiler.c:2372, condition `...
Alias: None
Product: Runtime
Classification: Mono
Component: JIT ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2012-12-22 05:41 UTC by Marek Safar
Modified: 2013-01-02 23:47 UTC (History)
3 users (show)

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

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 2012-12-22 05:41:11 UTC
When aot project with quite few references.
Comment 1 Zoltan Varga 2013-01-02 08:13:33 UTC
Do you have a testcase ? It would require one assembly referencing about 240 directly or indirectly.
Comment 2 Marek Safar 2013-01-02 08:14:51 UTC
I have test case. It's generated project with ~2k of references
Comment 3 Marek Safar 2013-01-02 08:48:47 UTC
Steps to reproduce using Mono master and MD (latest refresh)

1. mono/mcs/tests run make gen-mt-tests
2. open project from mono/mcs/tests/projects/MonoTouch/MonoTouch.csproj using MD
3. disable linker (it's buggy for the project) and try to compile for device
Comment 4 Zoltan Varga 2013-01-02 23:47:38 UTC
Fixed in master.