[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
Tue Sep 22 15:08:52 EDT 2009


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

User brett at fogcreek.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539394#c8





--- Comment #8 from Brett Kiefer <brett at fogcreek.com>  2009-09-22 13:08:50 MDT ---
Created an attachment (id=319369)
 --> (http://bugzilla.novell.com/attachment.cgi?id=319369)
Another small .net website to run with mod/mono -- web.config, .dll, and source
cs file

Hi Gonzalo-

Thanks!

I applied the change, and that definitely helps; I confirm that this fixes the
test app. However, this seems to have a side effect (?) that causes redirects
to not redirect when bounced off of another appdomain.

Here is another test app that illustrates this problem. 

Repro:
As before, just run this under mod_mono and hit default.aspx.

Expected:
Redirect to this bug page (as in IIS/ASP.Net).

Observed:

Before applying your fix:
We'd call out to the child appdomain, the appdomain would call back in to the
main appdomain, call redirect, and the app would hang.

After applying your fix:
Instead of hanging, the app shows us an error page-

System.Threading.ThreadAbortException: Thread was being aborted  at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
(System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception&
exc, System.Object[]& out_args) [0x00000] 

Exception rethrown at [1]: 

  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
(System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception&
exc, System.Object[]& out_args) [0x00000] 

Does that make sense?

Thanks,
Bret

-- 
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