[Mono-bugs] [Bug 568955] System.InvalidOperationException: List has changed. from gmcs while compiling classes with base constructor accepting Expression<..> as argument

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 28 04:58:25 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=568955

http://bugzilla.novell.com/show_bug.cgi?id=568955#c8


--- Comment #8 from Pablo Ruiz <pruiz at netway.org> 2010-04-28 08:58:23 UTC ---
As announced by Miguel, today's trunk has a few enhancements on SRE's handling,
so I tried again this bug against today's trunk.

However, the bug still exists:

[root at Marge tmp]# /opt/mono-trunk/bin/mono --debug
/usr/src/mono-trunk.svn/mcs/mcs/gmcs.exe /target:exe -debug+ /d:DEBUG
/out:n.exe p5.cs && mono --debug n.exe

Unhandled Exception: Mono.CSharp.InternalErrorException: p5.cs(20,24):
Test.IntSpec.IntSpec(int) ---> System.InvalidOperationException: Collection was
modified; enumeration operation may not execute.
  at
System.Collections.Generic.List`1+Enumerator[Mono.CSharp.Statement].VerifyState
() [0x00047] in
/usr/src/mono-trunk.svn/mcs/class/corlib/System.Collections.Generic/List.cs:781
  at
System.Collections.Generic.List`1+Enumerator[Mono.CSharp.Statement].MoveNext ()
[0x00000] in
/usr/src/mono-trunk.svn/mcs/class/corlib/System.Collections.Generic/List.cs:785
  at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext ec) [0x00051] in
/usr/src/mono-trunk.svn/mcs/mcs/statement.cs:2027
  at Mono.CSharp.ToplevelBlock.Resolve (Mono.CSharp.FlowBranching parent,
Mono.CSharp.BlockContext rc, Mono.CSharp.ParametersCompiled ip, IMethodData md)
[0x00060] in /usr/src/mono-trunk.svn/mcs/mcs/statement.cs:2723
  --- End of inner exception stack trace ---
  at Mono.CSharp.TypeContainer.EmitConstructors () [0x000f5] in
/usr/src/mono-trunk.svn/mcs/mcs/class.cs:1706
  at Mono.CSharp.TypeContainer.EmitType () [0x0001c] in
/usr/src/mono-trunk.svn/mcs/mcs/class.cs:1723
  at Mono.CSharp.RootContext.EmitCode () [0x00059] in
/usr/src/mono-trunk.svn/mcs/mcs/rootcontext.cs:332
  at Mono.CSharp.Driver.Compile () [0x00342] in
/usr/src/mono-trunk.svn/mcs/mcs/driver.cs:1771
  at Mono.CSharp.Driver.Main (System.String[] args) [0x0003c] in
/usr/src/mono-trunk.svn/mcs/mcs/driver.cs:308

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list