Bug 8586 - smcs crashes (exception caught while emitting MethodBuilder) due to NullReferenceException at Mono.CSharp.MemberExpr.ProbeIdenticalTypeName
Summary: smcs crashes (exception caught while emitting MethodBuilder) due to NullRefer...
Status: RESOLVED FIXED
Alias: None
Product: Compilers
Classification: Mono
Component: C# ()
Version: unspecified
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Marek Safar
URL:
Depends on:
Blocks:
 
Reported: 2012-11-25 12:51 UTC by Yvan Rodrigues
Modified: 2013-07-03 09:54 UTC (History)
2 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 GitHub or Developer Community 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 Yvan Rodrigues 2012-11-25 12:51:57 UTC
MonoDevelop 3.0.5
Runtime:
	Mono 2.10.9 (tarball)
	GTK 2.24.10
	GTK# (2.12.0.0)
	Package version: 210090011
Apple Developer Tools:
	 Xcode 4.4.1 (1488)
	 Build 4F1003
Monotouch: 6.0.6

Pretty good stack trace; hopefully leads you right to it.



Building: Guelph.App.iOS.VisitGuelph (Debug|iPhoneSimulator)
Performing main compilation...
/Developer/MonoTouch/usr/bin/smcs /noconfig "/out:/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/bin/iPhoneSimulator/Debug/GuelphAppiOSVisitGuelph.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.Xml.Linq.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Web.Services.dll" "/r:/Users/yvan/Dropbox/Red Cell Innovation/Development/RedCell.Components/RedCell/bin/Debug/RedCell.iOS.dll" "/r:/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.Web.Controllers/bin/Debug/Guelph.iOS.Controllers.dll" "/r:/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.Web.Models/bin/Debug/Guelph.iOS.Models.dll" "/r:/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.Web.Services.Client/bin/Debug/Guelph.Web.Services.Client.iOS.dll" "/r:/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.Web.Services/bin/Debug/Guelph.Web.Services.dll" "/r:/Users/yvan/Dropbox/Red Cell Innovation/Development/RedCell.Components/RedCell.Web.Services.Client/bin/Debug/RedCell.Web.Services.Client.iOS.dll" "/r:/Users/yvan/Dropbox/Red Cell Innovation/Development/RedCell.Components/RedCell.Web.Services/bin/Debug/RedCell.Web.Services.iOS.dll" "/r:/Users/yvan/Dropbox/Red Cell Innovation/Development/RedCell.Mobile.Dialog/bin/Debug/RedCell.Mobile.Dialog.dll" /nologo /warn:4 /debug:full /optimize+ /codepage:utf8 "/define:DEBUG"  /main:Guelph.App.iOS.VisitGuelph.Application /t:exe "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/Main.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/AppDelegate.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/AdView.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/EntryTableViewCell.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/EntrySummaryElement.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/AdTabBarController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/SplitViewControllerDelegate.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/CategoryViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/CoreViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/SearchViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/RotatableSplitViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/ReportViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/FavouritesViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/DirectoryViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/WebViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/WebViewController.designer.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/MapViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/HomeViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/HomeViewController.designer.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/LocaleViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/Controllers/HandshakeController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/Globals.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/Controllers/LocationController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/Controllers/KmlController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/Log.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/Models/KmlPlacemark.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/Models/EntryPlacemark.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/Controllers/Loader.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/IRenderViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/Controllers/FileSystemController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/AssemblyInfo.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/DiagnosticsViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/EntryViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/EntryViewController.designer.cs" 
Internal compiler error at /Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/MapViewController.cs(50,38):: exception caught while emitting MethodBuilder [MapViewController::ViewDidLoad]

/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/EntryTableViewCell.cs(18,40): warning CS0618: `MonoTouch.UIKit.UILabel.MinimumFontSize' is obsolete: `Deprecated in iOS 6.0'

