Bug 14448 - The compiler appears to have creashed
Summary: The compiler appears to have creashed
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 4.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-09-04 20:51 UTC by douglass
Modified: 2013-09-05 12:47 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description douglass 2013-09-04 20:51:24 UTC
After new install (first time installed - had monodevelop installed and working, moved to xamarin studio) no solutions will build. Neither existing monodevelop nor brand new created in xamarin studio.

Build Output: (from New iOS Tab solution)


Building Solution: test (Debug|iPhoneSimulator)

Building: test (Debug|iPhoneSimulator)
Performing main compilation...
/Developer/MonoTouch/usr/bin/mcs /noconfig "/r:/Developer/MonoTouch/usr/lib/mono/2.1/mscorlib.dll" -nostdlib "/out:/Users/douglass/Projects/test/test/bin/iPhoneSimulator/Debug/test.exe" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" /nologo /warn:4 /debug:full /optimize- /codepage:utf8 "/define:DEBUG;__MOBILE__;__IOS__"  /t:exe "/Users/douglass/Projects/test/test/Main.cs" "/Users/douglass/Projects/test/test/AppDelegate.cs" "/Users/douglass/Projects/test/test/FirstViewController.cs" "/Users/douglass/Projects/test/test/SecondViewController.cs" "/Users/douglass/Projects/test/test/FirstViewController.designer.cs" "/Users/douglass/Projects/test/test/SecondViewController.designer.cs" 
* Assertion at ../../../../../mono/mono/metadata/object.c:1803, condition `class' not met



Native stacktrace:

	0   mono                                0x0010298b mono + 1055115
	1   mono                                0x0018a21d mono + 1610269
	2   libsystem_c.dylib                   0x973c986b _sigtramp + 43
	3   ???                                 0xffffffff 0x0 + 4294967295
	4   libsystem_c.dylib                   0x97415527 abort + 215
	5   mono                                0x00362a93 mono + 3545747
	6   mono                                0x00362b26 mono + 3545894
	7   mono                                0x002999d1 mono + 2722257
	8   mono                                0x0029995c mono + 2722140
	9   mono                                0x00238c76 mono + 2325622
	10  mono                                0x00238dc3 mono + 2325955
	11  mono                                0x00261373 mono + 2491251
	12  mono                                0x002618de mono + 2492638
	13  mono                                0x0027ff57 mono + 2617175
	14  mono                                0x00016359 mono + 86873
	15  mono                                0x000c8749 mono + 816969
	16  mono                                0x0000279f mono + 6047
	17  mono                                0x00002838 mono + 6200
	18  mono                                0x00002465 mono + 5221

Debug info from gdb:


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================




Native stacktrace:

	0   mono                                0x0010298b mono + 1055115
	1   mono                                0x0018a21d mono + 1610269
	2   libsystem_c.dylib                   0x973c986b _sigtramp + 43
	3   ???                                 0xffffffff 0x0 + 4294967295
	4   libsystem_c.dylib                   0x97415527 abort + 215
	5   mono                                0x00362a93 mono + 3545747
	6   mono                                0x00362b26 mono + 3545894
	7   mono                                0x002999d1 mono + 2722257
	8   mono                                0x0029995c mono + 2722140
	9   mono                                0x00238c76 mono + 2325622
	10  mono                                0x00238dc3 mono + 2325955
	11  mono                                0x00261373 mono + 2491251
	12  mono                                0x002618de mono + 2492638
	13  mono                                0x0027ff57 mono + 2617175
	14  mono                                0x00016359 mono + 86873
	15  mono                                0x000c8749 mono + 816969
	16  mono                                0x0000279f mono + 6047
	17  mono                                0x00002838 mono + 6200
	18  mono                                0x00002465 mono + 5221

Debug info from gdb:


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Build complete -- 1 error, 0 warnings

---------------------- Done ----------------------

Build: 1 error, 0 warnings



Version Details:
=== Xamarin Studio ===

Version 4.0.12 (build 3)
Installation UUID: 35eacb68-f361-4aa0-a924-709b3a466139
Runtime:
	Mono 3.2.0 ((no/7c7fcc7)
	GTK 2.24.20
	GTK# (2.12.0.0)
	Package version: 302000000

=== Apple Developer Tools ===

Xcode 4.6.3 (2068)
Build 4H1503

=== Xamarin.iOS ===

Version: 6.4.3.0 (Business Edition)
Hash: 0068990
Branch: 
Build date: 2013-13-08 05:24:39-0400

=== Xamarin.Mac ===

Xamarin.Mac: Not Installed

=== Xamarin.Android ===

Version: 4.8.1 (Starter Edition)
Android SDK: /Users/douglass/Library/Developer/Xamarin/android-sdk-mac_x86
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		4.0   (API level 14)
		4.0.3 (API level 15)
Java SDK: /usr
java version "1.6.0_51"
Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457-11M4509)
Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode)

=== Build Information ===

Release ID: 400120003
Git revision: 593d7acb1cb78ceeeb482d5133cf1fe514467e39
Build date: 2013-08-07 20:30:53+0000
Xamarin addins: 25a0858b281923e666b09259ad4746b774e0a873

=== Operating System ===

Mac OS X 10.8.2
Darwin ruddy-douglasss-imac.local 12.2.0 Darwin Kernel Version 12.2.0
    Sat Aug 25 00:48:52 PDT 2012
    root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64
Comment 1 Zoltan Varga 2013-09-05 10:48:32 UTC
The latest mono version is 3.2.1, could you try that ?
Comment 2 douglass 2013-09-05 11:07:30 UTC
Updated to beta version 3.2.1 - with no apparent change in build status

Version Details:
=== Xamarin Studio ===

Version 4.0.12 (build 3)
Installation UUID: 35eacb68-f361-4aa0-a924-709b3a466139
Runtime:
	Mono 3.2.1 ((no/f3f789e)
	GTK 2.24.20
	GTK# (2.12.0.0)
	Package version: 302010001

=== Apple Developer Tools ===

Xcode 4.6.3 (2068)
Build 4H1503

=== Xamarin.iOS ===

Version: 6.4.4.12 (Business Edition)
Hash: 62e07d5
Branch: 
Build date: 2013-26-08 14:21:47-0400

=== Xamarin.Mac ===

Xamarin.Mac: Not Installed

=== Xamarin.Android ===

Version: 4.8.1 (Starter Edition)
Android SDK: /Users/douglass/Library/Developer/Xamarin/android-sdk-mac_x86
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		4.0   (API level 14)
		4.0.3 (API level 15)
Java SDK: /usr
java version "1.6.0_51"
Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457-11M4509)
Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode)

=== Build Information ===

Release ID: 400120003
Git revision: 593d7acb1cb78ceeeb482d5133cf1fe514467e39
Build date: 2013-08-07 20:30:53+0000
Xamarin addins: 25a0858b281923e666b09259ad4746b774e0a873

=== Operating System ===

Mac OS X 10.8.2
Darwin ruddy-douglasss-imac.local 12.2.0 Darwin Kernel Version 12.2.0
    Sat Aug 25 00:48:52 PDT 2012
    root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64



Build Output: 


Building Solution: test (Debug|iPhoneSimulator)

Building: test (Debug|iPhoneSimulator)
Performing main compilation...
/Developer/MonoTouch/usr/bin/mcs /noconfig "/r:/Developer/MonoTouch/usr/lib/mono/2.1/mscorlib.dll" -nostdlib "/out:/Users/douglass/Projects/test/test/bin/iPhoneSimulator/Debug/test.exe" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" /nologo /warn:4 /debug:full /optimize- /codepage:utf8 "/define:DEBUG;__MOBILE__;__IOS__"  /t:exe "/Users/douglass/Projects/test/test/Main.cs" "/Users/douglass/Projects/test/test/AppDelegate.cs" "/Users/douglass/Projects/test/test/FirstViewController.cs" "/Users/douglass/Projects/test/test/SecondViewController.cs" "/Users/douglass/Projects/test/test/FirstViewController.designer.cs" "/Users/douglass/Projects/test/test/SecondViewController.designer.cs" 
* Assertion at ../../../../../mono/mono/metadata/object.c:1803, condition `class' not met



