[Mono-bugs] [Bug 80347][Nor] New - unhandled exception
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Dec 22 17:20:29 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 lewing at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80347
--- shadow/80347 2006-12-22 17:20:29.000000000 -0500
+++ shadow/80347.tmp.12363 2006-12-22 17:20:29.000000000 -0500
@@ -0,0 +1,34 @@
+Bug#: 80347
+Product: Mono: Compilers
+Version: 1.2
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: lewing at ximian.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: unhandled exception
+
+This code kills mcs with an exception when it should just report the errror.
+
+public class Test {
+ static void Main (string [] args)
+ {
+ Bug ();
+ }
+
+ public static unsafe void Bug ()
+ {
+ Gdk.Pixbuf pixbuf = null;
+ //should be:
+ //byte *pix = (byte *)pixbuf.Pixels;
+ byte *pix = pixbuf.Pixels;
+ }
+}
More information about the mono-bugs
mailing list