[Mono-bugs] [Bug 75014][Nor] Changed - Using RAIL to copy a method with exception handlers triggers assertion

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri May 20 22:13:50 EDT 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 vladimir at pobox.com.

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

--- shadow/75014	2005-05-20 17:42:44.000000000 -0400
+++ shadow/75014.tmp.20660	2005-05-20 22:13:50.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 75014
 Product: Mono: Runtime
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: misc
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: vladimir at pobox.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -37,6 +37,26 @@
 
 
 ------- Additional Comments From vladimir at pobox.com  2005-05-20 17:42 -------
 Created an attachment (id=15176)
 railtest.cs
 
+
+------- Additional Comments From vladimir at pobox.com  2005-05-20 22:13 -------
+Some more info... looking at what RAIL is doing with ILGenerator, it's
+doing the following:
+
+Write: 0 BeginExceptionBlock
+Write: 0 BeginExceptionBlock
+Write: 0 BeginCatchBlock System.Exception, mscorlib,
+Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+Write: 0 BeginFinallyBlock
+Write: 0 EndExceptionBlock
+Handler 1 at 0, len: 16
+	type=0 start=16 len=6 extype=System.Exception
+	type=2 start=22 len=1
+Write: 0 EndExceptionBlock
+Handler 0 at 0, len: 0
+
+it then blows up there, because ILExceptionInfo.Debug() gets a null
+reference exception when trying to dump the handler info.  (The Write
+bits are coming from dumps I put into RAIL's Instruction.cs)


More information about the mono-bugs mailing list