[Mono-bugs] [Bug 68552][Nor] Changed - Abort exception not properly rethrown in some cases

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 15 Jan 2005 10:55:52 -0500 (EST)

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 vargaz@gmail.com.


--- shadow/68552	2005-01-14 17:13:14.000000000 -0500
+++ shadow/68552.tmp.31031	2005-01-15 10:55:52.000000000 -0500
@@ -71,6 +71,15 @@
 ------- Additional Comments From vargaz@gmail.com  2005-01-11 13:47 -------
 Fixed in SVN.
 ------- Additional Comments From mei@work.email.ne.jp  2005-01-14 17:13 -------
 Checkout from SVN but the problem still occurs on Windows.
+------- Additional Comments From vargaz@gmail.com  2005-01-15 10:55 -------
+This happens because signal_thread_state_change does not call
+mono_thread_request_interruption directly, but queues an APC call to
+do it. If the thread is trying to abort itself, then it is possible for
+the APC call to arrive later than the check done in the
+managed-to-native wrapper, meaning the thread continues for some time
+before raising the abort exception.