[Mono-bugs] [Bug 81463][Wis] New - reflection SIGSEGV on GetExportedTypes()

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Apr 26 13:42:52 EDT 2007


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 geoff at mmks.com.

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

--- shadow/81463	2007-04-26 13:42:52.000000000 -0400
+++ shadow/81463.tmp.13337	2007-04-26 13:42:52.000000000 -0400
@@ -0,0 +1,117 @@
+Bug#: 81463
+Product: Mono: Runtime
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: io-layer
+AssignedTo: dick at ximian.com                            
+ReportedBy: geoff at mmks.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: reflection SIGSEGV on GetExportedTypes()
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+SIGSEVG when calling System.Reflection.Assembly.GetExportedTypes() on an
+assembly with a missing reference. Mono svn revision 76332.
+
+Steps to reproduce the problem:
+1. (See attachment) run 'unzip bug_1708.zip'
+2. run 'cd bug_1708; build'
+3. run 'mono --debug bug_1708.exe'
+
+Actual Results:
+
+:~/bug_1708$ mono --debug bug_1708.exe 
+
+** (bug_1708.exe:11307): WARNING **: The following assembly referenced from
+/home/geoff/bug_1708/nunit_Reflection.dll could 
+not be loaded:
+     Assembly:   nunit_Reflection.Missing    (assemblyref_index=0)
+     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 loca
+tion of the executing assembly (/home/geoff/bug_1708).
+
+
+** (bug_1708.exe:11307): WARNING **: Could not load file or assembly
+'nunit_Reflection.Missing, Version=0.0.0.0, Culture=neu
+tral' or one of its dependencies.
+Stacktrace:
+
+  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool)
+<0x00004>
+  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool)
+<0xffffffff>
+  at System.Reflection.Assembly.GetExportedTypes () [0x00000] in
+/home/geoff/mono-svn/mcs/class/corlib/System.Reflection/Ass
+embly.cs:327
+  at nunit_Reflection.Program.Main () <0x00034>
+  at (wrapper runtime-invoke) System.Object.runtime_invoke_void
+(object,intptr,intptr,intptr) <0xffffffff>
+
+Native stacktrace:
+
+        mono [0x81519b6]
+        mono [0x813b79e]
+        [0xffffe440]
+        mono(mono_object_new+0x18) [0x808cc08]
+        mono(mono_exception_from_name_two_strings+0x4c) [0x80c412c]
+        mono(mono_get_exception_file_not_found2+0x52) [0x80c48b2]
+        mono [0x80e2927]
+        mono [0x80ef919]
+        mono [0x808a276]
+        mono(mono_object_new+0x18) [0x808cc08]
+        mono(mono_exception_from_name_two_strings+0x4c) [0x80c412c]
+        mono(mono_get_exception_file_not_found2+0x52) [0x80c48b2]
+        mono [0x80e2927]
+        mono [0x808f971]
+        mono [0x8097a8d]
+        mono [0x8097e2c]
+        [0x40a383c4]
+        [0x40a3837d]
+        [0x40a363cd]
+        [0x40a3605e]
+        mono [0x813b640]
+        mono(mono_runtime_invoke+0x27) [0x808b6b7]
+        mono(mono_runtime_exec_main+0x5a) [0x808c70a]
+        mono(mono_runtime_run_main+0x1af) [0x808c36f]
+        mono [0x80588f1]
+        mono(mono_main+0x853) [0x8059313]
+        mono [0x8057bdb]
+        /lib/tls/libc.so.6(__libc_start_main+0xf4) [0x400eb974]
+        mono [0x8057b11]
+
+Debug info from gdb:
+
+
+
+=================================================================
+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.
+=================================================================
+
+Aborted
+
+
+Expected Results:
+
+FileNotFoundException
+
+How often does this happen? 
+
+Always
+
+Additional Information:
+
+Follow up to bug 81453


More information about the mono-bugs mailing list