[Mono-dev] System.Runtime.Remoting unit test hangs
vargaz at gmail.com
Sat Feb 7 14:45:37 EST 2009
So these tests are still hanging, especially on the net 1.1 profile.
What seems to happen is this:
- HtttpClientTransportSink.AsyncProcessMessage () is called, which
starts an async web request.
- either no response is received from HttpWebRequest, ie.
AsyncProcessResponseCallback is never called. This happens often,
but not every time.
- or, AsyncProcessResponseCallback is called, which calls
request.EndGetResponse (ar); which throws an exception on the net
1.1 profile, which is rethrown by this code:
if (httpResponse == null || httpResponse.StatusCode !=
now this happens on a threadpool thread, so nobody handles the
exception, the thread is aborted, thus the client never receives
a response, so it hangs.
in System.Runtime.Remoting, run make check FIXTURE=Remoting.HttpAsyncCallTest
More information about the Mono-devel-list