[Mono-list] mcs/gmcs crash

Andreas Färber andreas.faerber at web.de
Sun Oct 8 16:39:45 EDT 2006


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 1.1.17.1 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 am working on a managed Xcode plugin, so patching my own local Mono  
is no solution.

Andreas


More information about the Mono-list mailing list