[Mono-bugs] [Bug 80469][Blo] New - Fault handlers are not working

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Jan 6 15:36:17 EST 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 akyrtzi at gmail.com.

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

--- shadow/80469	2007-01-06 15:36:17.000000000 -0500
+++ shadow/80469.tmp.9030	2007-01-06 15:36:17.000000000 -0500
@@ -0,0 +1,42 @@
+Bug#: 80469
+Product: Mono: Runtime
+Version: 1.2
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: akyrtzi at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Fault handlers are not working
+
+If you compile and run the following IL sample you will discover that the
+fault handler is not getting executed:
+
+
+.assembly Test { }
+.assembly extern mscorlib { }
+ 
+.method public static void Main()
+{
+   .entrypoint
+   .try
+   {
+      newobj instance void [mscorlib]System.Exception::.ctor()
+      throw
+      leave.s exitTry
+   }
+   fault
+   {
+      ldstr "Fault handler executed"
+      call void [mscorlib]System.Console::WriteLine(string)
+      endfault
+   }
+   exitTry: ret
+}


More information about the mono-bugs mailing list