Unhandled Exception:
0   mono                                0x000df47b mono + 910459
1   mono                                0x000dfec0 mono + 913088
2   mono                                0x000e06e5 mono + 915173
3   mono                                0x000e15b1 mono + 918961
4   mono                                0x00152887 mono + 1382535
5   ???                                 0x005012c1 0x0 + 5247681
at Mono.CSharp.MemberAccess.LookupNameExpression (Mono.CSharp.ResolveContext,Mono.CSharp.Expression/MemberLookupRestrictions) <0x009cc>
at Mono.CSharp.MemberAccess.DoResolveName (Mono.CSharp.ResolveContext,Mono.CSharp.Expression) <0x00028>
at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.ResolveContext) <0x00018>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext,Mono.CSharp.ResolveFlags) <0x00038>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext) <0x00018>
at Mono.CSharp.Binary.DoResolve (Mono.CSharp.ResolveContext) <0x00108>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext,Mono.CSharp.ResolveFlags) <0x00038>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext) <0x00018>
at Mono.CSharp.Binary.DoResolve (Mono.CSharp.ResolveContext) <0x00108>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext,Mono.CSharp.ResolveFlags) <0x00038>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext) <0x00018>
at Mono.CSharp.BooleanExpression.DoResolve (Mono.CSharp.ResolveContext) <0x00020>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext,Mono.CSharp.ResolveFlags) <0x00038>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext) <0x00018>
at Mono.CSharp.If.Resolve (Mono.CSharp.BlockContext) <0x00024>
at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext) <0x002dd>
at Mono.CSharp.If.Resolve (Mono.CSharp.BlockContext) <0x00178>
at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext) <0x002dd>
at Mono.CSharp.ParametersBlock.Resolve (Mono.CSharp.FlowBranching,Mono.CSharp.BlockContext,Mono.CSharp.IMethodData) <0x000c5>
at Mono.CSharp.MethodData.Emit (Mono.CSharp.DeclSpace) <0x00178>
at Mono.CSharp.MethodOrOperator.Emit () <0x002c4>
at Mono.CSharp.Method.Emit () <0x00248>
at Mono.CSharp.TypeContainer.EmitType () <0x00605>
at Mono.CSharp.ModuleContainer.Emit () <0x001c0>
at Mono.CSharp.AssemblyDefinition.Emit () <0x00124>
at Mono.CSharp.Driver.Compile () <0x00434>
at Mono.CSharp.Driver.Main (string[]) <0x000b0>
at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0x00096>
34  mono                                0x00010a0f mono + 64015
35  mono                                0x002259da mono + 2247130
36  mono                                0x0022857c mono + 2258300
37  mono                                0x002277e1 mono + 2254817
38  mono                                0x000acb7f mono + 703359
39  mono                                0x000acdd0 mono + 703952
40  mono                                0x000af23f mono + 713279
41  mono                                0x00001e14 mono + 3604
42  mono                                0x00001ea8 mono + 3752
43  mono                                0x00001bc5 mono + 3013

[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at Mono.CSharp.MemberExpr.ProbeIdenticalTypeName (Mono.CSharp.ResolveContext rc, Mono.CSharp.Expression left, Mono.CSharp.SimpleName name) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.MemberAccess.LookupNameExpression (Mono.CSharp.ResolveContext rc, MemberLookupRestrictions restrictions) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.MemberAccess.DoResolveName (Mono.CSharp.ResolveContext rc, Mono.CSharp.Expression right_side) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.ResolveContext ec) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec, ResolveFlags flags) [0x00000] in <filename unknown>:0 


/Users/yvan/Dropbox/Red Cell Innovation/Projects/City of Guelph Tourism App/Source/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/EntryTableViewCell.cs(18,40): warning CS0618: `MonoTouch.UIKit.UILabel.MinimumFontSize' is obsolete: `Deprecated in iOS 6.0'

