[Mono-dev] StackOverflow on System.Delegate.Equals
szypki at onet.pl
Sun May 1 20:45:02 EDT 2011
I'd like to provide some additional data on this problem.
I added some code into Equals method of System.MulticastDelegate that uses
Object.ReferenceEquals(this,this.prev) to check whether this == this.prev, I
used it instead of this.Equals(this.prev) because we suspected that original
Equals method is responsible for generating stack overflow. When these
references are equal I'm writing it into error log of apache2. So far
without any success.
After testing application with heavier load StackOverflow happens or entire
application crashes ( when SO occured apache2 log looks like this:
I also managed to receive error page like this (I was trying to sign up into
application after stack overflow without restarting the apache server):
We modified our application so we can use external session state provider,
but it didn't help. From our observations we can tell that if we are using
asp-state2 for session data the stack overflow is likely to appear and if we
change it into in-procces mode whole application crashes. The weird thing is
that under light load everything works fine, so it looks like under heavy
load all session data magically disapear. This is the lead we will try to
This behaviour occurs on mono 2.10.1 compiled from tarball. This week I'll
try to switch it to 2.10.2 and if anything changes I'll let You know.
I can provide more data/logs if needed
Thanks in advance for any piece of advice
> I've found an issue in my ASP.NET application when it's running under
> heavy load. It throws an exception like that: http://pastebin.com/DRAYVM0F
> and then the whole application is down, i've to restart
> apache/mod-mono-server. It's running under mono 2.10.1, apache2 and
> mod-mono. On IIS/MS.NET i've not found any problems, even on heavier load.
> Maybe someone has any thoughts/ideas what might causing problem like this?
> Thanks in advance.
> Kind regards,
View this message in context: http://mono.1490590.n4.nabble.com/StackOverflow-on-System-Delegate-Equals-tp3411024p3489060.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list