diff options
author | unknown | 2009-10-23 03:52:49 -0700 |
---|---|---|
committer | Melanie | 2009-10-23 11:25:06 +0100 |
commit | 71c929137f48a0a7d97dbc866cbe2b12319aa40b (patch) | |
tree | d06fa40f9d203b9d1333412672cacd2f334a0a10 /ThirdPartyLicenses/SvnDotNet.txt | |
parent | Fix a glitch in a ROBUST message (diff) | |
download | opensim-SC-71c929137f48a0a7d97dbc866cbe2b12319aa40b.zip opensim-SC-71c929137f48a0a7d97dbc866cbe2b12319aa40b.tar.gz opensim-SC-71c929137f48a0a7d97dbc866cbe2b12319aa40b.tar.bz2 opensim-SC-71c929137f48a0a7d97dbc866cbe2b12319aa40b.tar.xz |
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()
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions