[Mono-bugs] [Bug 78124][Blo] New - executing referenced assemblies crashes mono

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Apr 16 14:00:37 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by joe at otee.dk.

http://bugzilla.ximian.com/show_bug.cgi?id=78124

--- shadow/78124	2006-04-16 14:00:37.000000000 -0400
+++ shadow/78124.tmp.3083	2006-04-16 14:00:37.000000000 -0400
@@ -0,0 +1,63 @@
+Bug#: 78124
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: joe at otee.dk               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: executing referenced assemblies crashes mono
+
+When executing an .exe that references an assembly which can not be found, mono crashes.
+Instead it should throw an exception.
+
+I made a small example that shows the problem.
+www.otee.dk/joe/mono_bug_referenced_assembly.zip
+
+Simply run the RunAssembly.exe file.
+See the error log i am getting a the end of the report.
+
+
+Getting this issue fixed is pretty important for us.
+Because of the way we deploy our web plugin sometimes people might end up with an assembly 
+that can not be found. In that case we should give an error but not crash and take down the 
+whole browser.
+
+
+---------
+
+** (/Users/joe/ReferencedAssembly/RunAssembly.exe:8439): WARNING **: The following 
+assembly referenced from /Users/joe/ReferencedAssembly/RunAssembly.exe could not be 
+loaded:
+     Assembly:   DoSomething    (assemblyref_index=1)
+     Version:    0.0.0.0
+     Public Key: (none)
+The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH 
+environment variable, or in the location of the executing assembly (/Users/joe/
+ReferencedAssembly).
+
+
+===========================================================
+======
+Got a SIGSEGV while executing native code. This usually indicates
+a fatal error in the mono runtime or one of the native libraries 
+used by your application.
+===========================================================
+======
+
+Stacktrace:
+
+in Test:Main (string[]) <0xffffffff>
+in Test:Main (string[]) <0x20>
+in Test:Main (string[]) <0x1c>
+in (wrapper runtime-invoke) System.Object:runtime_invoke_void_string[] 
+(object,intptr,intptr,intptr) <0x64>
+Abort trap


More information about the mono-bugs mailing list