Bug 29 - Exceptions crash on MacOS Lion
Summary: Exceptions crash on MacOS Lion
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: General ()
Version: unspecified
Hardware: PC Mac OS
: Normal critical
Target Milestone: ---
Assignee: Rodrigo Kumpera
URL:
Depends on:
Blocks:
 
Reported: 2011-07-20 18:22 UTC by Mikayla Hutchinson [MSFT]
Modified: 2012-03-12 21:53 UTC (History)
4 users (show)

Tags: lion
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 Mikayla Hutchinson [MSFT] 2011-07-20 18:22:32 UTC
Using Mono master:

* Assertion: should not be reached at exceptions-x86.c:850

Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Diagnostics.StackFrame.get_frame_info (int,bool,System.Reflection.MethodBase&,int&,int&,string&,int&,int&) <0xffffffff>
  at System.Diagnostics.StackFrame..ctor (int,bool) <0x0008d>
  at System.Diagnostics.StackTrace.init_frames (int,bool) <0x00079>
  at System.Diagnostics.StackTrace..ctor (int,bool) <0x00019>
  at System.Environment.get_StackTrace () <0x00029>
  at MonoDevelop.CSharp.Refactoring.FindMemberAstVisitor.AddUniqueReference (int,int,string) <0x000f3>
  at MonoDevelop.CSharp.Refactoring.FindMemberAstVisitor.VisitTypeReference (ICSharpCode.OldNRefactory.Ast.TypeReference,object) <0x004af>
  at ICSharpCode.OldNRefactory.Ast.TypeReference.AcceptVisitor (ICSharpCode.OldNRefactory.IAstVisitor,object) <0x0001e>
  at ICSharpCode.OldNRefactory.Visitors.AbstractAstVisitor.VisitTypeReferenceExpression (ICSharpCode.OldNRefactory.Ast.TypeReferenceExpression,object) <0x0001c>
  at ICSharpCode.OldNRefactory.Ast.TypeReferenceExpression.AcceptVisitor (ICSharpCode.OldNRefactory.IAstVisitor,object) <0x0001e>
  at ICSharpCode.OldNRefactory.Visitors.AbstractAstVisitor.VisitMemberReferenceExpression (ICSharpCode.OldNRefactory.Ast.MemberReferenceExpression,object) <0x0003c>
  at MonoDevelop.CSharp.Refactoring.FindMemberAstVisitor.VisitMemberReferenceExpression (ICSharpCode.OldNRefactory.Ast.MemberReferenceExpression,object) <0x00ac3>
  at ICSharpCode.OldNRefactory.Ast.MemberReferenceExpression.AcceptVisitor (ICSharpCode.OldNRefactory.IAstVisitor,object) <0x0001e>
  at ICSharpCode.OldNRefactory.Visitors.AbstractAstVisitor.VisitInvocationExpression (ICSharpCode.OldNRefactory.Ast.InvocationExpression,object) <0x0003c>
  at MonoDevelop.CSharp.Refactoring.FindMemberAstVisitor.VisitInvocationExpression (ICSharpCode.OldNRefactory.Ast.InvocationExpression,object) <0x0079f>
  at ICSharpCode.OldNRefactory.Ast.InvocationExpression.AcceptVisitor (ICSharpCode.OldNRefactory.IAstVisitor,object) <0x0001e>
  at ICSharpCode.OldNRefactory.Visitors.AbstractAstVisitor.VisitUnaryOperatorExpression (ICSharpCode.OldNRefactory.Ast.UnaryOperatorExpression,object) <0x0001c>
  at ICSharpCode.OldNRefactory.Ast.UnaryOperatorExpression.AcceptVisitor (ICSharpCode.OldNRefactory.IAstVisitor,object) <0x0001e>
  at ICSharpCode.OldNRefactory.Visitors.AbstractAstVisitor.VisitIfElseStatement (ICSharpCode.OldNRefactory.Ast.IfElseStatement,object) <0x0007e>
  at ICSharpCode.OldNRefactory.Ast.IfElseStatement.AcceptVisitor (ICSharpCode.OldNRefactory.IAstVisitor,object) <0x0001e>
  at ICSharpCode.OldNRefactory.Ast.AbstractNode.AcceptChildren (ICSharpCode.OldNRefactory.IAstVisitor,object) <0x0005e>
  at ICSharpCode.OldNRefactory.Visitors.AbstractAstVisitor.VisitBlockStatement (ICSharpCode.OldNRefactory.Ast.BlockStatement,object) <0x00019>
  at ICSharpCode.OldNRefactory.Ast.BlockStatement.AcceptVisitor (ICSharpCode.OldNRefactory.IAstVisitor,object) <0x0001e>
  at ICSharpCode.OldNRefactory.Visitors.AbstractAstVisitor.VisitMethodDeclaration (ICSharpCode.OldNRefactory.Ast.MethodDeclaration,object) <0x0025f>
  at MonoDevelop.CSharp.Refactoring.FindMemberAstVisitor.VisitMethodDeclaration (ICSharpCode.OldNRefactory.Ast.MethodDeclaration,object) <0x00027>
  at ICSharpCode.OldNRefactory.Ast.MethodDeclaration.AcceptVisitor (ICSharpCode.OldNRefactory.IAstVisitor,object) <0x0001e>
  at ICSharpCode.OldNRefactory.Ast.AbstractNode.AcceptChildren (ICSharpCode.OldNRefactory.IAstVisitor,object) <0x0005e>
  at ICSharpCode.OldNRefactory.Visitors.AbstractAstVisitor.VisitTypeDeclaration (ICSharpCode.OldNRefactory.Ast.TypeDeclaration,object) <0x001ec>
  at MonoDevelop.CSharp.Refactoring.FindMemberAstVisitor.VisitTypeDeclaration (ICSharpCode.OldNRefactory.Ast.TypeDeclaration,object) <0x0003f>
  at ICSharpCode.OldNRefactory.Ast.TypeDeclaration.AcceptVisitor (ICSharpCode.OldNRefactory.IAstVisitor,object) <0x0001e>
  at ICSharpCode.OldNRefactory.Ast.AbstractNode.AcceptChildren (ICSharpCode.OldNRefactory.IAstVisitor,object) <0x0005e>
  at ICSharpCode.OldNRefactory.Visitors.AbstractAstVisitor.VisitNamespaceDeclaration (ICSharpCode.OldNRefactory.Ast.NamespaceDeclaration,object) <0x00019>
  at MonoDevelop.CSharp.Refactoring.FindMemberAstVisitor.VisitNamespaceDeclaration (ICSharpCode.OldNRefactory.Ast.NamespaceDeclaration,object) <0x00033>
  at ICSharpCode.OldNRefactory.Ast.NamespaceDeclaration.AcceptVisitor (ICSharpCode.OldNRefactory.IAstVisitor,object) <0x0001e>
  at ICSharpCode.OldNRefactory.Ast.AbstractNode.AcceptChildren (ICSharpCode.OldNRefactory.IAstVisitor,object) <0x0005e>
  at ICSharpCode.OldNRefactory.Visitors.AbstractAstVisitor.VisitCompilationUnit (ICSharpCode.OldNRefactory.Ast.CompilationUnit,object) <0x00019>
  at MonoDevelop.CSharp.Refactoring.FindMemberAstVisitor.RunVisitor (MonoDevelop.CSharp.Resolver.NRefactoryResolver) <0x0014d>
  at MonoDevelop.CSharp.Highlighting.HighlightUsagesExtension.GetReferences (MonoDevelop.Projects.Dom.ResolveResult) <0x002bb>
  at MonoDevelop.CSharp.Highlighting.HighlightUsagesExtension.DelayedTooltipShow () <0x0032f>
  at GLib.Timeout/TimeoutProxy.Handler () <0x00030>
  at (wrapper native-to-managed) GLib.Timeout/TimeoutProxy.Handler () <0xffffffff>
  at <unknown> <0xffffffff>
* Assertion: should not be reached at exceptions-x86.c:850
Comment 1 Rodrigo Kumpera 2011-07-20 19:24:21 UTC
How do I repro it? Didn't you get a native thread dump as well?
Comment 2 Mikayla Hutchinson [MSFT] 2011-07-20 19:58:41 UTC
Unfortunately not, and I don't know how to repro other than editing in MD until that error appears.

That particular error is fairly common (and harmless) when editing code in MD. Mike added the stack trace print to help track it down, but never found the problem.
Comment 3 Rodrigo Kumpera 2011-07-28 10:28:07 UTC
What version of MD should I use?
Comment 4 Miguel de Icaza [MSFT] 2012-03-12 21:53:45 UTC
Closing, ancient.