[Mono-dev] I need help with AppDomain or runtime bug
vargaz at gmail.com
Tue Sep 26 07:31:26 EDT 2006
I know like zero about HttpApplication, but by putting some Console.WriteLine's
into it, it seems like only one instance is created per appdomain, and
threads share it, and one thread could call 'PostDone', thus setting
things to null,
while another thread still needs those members.
On 9/25/06, Andrew Skiba <andrews at mainsoft.com> wrote:
> As I wrote a few mothes ago, when I made NunitWeb test framework, there
> a strange bug when I run tests on mono. Sometimes mono hangs, and
> oftentimes there are exceptions with the following stacktrace:
> Tick caught an exception that has not been propagated:
> System.NullReferenceException: Object reference not set to an instance
> of an object
> at System.Web.HttpApplication.ProcessError (System.Exception e)
> at System.Web.HttpApplication+<Pipeline>__5.MoveNext () [0x00000]
> at System.Web.HttpApplication.Tick () [0x00000]
> It can happen at different tests, or not happen at all. I could not
> understand what causes it, but I could make the situation somewhat
> better by adding Sleep(100) before unloading AppDomain. Now, when we
> have hundreds of web tests, this hardly helps. Our QA-Dev guys have to
> run the tests few times until they don't stuck.
> To reproduce the problem, one should launch 'make run-test
> PROFILE=net_2_0' in System.Web directory.
> Thank you.
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list