aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/ScriptEngines/Default.lsl
diff options
context:
space:
mode:
authorunknown2009-10-23 03:52:49 -0700
committerMelanie2009-10-23 11:25:06 +0100
commit71c929137f48a0a7d97dbc866cbe2b12319aa40b (patch)
treed06fa40f9d203b9d1333412672cacd2f334a0a10 /bin/ScriptEngines/Default.lsl
parentFix a glitch in a ROBUST message (diff)
downloadopensim-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 'bin/ScriptEngines/Default.lsl')
0 files changed, 0 insertions, 0 deletions