OpenSimMirror/OpenSim
unknown 71c929137f Inconsistent locking of SenseRepeaters in Script Engine.
When I attempt to 'save oar' on a region with thousands of scripts with timers, I get a NullReferenceException every time. The problem comes from inconsistent locking in SensorRepeat.cs of the SenseRepeaters List. It is iterated and modified in many places and these places are all wrapped in a lock except in the GetSerializationData(). This is the function throwing the exception because an item in the list becomes null during iteration.

The attached patch locks SenseRepeatListLock in GetSerializationData()
2009-10-23 11:25:06 +01:00
..
ApplicationPlugins Really make module port selection work. Implement port setting in 2009-10-21 02:19:45 +01:00
Client Implemented a Watchdog class. Do not manually create Thread objects anymore, use Watchdog.StartThread(). While your thread is running call Watchdog.UpdateThread(). When it is shutting down call Watchdog.RemoveThread(). Most of the threads in OpenSim have been updated 2009-10-22 12:33:23 -07:00
ConsoleClient Fix some compile warnings. 2009-08-26 14:02:52 +09:00
Data Adding the presence service skeleton 2009-10-23 09:47:45 +01:00
Framework Implemented a Watchdog class. Do not manually create Thread objects anymore, use Watchdog.StartThread(). While your thread is running call Watchdog.UpdateThread(). When it is shutting down call Watchdog.RemoveThread(). Most of the threads in OpenSim have been updated 2009-10-22 12:33:23 -07:00
Grid Implemented a Watchdog class. Do not manually create Thread objects anymore, use Watchdog.StartThread(). While your thread is running call Watchdog.UpdateThread(). When it is shutting down call Watchdog.RemoveThread(). Most of the threads in OpenSim have been updated 2009-10-22 12:33:23 -07:00
Region Inconsistent locking of SenseRepeaters in Script Engine. 2009-10-23 11:25:06 +01:00
ScriptEngine Formatting cleanup. 2009-10-01 01:17:47 +09:00
Server Fix a glitch in a ROBUST message 2009-10-23 10:41:05 +01:00
Services Adding the presence service skeleton 2009-10-23 09:47:45 +01:00
TestSuite Fixing a few compile errors in the previous commit 2009-10-06 02:50:59 -07:00
Tests Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into prioritization 2009-10-19 15:19:37 -07:00
Tools Fixing a few compile errors in the previous commit 2009-10-06 02:50:59 -07:00