[Pkg-mono-devel] Transparent proxy problem

rjhdakota rjh at homeseer.com
Tue Aug 13 03:08:56 UTC 2013


We have 2 .net apps that communicate over TCP using a transparent proxy
(using RealProxy, etc.). Most of the time everything works fine, but
sometimes at startup our application calls the wrong function through the
transparent proxy. (oddly, once it starts up ok, we never see the problem
again)

For example, the JIT map for the call in question looks like this:

b61d7aa8 fc (wrapper remoting-invoke)
HomeSeerAPI.IHSApplication:get_APIVersion ()

get_APIVersion is a method in a class that is part of the transparent proxy
and the call should be made over the network. Sometimes an incorrect
function is called when this statement is invoked. I have traced the code
down to mono_remoting_wrapper in marshal.c, and at this point, the incorrect
method name is passed, so the problem is before this. However, using gdb,
there isn't much code before this that can be stepped through.

So my question is, what code is executed when this line is hit:

b61d7aa8 fc (wrapper remoting-invoke)
HomeSeerAPI.IHSApplication:get_APIVersion ()

Our hardware is ARM on a Raspberry PI board. We do not see this problem on a
Windows system.

I fear the problem is in the JIT compiler. We have tried using the -AOT
option, but the problem is exists.

-Rich



--
View this message in context: http://mono.1490590.n4.nabble.com/Transparent-proxy-problem-tp4660521.html
Sent from the Debian Mono mailing list archive at Nabble.com.



More information about the Pkg-mono-devel mailing list