Native stacktrace:

	0   mono                                0x0010348b mono + 1057931
	1   mono                                0x0018afdd mono + 1613789
	2   libsystem_c.dylib                   0x973c986b _sigtramp + 43
	3   ???                                 0xffffffff 0x0 + 4294967295
	4   libsystem_c.dylib                   0x97415527 abort + 215
	5   mono                                0x003511a3 mono + 3473827
	6   mono                                0x00351236 mono + 3473974
	7   mono                                0x0028a951 mono + 2660689
	8   mono                                0x0028a8dc mono + 2660572
	9   mono                                0x00229b96 mono + 2263958
	10  mono                                0x00229ce3 mono + 2264291
	11  mono                                0x002522b3 mono + 2429619
	12  mono                                0x0025281e mono + 2431006
	13  mono                                0x002710f7 mono + 2556151
	14  mono                                0x00015d3e mono + 85310
	15  mono                                0x000c8da6 mono + 818598
	16  mono                                0x0000210f mono + 4367
	17  mono                                0x000021a8 mono + 4520
	18  mono                                0x00001dd5 mono + 3541

Debug info from gdb:


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================




Native stacktrace:

	0   mono                                0x0010348b mono + 1057931
	1   mono                                0x0018afdd mono + 1613789
	2   libsystem_c.dylib                   0x973c986b _sigtramp + 43
	3   ???                                 0xffffffff 0x0 + 4294967295
	4   libsystem_c.dylib                   0x97415527 abort + 215
	5   mono                                0x003511a3 mono + 3473827
	6   mono                                0x00351236 mono + 3473974
	7   mono                                0x0028a951 mono + 2660689
	8   mono                                0x0028a8dc mono + 2660572
	9   mono                                0x00229b96 mono + 2263958
	10  mono                                0x00229ce3 mono + 2264291
	11  mono                                0x002522b3 mono + 2429619
	12  mono                                0x0025281e mono + 2431006
	13  mono                                0x002710f7 mono + 2556151
	14  mono                                0x00015d3e mono + 85310
	15  mono                                0x000c8da6 mono + 818598
	16  mono                                0x0000210f mono + 4367
	17  mono                                0x000021a8 mono + 4520
	18  mono                                0x00001dd5 mono + 3541

Debug info from gdb:


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Build complete -- 1 error, 0 warnings

---------------------- Done ----------------------

Build: 1 error, 0 warnings
Comment 3 Zoltan Varga 2013-09-05 12:20:56 UTC
xs is supposed to invoke <mono install prefix>/bin/mcs, not /Developer/MonoTouch/usr/bin/mcs, which no longer exists in recent xamarin.ios versions. There might be some version mismatch here. Try
removing your /Developer/MonoTouch directory, and re-installing xamarin.ios.
Comment 4 douglass 2013-09-05 12:45:53 UTC
That resolved it - thanks!