Bug 9118

Summary: * Assertion at ../../../../../mono/mono/mini/aot-compiler.c:2372, condition `image_index < MONO_AOT_METHODREF_MIN' not met
Product: [Mono] Runtime Reporter: Marek Safar <masafa>
Component: JITAssignee: Bugzilla <bugzilla>
Severity: normal CC: mono-bugs+mono, mono-bugs+runtime, vargaz
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS   
Tags: Is this bug a regression?: ---
Last known good build:

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.