[Mono-bugs] [Bug 82260][Wis] New - Mono crashes depending on MONO_LOG_LEVEL flag

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jul 31 12:43: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 mattj at google.com.

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

--- shadow/82260	2007-07-31 12:43:52.000000000 -0400
+++ shadow/82260.tmp.30597	2007-07-31 12:43:52.000000000 -0400
@@ -0,0 +1,110 @@
+Bug#: 82260
+Product: Mono: Runtime
+Version: 1.2
+OS: Windows XP (Cygwin)
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: debug
+AssignedTo: martin at ximian.com                            
+ReportedBy: mattj at google.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono crashes depending on MONO_LOG_LEVEL flag
+
+If I build & run the attached file (ptest.cs) with the MONO_LOG_LEVEL=debug
+MONO_LOG_MASK="dll" variables set, mono 1.2.4 segfaults with the following
+stack trace:
+
+Mono-INFO: DllImport attempting to load: 'kernel32.dll'.
+Mono-INFO: DllImport loading location: 'kernel32.dll.dll'.
+Stacktrace:
+
+  at System.Console..cctor () <0xffffffff>
+  at System.Console..cctor () <0x0002a>
+  at (wrapper runtime-invoke) System.Object.runtime_invoke_void
+(object,intptr,intptr,intptr) <0xffffffff>
+  at Program.Main () <0xffffffff>
+  at Program.Main () <0x00040>
+  at (wrapper runtime-invoke) System.Object.runtime_invoke_void
+(object,intptr,intptr,intptr) <0xffffffff>
+
+This application has requested the Runtime to terminate it in an unusual way.
+Please contact the application's support team for more information.
+
+If I run it with MONO_LOG_LEVEL=debug MONO_LOG_MASK="asm", I get the
+following (successful) run:
+Mono-INFO: Assembly Loader probing location: 'c:\Program
+Files\Mono-1.2.4\lib\mono\1.0\mscorlib.dll'.
+Mono-INFO: Image addref mscorlib 003EB4D8 -> c:\Program
+Files\Mono-1.2.4\lib\mono\1.0\mscorlib.dll 003EBA28: 2
+
+Mono-INFO: Assembly Loader loaded assembly from location: 'c:\Program
+Files\Mono-1.2.4\lib\mono\1.0\mscorlib.dll'.
+Mono-INFO: Assembly mscorlib 003EB4D8 added to domain ptest.exe, ref_count=1
+
+Mono-INFO: Assembly Loader probing location: 'ptest.exe'.
+Mono-INFO: Image addref ptest 00BCA940 -> c:\Program
+Files\Mono-1.2.4\ptest.exe 003E8150: 3
+
+Mono-INFO: Assembly ptest 00BCA940 added to domain ptest.exe, ref_count=1
+
+Mono-INFO: Assembly Loader loaded assembly from location: 'ptest.exe'.
+Mono-INFO: Assembly Loader probing location: 'ptest.exe'.
+Mono-INFO: Assembly Ref addref ptest 00BCA940 -> mscorlib 003EB4D8: 2
+
+Mono-INFO: Assembly Loader probing location: 'c:\Program
+Files\Mono-1.2.4\lib\mono\gac\I18N\1.0.5000.0__0738eb9f132ed756\I18N.dll'.
+Mono-INFO: Image addref I18N 00BCE548 -> c:\Program
+Files\Mono-1.2.4\lib\mono\gac\I18N\1.0.5000.0__0738eb9f132ed756\I18N.dll
+00BAB990: 2
+
+Mono-INFO: Assembly I18N 00BCE548 added to domain ptest.exe, ref_count=1
+
+Mono-INFO: Assembly Loader loaded assembly from location: 'c:\Program
+Files\Mono-1.2.4\lib\mono\gac\I18N\1.0.5000.0__0738eb9f132ed756\I18N.dll'.
+Mono-INFO: Assembly Ref addref I18N 00BCE548 -> mscorlib 003EB4D8: 3
+
+Mono-INFO: Assembly Loader probing location: 'c:\Program
+Files\Mono-1.2.4\lib\mono\gac\I18N.West\1.0.5000.0__0738eb9f132ed756\I18N.West.dll'.
+Mono-INFO: Image addref I18N.West 00BCEE18 -> c:\Program
+Files\Mono-1.2.4\lib\mono\gac\I18N.West\1.0.5000.0__0738eb9f132ed756\I18N.West.dll
+00C59008: 2
+
+Mono-INFO: Assembly I18N.West 00BCEE18 added to domain ptest.exe, ref_count=1
+
+Mono-INFO: Assembly Loader loaded assembly from location: 'c:\Program
+Files\Mono-1.2.4\lib\mono\gac\I18N.West\1.0.5000.0__0738eb9f132ed756\I18N.West.dll'.
+Mono-INFO: Assembly Ref addref I18N.West 00BCEE18 -> I18N 00BCE548: 2
+
+Mono-INFO: Assembly Ref addref I18N.West 00BCEE18 -> mscorlib 003EB4D8: 4
+
+NOT running on Unix
+Mono-INFO: Unloading domain ptest.exe 00A70F00, assembly I18N.West
+00BCEE18, refcount=1
+
+Mono-INFO: Unloading assembly I18N.West [00BCEE18].
+Mono-INFO: Unloading image c:\Program
+Files\Mono-1.2.4\lib\mono\gac\I18N.West\1.0.5000.0__0738eb9f132ed756\I18N.West.dll
+[00C59008].
+Mono-INFO: Unloading domain ptest.exe 00A70F00, assembly I18N 00BCE548,
+refcount=1
+
+Mono-INFO: Unloading assembly I18N [00BCE548].
+Mono-INFO: Unloading image c:\Program
+Files\Mono-1.2.4\lib\mono\gac\I18N\1.0.5000.0__0738eb9f132ed756\I18N.dll
+[00BAB990].
+Mono-INFO: Unloading domain ptest.exe 00A70F00, assembly ptest 00BCA940,
+refcount=1
+
+Mono-INFO: Unloading assembly ptest [00BCA940].
+Mono-INFO: Unloading domain ptest.exe 00A70F00, assembly mscorlib 003EB4D8,
+refcount=1
+
+Mono-INFO: Unloading assembly mscorlib [003EB4D8].
+Mono-INFO: Unloading image c:\Program
+Files\Mono-1.2.4\lib\mono\1.0\mscorlib.dll [003EBA28].


More information about the mono-bugs mailing list