[Mono-bugs] [Bug 77039][Nor] Changed - List<T>.Sort() thows exception

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Dec 20 20:23:47 EST 2005


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 awaddell at fnfr.com.

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

--- shadow/77039	2005-12-19 18:01:22.000000000 -0500
+++ shadow/77039.tmp.17075	2005-12-20 20:23:47.000000000 -0500
@@ -1,13 +1,13 @@
 Bug#: 77039
 Product: Mono: Class Libraries
 Version: unspecified
 OS: All
 OS Details: 
-Status: RESOLVED   
-Resolution: DUPLICATE
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: CORLIB
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: awaddell at fnfr.com               
 QAContact: mono-bugs at ximian.com
@@ -117,6 +117,86 @@
 Additional Information:
 
 ------- Additional Comments From sebastien at ximian.com  2005-12-19 18:01 -------
 
 
 *** This bug has been marked as a duplicate of 76361 ***
+
+------- Additional Comments From awaddell at fnfr.com  2005-12-20 20:23 -------
+Still failing after 76361 was resolved.
+
+[awaddell at AWLNX GenericListSortBug]$ make clean;make
+rm -f GenericListSortBug.exe
+gmcs -target:exe -optimize- -noconfig -nowarn:1691,67 
+-out:GenericListSortBug.e
+xe -define:DEBUG -define:TRACE -define:FIXME -define:MONO
+-define:HEADLESS -defi
+ne:LINUX   -reference:System -reference:System.Data
+-reference:System.Xml -refer
+ence:/opt/latest/lib/mono/1.0/nunit.framework.dll  Program.cs
+Properties/Assembl
+yInfo.cs
+[awaddell at AWLNX GenericListSortBug]$ mono GenericListSortBug.exe 
+
+** (GenericListSortBug.exe:23194): WARNING **: Missing method
+CompareTo in assem
+bly /opt/latest/lib/mono/2.0/mscorlib.dll token 6000046
+
+=================================================================
+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 <0xffffffff> System.Array:compare
+(GenericListSortBug.MySortableClass,Generic
+ListSortBug.MySortableClass,System.Collections.Generic.IComparer`1)
+in <0x1db> System.Array:compare
+(GenericListSortBug.MySortableClass,GenericListS
+ortBug.MySortableClass,System.Collections.Generic.IComparer`1)
+in <0x6f> System.Array:qsort
+(GenericListSortBug.MySortableClass[],GenericListSo
+rtBug.MySortableClass[],int,int,System.Collections.Generic.IComparer`1)
+in <0x26a> System.Array:Sort
+(GenericListSortBug.MySortableClass[],GenericListSo
+rtBug.MySortableClass[],int,int,System.Collections.Generic.IComparer`1)
+in <0x1e> System.Array:Sort
+(GenericListSortBug.MySortableClass[],int,int,System
+.Collections.Generic.IComparer`1)
+in <0x26> System.Collections.Generic.List`1:Sort ()
+in <0xd1> GenericListSortBug.Program:Main (string[])
+in <0x74171e6> (wrapper runtime-invoke)
+System.Object:runtime_invoke_void_string
+[] (object,intptr,intptr,intptr)
+
+Native stacktrace:
+
+        mono(mono_handle_native_sigsegv+0x7c) [0x8118c08]
+        mono [0x8107d9a]
+        /lib/tls/libpthread.so.0 [0x6cbe40]
+        mono [0x80f655c]
+        mono [0x8106bd0]
+        mono [0x8107733]
+        mono [0x8107a00]
+        mono [0x8107a28]
+        mono(mono_compile_method+0x2c) [0x8082cd0]
+        mono(mono_magic_trampoline+0x12) [0x8119c06]
+        [0xb55032]
+        [0xcf4c98]
+        [0xcf4a7b]
+        [0xcf47bf]
+        [0xcf1f4f]
+        [0xcf0e52]
+        [0xcf0ac3]
+        mono [0x8107c7f]
+        mono(mono_runtime_invoke+0x18) [0x8084190]
+        mono(mono_runtime_exec_main+0x4f) [0x8084c23]
+        mono(mono_runtime_run_main+0x15c) [0x808494c]
+        mono(strftime+0x19a3) [0x805cc9b]
+        mono(mono_main+0x6c1) [0x805d47d]
+        mono(__strtoul_internal+0x363) [0x805c1fb]
+        /lib/tls/libc.so.6(__libc_start_main+0xda) [0x4d878a]
+        mono(sinh+0x41) [0x805c159]
+Aborted
+[awaddell at AWLNX GenericListSortBug]$ 


More information about the mono-bugs mailing list