[Mono-bugs] [Bug 80307][Wis] Changed - NullReferenceException in ternary operator

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Dec 30 19:50:16 EST 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 grendello at gmail.com.

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

--- shadow/80307	2006-12-30 18:54:12.000000000 -0500
+++ shadow/80307.tmp.28205	2006-12-30 19:50:16.000000000 -0500
@@ -100,6 +100,53 @@
 mcs /r:System.Web host.cs
 mono --debug -O=-linears host.exe
 
 
 ------- Additional Comments From robertj at gmx.net  2006-12-30 18:54 -------
 *** Bug 80405 has been marked as a duplicate of this bug. ***
+
+------- Additional Comments From grendello at gmail.com  2006-12-30 19:50 -------
+Running under valgrind yields:
+
+==24574== Thread 7:
+==24574== Conditional jump or move depends on uninitialised value(s)
+==24574==    at 0x4A0C06: mono_class_setup_vtable_general 
+(class.c:2167)
+==24574==    by 0x4A11E8: mono_class_setup_vtable (class.c:1832)
+==24574==    by 0x479B23: mono_class_vtable (object.c:966)
+==24574==    by 0x47C781: mono_object_new (object.c:2648)
+==24574==    by 0x47D62F: mono_runtime_invoke_array (object.c:2564)
+==24574==    by 0x48CD22: ves_icall_InternalInvoke (icall.c:2692)
+==24574==    by 0x97C5255: ???
+==24574==    by 0x97C4DA2: ???
+==24574==    by 0x98D3919: ???
+==24574==    by 0x98D2C53: ???
+==24574== 
+==24574== Invalid read of size 8
+==24574==    at 0xA794098: ???
+==24574==    by 0xA78B836: ???
+==24574==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
+Exception: System.NullReferenceException: Object reference not set to 
+an instance of an object
+  at ASP.default_aspx.CalledFrom () [0x00007] in /tmp/grendel-temp-
+aspnet-0/498da95a/7332e9ff.0.cs:48 
+==24574== 
+==24574== Invalid read of size 8
+==24574==    at 0xA79A581: ???
+==24574==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
+==24574== 
+==24574== ERROR SUMMARY: 77 errors from 3 contexts (suppressed: 49157 
+from 3)
+==24574== malloc/free: in use at exit: 12,094,622 bytes in 41,414 
+blocks.
+==24574== malloc/free: 425,576 allocs, 384,162 frees, 600,228,952 
+bytes allocated.
+==24574== For counts of detected errors, rerun with: -v
+==24574== searching for pointers to 41,414 not-freed blocks.
+==24574== checked 37,757,216 bytes.
+==24574== 
+==24574== LEAK SUMMARY:
+==24574==    definitely lost: 181,144 bytes in 5,941 blocks.
+==24574==      possibly lost: 3,072 bytes in 11 blocks.
+==24574==    still reachable: 11,910,406 bytes in 35,462 blocks.
+==24574==         suppressed: 0 bytes in 0 blocks.
+


More information about the mono-bugs mailing list