[Mono-bugs] [Bug 419828] Verifier causes F# to fail on Mono trunk

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 9 14:44:15 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=419828

https://bugzilla.novell.com/show_bug.cgi?id=419828#c15


--- Comment #15 from Laurent Le Brun <laurentlb at gmail.com> 2010-09-09 18:44:13 UTC ---
I've compiled Mono from today's git, and my C# repro doesn't segfault anymore.
In F# interactive, I get "Operation is not supported." too.

With the --trace=N:nothing option, I can see the System.NotSupportedException
is raised twice. The first one is the normal behaviour of F# (it comes from
GetMethodImpl as mentionned by Rodrigo), it also happens on Microsoft .NET and
there is a "catch" instruction.

The second one however is raised in GetMethods, and I think that's the problem.
I got this stack trace with --trace=E:all

"<unnamed thread>" tid=0x0x7f073d9b3740 this=0x0x7f073bccde60 thread handle
0x403 state : not waiting owns ()
  at System.Reflection.MonoGenericClass.GetMethods
(System.Reflection.BindingFlags) <0x0029d>
  at
Microsoft.FSharp.Compiler.AbstractIL.RuntimeWriter.queryableTypeGetMethodBySearch
(Microsoft.FSharp.Compiler.AbstractIL.RuntimeWriter/cenv,Microsoft.FSharp.Compiler.AbstractIL.RuntimeWriter/emEnv,System.Type,Microsoft.FSharp.Compiler.AbstractIL.IL/ILMethodRef)
<0x0005f>
..

-- 
Configure bugmail: https://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