[Mono-dev] mono timer exception
sean at dague.net
Tue Apr 15 20:25:27 EDT 2008
In the OpenSim project (an open source secondlife like server), we
agressively user timers (probably too much, but we're working on that).
The environment runs on both .NET and Mono.
We've got a crash specifically on Mono relating to timers. Now that
many of us are using source built 1.9.0 versions, we've even got line
numbers on the exception.
APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs
Exception: System.NullReferenceException: Object reference not set to an
instance of an object
at System.Timers.Timer.StartTimer () [0x0005e] in
This causes a crash in our environment. It happens rather sporadically
(as you'd expect from a timer based crash in a massively threaded
I read through the Timer code, and am starting to wonder if Timers
themselves aren't thread safe to manipulate, and if that is the crux of
Any ideas at all would be appreciated, either root causes, or work
arounds. This issue has been plaguing us Mono users on the project for
Sean Dague Mid-Hudson Valley
sean at dague dot net Linux Users Group
There is no silver bullet. Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080415/305c2aa8/attachment.bin
More information about the Mono-devel-list