Export to GitHub

subsonicproject - issue #100

SubSonic r523 build on Mono gmcs 2.0.1-4


Posted on Jun 12, 2009 by Swift Rabbit

What steps will reproduce the problem? 1. Attempt to build SubSonic r523 on Mono with gmcs 2.0.1-4

What is the expected output? What do you see instead? Receiving a build error when attempting to build solution. Looks to possibly be a Mono issue. Submitted issue to Mono devs at http://go-mono.com/forums/#nabble-td20569120

Anyone know of a work around?

Unhandled Exception: Mono.CSharp.InternalErrorException: /home/steve/dev/prj/SubSonic/SubSonic/Sql Tools/SubSonicRepository.cs(41,23): SubSonic.SubSonicRepository.SelectAllColumnsFrom<T>() ---> System.IndexOutOfRangeException: Array index is out of range. at Mono.CSharp.TypeParameter+InflatedConstraints.inflate (System.Type t) at Mono.CSharp.TypeParameter+InflatedConstraints.inflate (System.Type t) at Mono.CSharp.TypeParameter+InflatedConstraints..ctor (Mono.CSharp.GenericConstraints gc, System.Type[] dargs) at Mono.CSharp.TypeParameter+InflatedConstraints..ctor (Mono.CSharp.GenericConstraints gc, System.Type declaring) at Mono.CSharp.TypeParameter.DefineType (IResolveContext ec, System.Reflection.Emit.MethodBuilder builder, System.Reflection.MethodInfo implementing, Boolean is_override) at Mono.CSharp.GenericMethod.DefineType (Mono.CSharp.EmitContext ec, System.Reflection.Emit.MethodBuilder mb, System.Reflection.MethodInfo implementing, Boolean is_override) at Mono.CSharp.MethodData.Define (Mono.CSharp.DeclSpace parent, System.String method_full_name) at Mono.CSharp.MethodOrOperator.Define () at Mono.CSharp.Method.Define () at Mono.CSharp.TypeContainer+MemberCoreArrayList.DefineContainerMembers ()

What version of the product are you using? On what operating system? SubSonic r523 Mono gmcs 2.0.1-4 Linux 2.6.28-11 (Ubuntu 9.04)

Comment #1

Posted on Jun 12, 2009 by Swift Rabbit

I did some more investigation and I can confirm this appears to be an issue with the mono compiler. I'll add a fix to this as soon as I locate one.

Feel free to close this, and thanks again for an amazing product!

Status: New

Labels:
Type-Defect Priority-Medium