Bug 2855 - Crash in assembly browser
Summary: Crash in assembly browser
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Assembly browser ()
Version: Trunk
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
: 3198 ()
Depends on:
Blocks:
 
Reported: 2012-01-11 19:37 UTC by Mikayla Hutchinson [MSFT]
Modified: 2012-02-16 01:25 UTC (History)
3 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 Mikayla Hutchinson [MSFT] 2012-01-11 19:37:46 UTC
System.ArgumentException: The path is not of a legal form.
   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength)
   at System.IO.Path.GetDirectoryName(String path)
   at Mono.Cecil.MetadataReader.GetModuleFileName(String name) in c:\Users\Michael\work\monodevelop\main\contrib\Mono.Cecil\Mono.Cecil\Mono.Cecil\AssemblyReader.cs:line 554
   at Mono.Cecil.MetadataReader.ReadModules() in c:\Users\Michael\work\monodevelop\main\contrib\Mono.Cecil\Mono.Cecil\Mono.Cecil\AssemblyReader.cs:line 537
   at Mono.Cecil.AssemblyDefinition.<get_Modules>b__1(AssemblyDefinition _, MetadataReader reader) in c:\Users\Michael\work\monodevelop\main\contrib\Mono.Cecil\Mono.Cecil\Mono.Cecil\AssemblyDefinition.cs:line 65
   at Mono.Cecil.ModuleDefinition.Read[TItem,TRet](TItem item, Func`3 read) in c:\Users\Michael\work\monodevelop\main\contrib\Mono.Cecil\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:line 766
   at Mono.Cecil.AssemblyDefinition.get_Modules() in c:\Users\Michael\work\monodevelop\main\contrib\Mono.Cecil\Mono.Cecil\Mono.Cecil\AssemblyDefinition.cs:line 65
   at MonoDevelop.Projects.Dom.DomCecilCompilationUnit..ctor(AssemblyDefinition assemblyDefinition, Boolean loadInternals, Boolean instantiateTypeParameter) in c:\Users\Michael\work\monodevelop\main\src\core\MonoDevelop.Core\MonoDevelop.Projects.Dom\DomCecilCompilationUnit.cs:line 87
   at MonoDevelop.Projects.Dom.DomCecilCompilationUnit.Load(String fileName, Boolean loadInternals, Boolean instantiateTypeParameter, Boolean customResolver) in c:\Users\Michael\work\monodevelop\main\src\core\MonoDevelop.Core\MonoDevelop.Projects.Dom\DomCecilCompilationUnit.cs:line 125
   at MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget.AddReference(String fileName) in c:\Users\Michael\work\monodevelop\main\src\addins\MonoDevelop.AssemblyBrowser\MonoDevelop.AssemblyBrowser\AssemblyBrowserWidget.cs:line 1064
   at MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget.Open(String url) in c:\Users\Michael\work\monodevelop\main\src\addins\MonoDevelop.AssemblyBrowser\MonoDevelop.AssemblyBrowser\AssemblyBrowserWidget.cs:line 955
   at MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget.InspectEditorhandleLinkRequest(Object sender, LinkEventArgs args) in c:\Users\Michael\work\monodevelop\main\src\addins\MonoDevelop.AssemblyBrowser\MonoDevelop.AssemblyBrowser\AssemblyBrowserWidget.cs:line 295
   at Mono.TextEditor.TextEditor.FireLinkEvent(String link, UInt32 button, ModifierType modifierState) in c:\Users\Michael\work\monodevelop\main\src\core\Mono.Texteditor\Mono.TextEditor\TextEditor.cs:line 2737
   at Mono.TextEditor.TextViewMargin.MousePressed(MarginMouseEventArgs args) in c:\Users\Michael\work\monodevelop\main\src\core\Mono.Texteditor\Mono.TextEditor\TextViewMargin.cs:line 1547
   at Mono.TextEditor.TextEditor.OnButtonPressEvent(EventButton e) in c:\Users\Michael\work\monodevelop\main\src\core\Mono.Texteditor\Mono.TextEditor\TextEditor.cs:line 967
   at Gtk.Widget.buttonpressevent_cb(IntPtr widget, IntPtr evnt)
Comment 1 Mike Krüger 2012-01-23 08:06:28 UTC
crash fixed, but would be nice to know in which case it happened.
Comment 2 Mike Krüger 2012-02-16 01:25:29 UTC
*** Bug 3198 has been marked as a duplicate of this bug. ***