[Mono-list] mcs/gmcs crash

Robert Jordan robertj at gmx.net
Sun Oct 8 17:36:10 EDT 2006

Andreas Färber wrote:
> Am 08.10.2006 um 22:11 schrieb Robert Jordan:
>> Andreas Färber wrote:
>>> When I compile the following code:
>>> public class test {
>>> 	public static void Main() {
>>> 		hjk;
>>> 	}
>>> }
>>> in Mono on OS X (both ppc and i386) using "[g]mcs test.cs [-
>>> out:...]" then both mcs and gmcs emit an appropriate error message
>>> and exit, but on the console I see that mono crashed, apparently
>>> performing an illegal memory access.
>>> If I leave out the semicolon in the faulty line (leading to a
>>> different error) then there is no crash.
>>> Is this a known issue, or should I file a ticket?
>> That's not a mcs crash, see
>> http://bugzilla.ximian.com/show_bug.cgi?id=74869
>> Disable the dumb Crash Reporter or apply the patch.
> Are you certain about the workaround? Such Mach code was part of  
> Cocoa# earlier this year and did not fix NullPointerExceptions for me  
> back then, I even wrote an NUnit test case to show that.

I meant the last "mini.diff" patch against the runtime.

> I am working on a managed Xcode plugin, so patching my own local Mono  
> is no solution.

You could try out the patch, especially on x86, and post a follow
up to the bug entry. Or build a dylib (derived from the patch's code)
and pinvoke it, because I'm not sure if patch will be ever accepted.


More information about the Mono-list mailing list