Unhandled Exception:
0   mono                                0x000df47b mono + 910459
1   mono                                0x000dfec0 mono + 913088
2   mono                                0x000e06e5 mono + 915173
3   mono                                0x000e15b1 mono + 918961
4   mono                                0x00152887 mono + 1382535
5   ???                                 0x005012c1 0x0 + 5247681
at Mono.CSharp.MemberAccess.LookupNameExpression (Mono.CSharp.ResolveContext,Mono.CSharp.Expression/MemberLookupRestrictions) <0x009cc>
at Mono.CSharp.MemberAccess.DoResolveName (Mono.CSharp.ResolveContext,Mono.CSharp.Expression) <0x00028>
at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.ResolveContext) <0x00018>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext,Mono.CSharp.ResolveFlags) <0x00038>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext) <0x00018>
at Mono.CSharp.Binary.DoResolve (Mono.CSharp.ResolveContext) <0x00108>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext,Mono.CSharp.ResolveFlags) <0x00038>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext) <0x00018>
at Mono.CSharp.Binary.DoResolve (Mono.CSharp.ResolveContext) <0x00108>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext,Mono.CSharp.ResolveFlags) <0x00038>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext) <0x00018>
at Mono.CSharp.BooleanExpression.DoResolve (Mono.CSharp.ResolveContext) <0x00020>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext,Mono.CSharp.ResolveFlags) <0x00038>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext) <0x00018>
at Mono.CSharp.If.Resolve (Mono.CSharp.BlockContext) <0x00024>
at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext) <0x002dd>
at Mono.CSharp.If.Resolve (Mono.CSharp.BlockContext) <0x00178>
at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext) <0x002dd>
at Mono.CSharp.ParametersBlock.Resolve (Mono.CSharp.FlowBranching,Mono.CSharp.BlockContext,Mono.CSharp.IMethodData) <0x000c5>
at Mono.CSharp.MethodData.Emit (Mono.CSharp.DeclSpace) <0x00178>
at Mono.CSharp.MethodOrOperator.Emit () <0x002c4>
at Mono.CSharp.Method.Emit () <0x00248>
at Mono.CSharp.TypeContainer.EmitType () <0x00605>
at Mono.CSharp.ModuleContainer.Emit () <0x001c0>
at Mono.CSharp.AssemblyDefinition.Emit () <0x00124>
at Mono.CSharp.Driver.Compile () <0x00434>
at Mono.CSharp.Driver.Main (string[]) <0x000b0>
at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0x00096>
34  mono                                0x00010a0f mono + 64015
35  mono                                0x002259da mono + 2247130
36  mono                                0x0022857c mono + 2258300
37  mono                                0x002277e1 mono + 2254817
38  mono                                0x000acb7f mono + 703359
39  mono                                0x000acdd0 mono + 703952
40  mono                                0x000af23f mono + 713279
41  mono                                0x00001e14 mono + 3604
42  mono                                0x00001ea8 mono + 3752
43  mono                                0x00001bc5 mono + 3013

[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at Mono.CSharp.MemberExpr.ProbeIdenticalTypeName (Mono.CSharp.ResolveContext rc, Mono.CSharp.Expression left, Mono.CSharp.SimpleName name) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.MemberAccess.LookupNameExpression (Mono.CSharp.ResolveContext rc, MemberLookupRestrictions restrictions) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.MemberAccess.DoResolveName (Mono.CSharp.ResolveContext rc, Mono.CSharp.Expression right_side) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.ResolveContext ec) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec, ResolveFlags flags) [0x00000] in <filename unknown>:0 
Build complete -- 1 error, 1 warning

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

Build: 1 error, 1 warning
Comment 1 Marek Safar 2012-11-26 04:01:01 UTC
This is most likely fixed in Mono 3.0 but to verify it I need to somehow reproduce the issue
Comment 2 Yvan Rodrigues 2012-11-26 09:52:24 UTC
I'll see what I can do to narrow it down. Unfortunately the solution contains many dependencies and would be a pain to pack up.

When is Mono 3.0 scheduled to be backported to MonoTouch?
Comment 3 Marek Safar 2013-01-31 08:02:04 UTC
Closing
Comment 4 Yvan Rodrigues 2013-05-27 11:24:43 UTC
I have opened up the same project today in Xamarin Studio 4.0.8 and seem to be getting the same exception. Here is a stack trace. Please let me know how I can help to resolve this.


Cleaning: Guelph.App.iOS.VisitGuelph (Debug|iPhoneSimulator)
Removing output files...
Clean complete

Building: Guelph.App.iOS.VisitGuelph (Debug|iPhoneSimulator)
Performing main compilation...
/Developer/MonoTouch/usr/bin/smcs /noconfig "/out:/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/bin/iPhoneSimulator/Debug/GuelphAppiOSVisitGuelph.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.Xml.Linq.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Web.Services.dll" "/r:/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.Web.Controllers/bin/Debug/Guelph.iOS.Controllers.dll" "/r:/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.Web.Models/bin/Debug/Guelph.iOS.Models.dll" "/r:/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.Web.Services.Client/bin/Debug/Guelph.Web.Services.Client.iOS.dll" "/r:/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.Web.Services/bin/Debug/Guelph.Web.Services.dll" "/r:/Users/yvan/Dropbox/Red Cell Innovation/Development/RedCell.Components/RedCell/bin/Debug/RedCell.iOS.dll" "/r:/Users/yvan/Dropbox/Red Cell Innovation/Development/RedCell.Components/RedCell.Web.Services.Client/bin/Debug/RedCell.Web.Services.Client.iOS.dll" "/r:/Users/yvan/Dropbox/Red Cell Innovation/Development/RedCell.Components/RedCell.Web.Services/bin/Debug/RedCell.Web.Services.iOS.dll" "/r:/Users/yvan/Dropbox/Red Cell Innovation/Development/RedCell.Mobile.Dialog/RedCell.Mobile.Dialog/bin/Debug/RedCell.Mobile.Dialog.dll" /nologo /warn:4 /debug:full /optimize+ /codepage:utf8 "/define:DEBUG;__MOBILE__;__IOS__"  /main:Guelph.App.iOS.VisitGuelph.Application /t:exe "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/Main.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/AppDelegate.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/AdView.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/EntryTableViewCell.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/EntrySummaryElement.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/AdTabBarController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/SplitViewControllerDelegate.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/CategoryViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/CoreViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/SearchViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/RotatableSplitViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/ReportViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/FavouritesViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/DirectoryViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/WebViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/WebViewController.designer.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/MapViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/HomeViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/HomeViewController.designer.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/LocaleViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/Controllers/HandshakeController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/Globals.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/Controllers/LocationController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/Controllers/KmlController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/Log.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/Models/KmlPlacemark.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/Models/EntryPlacemark.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/Controllers/Loader.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/IRenderViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/Controllers/FileSystemController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/AssemblyInfo.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/DiagnosticsViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/EntryViewController.cs" "/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/EntryViewController.designer.cs" 
Internal compiler error at /Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/ViewControllers/MapViewController.cs(50,38):: exception caught while emitting MethodBuilder [MapViewController::ViewDidLoad]

