[Mono-list] Mono compiler crashes when calling native code

Andres G. Aragoneses knocte at gmail.com
Tue Aug 14 19:58:46 UTC 2012

On 14/08/12 16:02, Maurício Linhares wrote:
> Hello guys,
> I'm trying to compile the following code using Mono (I'm in a mac, using MonoDevelop):
> https://gist.github.com/3350045#file_common_run_loop.cs
> But the compiler crashes and produces the following output:
> https://gist.github.com/3350045#file_compiler_output.log
> I have moved this class out of the project where it used to be and even in a project with this class only the compiler still crashes. Any idea why this would be happening?
> This class is just a holder for a shared run loop CFRunLoop, i have code that looks almost like this in another place and it works as expected (the only difference I can spot is that the code in this other class is in an instance method, not in a static constructor.

A crash in the compiler is always a bug, please file it here:


However, test first with Mono 2.11.3 or later because your bug may be 
fixed already, the compiler has progressed a lot in the 2.11.x series 
since 2.10.

More information about the Mono-list mailing list