[Mono-dev] I need help with AppDomain or runtime bug

Andrew Skiba andrews at mainsoft.com
Mon Sep 25 10:43:04 EDT 2006


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.

More information about the Mono-devel-list mailing list