[Mono-bugs] [Bug 422947] New: Catch ignored: JIT or verifier problem.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Sep 4 02:43:57 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=422947
Summary: Catch ignored: JIT or verifier problem.
Product: Mono: Runtime
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: JIT
AssignedTo: lupus at novell.com
ReportedBy: miguel at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
The following sample makes "catch" not work, the runtime writes the message
"recheck failed" and after that instead of hitting a catch for Thread.Abort,
the program just terminates:
$ csharp
csharp> while (true) ;
recheck failed
At this point, hit control-c:
System.Threading.ThreadAbortException: Thread was being aborted
at Class13.Host (System.Object& $retval) [0x00000]
at Mono.CSharp.InteractiveShell.Evaluate (System.String input) [0x00000]
$
Notice that the execution of the above loop is protected by a:
try {
...
} catch (ThreadAbortException) {
Thread.AbortReset ();
}
But the catch is never executed. An alternative program does work though:
$ csharp
csharp> var a = false;
csharp> while (!a) ;
Hit control-c:
Interrupted!
System.Threading.ThreadAbortException: Thread was being aborted
at Class1.Host (System.Object& $retval) [0x00000]
at Mono.CSharp.InteractiveShell.ExecuteBlock (Mono.CSharp.Class host)
[0x00000]
csharp>
So the catch is working in this case.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list