/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/EntryTableViewCell.cs(18,40): warning CS0618: `MonoTouch.UIKit.UILabel.MinimumFontSize' is obsolete: `Deprecated in iOS 6.0'

Unhandled Exception:
0   mono                                0x000e09fb mono + 915963
1   mono                                0x000e1440 mono + 918592
2   mono                                0x000e1c65 mono + 920677
3   mono                                0x000e2b31 mono + 924465
4   mono                                0x00154177 mono + 1388919
5   ???                                 0x005012c1 0x0 + 5247681
at Mono.CSharp.MemberAccess.LookupNameExpression (Mono.CSharp.ResolveContext,Mono.CSharp.Expression/MemberLookupRestrictions) <0x009cc>
at Mono.CSharp.MemberAccess.DoResolveName (Mono.CSharp.ResolveContext,Mono.CSharp.Expression) <0x00028>
at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.ResolveContext) <0x00018>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext,Mono.CSharp.ResolveFlags) <0x00038>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext) <0x00018>
at Mono.CSharp.Binary.DoResolve (Mono.CSharp.ResolveContext) <0x00108>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext,Mono.CSharp.ResolveFlags) <0x00038>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext) <0x00018>
at Mono.CSharp.Binary.DoResolve (Mono.CSharp.ResolveContext) <0x00108>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext,Mono.CSharp.ResolveFlags) <0x00038>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext) <0x00018>
at Mono.CSharp.BooleanExpression.DoResolve (Mono.CSharp.ResolveContext) <0x00020>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext,Mono.CSharp.ResolveFlags) <0x00038>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext) <0x00018>
at Mono.CSharp.If.Resolve (Mono.CSharp.BlockContext) <0x00024>
at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext) <0x002dd>
at Mono.CSharp.If.Resolve (Mono.CSharp.BlockContext) <0x00178>
at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext) <0x002dd>
at Mono.CSharp.ParametersBlock.Resolve (Mono.CSharp.FlowBranching,Mono.CSharp.BlockContext,Mono.CSharp.IMethodData) <0x000c5>
at Mono.CSharp.MethodData.Emit (Mono.CSharp.DeclSpace) <0x00178>
at Mono.CSharp.MethodOrOperator.Emit () <0x002c4>
at Mono.CSharp.Method.Emit () <0x00248>
at Mono.CSharp.TypeContainer.EmitType () <0x00605>
at Mono.CSharp.ModuleContainer.Emit () <0x001c0>
at Mono.CSharp.AssemblyDefinition.Emit () <0x00124>
at Mono.CSharp.Driver.Compile () <0x00434>
at Mono.CSharp.Driver.Main (string[]) <0x000b0>
at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0x00096>
34  mono                                0x00010d9f mono + 64927
35  mono                                0x0022753a mono + 2254138
36  mono                                0x0022a0dc mono + 2265308
37  mono                                0x00229341 mono + 2261825
38  mono                                0x000ad35f mono + 705375
39  mono                                0x000ad5b0 mono + 705968
40  mono                                0x000afa1f mono + 715295
41  mono                                0x000021c4 mono + 4548
42  mono                                0x00002258 mono + 4696
43  mono                                0x00001f75 mono + 3957

