[Mono-bugs] [Bug 539394] mod_mono web app hangs when a cross-appdomain call results in a ThreadAbortException

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Sep 21 19:45:29 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=539394

User gonzalo at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539394#c6





--- Comment #6 from Gonzalo Paniagua Javier <gonzalo at novell.com>  2009-09-21 17:45:26 MDT ---
Created an attachment (id=319173)
 --> (http://bugzilla.novell.com/attachment.cgi?id=319173)
Fix in managed code

The problem is that when the call to RemotingProxy.Invoke calls Thread.Abort()
no one calls ResetAbort() in the same AppDomain and instead of propagating the
exception to the caller, the runtime exits the thread in
mini.c:mono_thread_abort(). This is really bad since the thread could be a
ThreadPool thread (it actually is in the test case attached to this bug) and
could disappear and leave the ThreadPool thinking that there's a worker thread
alive when it's not...

-- 
Configure bugmail: http://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