[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at Mono.CSharp.MemberExpr.ProbeIdenticalTypeName (Mono.CSharp.ResolveContext rc, Mono.CSharp.Expression left, Mono.CSharp.SimpleName name) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.MemberAccess.LookupNameExpression (Mono.CSharp.ResolveContext rc, MemberLookupRestrictions restrictions) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.MemberAccess.DoResolveName (Mono.CSharp.ResolveContext rc, Mono.CSharp.Expression right_side) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.ResolveContext ec) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec, ResolveFlags flags) [0x00000] in <filename unknown>:0 


/Users/yvan/Dropbox/Red Cell Innovation/Development/Guelph.Tourism/Guelph.App.iOS.VisitGuelph/Guelph.App.iOS.VisitGuelph/EntryTableViewCell.cs(18,40): warning CS0618: `MonoTouch.UIKit.UILabel.MinimumFontSize' is obsolete: `Deprecated in iOS 6.0'

Unhandled Exception:
0   mono                                0x000e09fb mono + 915963
1   mono                                0x000e1440 mono + 918592
2   mono                                0x000e1c65 mono + 920677
3   mono                                0x000e2b31 mono + 924465
4   mono                                0x00154177 mono + 1388919
5   ???                                 0x005012c1 0x0 + 5247681
at Mono.CSharp.MemberAccess.LookupNameExpression (Mono.CSharp.ResolveContext,Mono.CSharp.Expression/MemberLookupRestrictions) <0x009cc>
at Mono.CSharp.MemberAccess.DoResolveName (Mono.CSharp.ResolveContext,Mono.CSharp.Expression) <0x00028>
at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.ResolveContext) <0x00018>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext,Mono.CSharp.ResolveFlags) <0x00038>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext) <0x00018>
at Mono.CSharp.Binary.DoResolve (Mono.CSharp.ResolveContext) <0x00108>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext,Mono.CSharp.ResolveFlags) <0x00038>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext) <0x00018>
at Mono.CSharp.Binary.DoResolve (Mono.CSharp.ResolveContext) <0x00108>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext,Mono.CSharp.ResolveFlags) <0x00038>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext) <0x00018>
at Mono.CSharp.BooleanExpression.DoResolve (Mono.CSharp.ResolveContext) <0x00020>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext,Mono.CSharp.ResolveFlags) <0x00038>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext) <0x00018>
at Mono.CSharp.If.Resolve (Mono.CSharp.BlockContext) <0x00024>
at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext) <0x002dd>
at Mono.CSharp.If.Resolve (Mono.CSharp.BlockContext) <0x00178>
at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext) <0x002dd>
at Mono.CSharp.ParametersBlock.Resolve (Mono.CSharp.FlowBranching,Mono.CSharp.BlockContext,Mono.CSharp.IMethodData) <0x000c5>
at Mono.CSharp.MethodData.Emit (Mono.CSharp.DeclSpace) <0x00178>
at Mono.CSharp.MethodOrOperator.Emit () <0x002c4>
at Mono.CSharp.Method.Emit () <0x00248>
at Mono.CSharp.TypeContainer.EmitType () <0x00605>
at Mono.CSharp.ModuleContainer.Emit () <0x001c0>
at Mono.CSharp.AssemblyDefinition.Emit () <0x00124>
at Mono.CSharp.Driver.Compile () <0x00434>
at Mono.CSharp.Driver.Main (string[]) <0x000b0>
at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0x00096>
34  mono                                0x00010d9f mono + 64927
35  mono                                0x0022753a mono + 2254138
36  mono                                0x0022a0dc mono + 2265308
37  mono                                0x00229341 mono + 2261825
38  mono                                0x000ad35f mono + 705375
39  mono                                0x000ad5b0 mono + 705968
40  mono                                0x000afa1f mono + 715295
41  mono                                0x000021c4 mono + 4548
42  mono                                0x00002258 mono + 4696
43  mono                                0x00001f75 mono + 3957

[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at Mono.CSharp.MemberExpr.ProbeIdenticalTypeName (Mono.CSharp.ResolveContext rc, Mono.CSharp.Expression left, Mono.CSharp.SimpleName name) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.MemberAccess.LookupNameExpression (Mono.CSharp.ResolveContext rc, MemberLookupRestrictions restrictions) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.MemberAccess.DoResolveName (Mono.CSharp.ResolveContext rc, Mono.CSharp.Expression right_side) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.ResolveContext ec) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec, ResolveFlags flags) [0x00000] in <filename unknown>:0 
Build complete -- 1 error, 1 warning

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

Build: 1 error, 1 warning
Comment 6 Marek Safar 2013-05-29 03:50:39 UTC
Yvan,

I cannot reproduce the issue with 3.0 version of mcs which is included in our beta 6.3 releases. Although it reports more errors they seem to be all valid.