[Opensim-dev] Varregions have appeared on my grid - and new errors?

Ai Austin ai.ai.austin at gmail.com
Thu Nov 27 10:50:42 UTC 2014


Thanks Justin, I am using r/25568 with these logging enhancements now 
to see if I can pin this down. I will then take this over to mantis 
when I get some more information, or manage to get it going again. I 
have already added a note at mantis 7191 as requested/

>From: Justin Clark-Casey <jjustincc at googlemail.com>
>
>The merge shouldn't have changed anything in this respect.  What is 
>the output of "show regions" on your robust console?
>   Can you manually remove the rogue entry?  Is it a Hypergrid link?
>
>Equally, the physics didn't change in ghosts, except to add the 
>option to have phantom avatars and some frame timing
>stuff that should have no impact here.  The AccessViolationException 
>might be a pre-existing problem as it's the kind of
>thing I would expect to see from a corrupt pointer in the interfaced 
>C++ code or similar.


Problems stated after a HG traveller activity last night that caused 
some sort of error... that led to an OpenSim.exe crash on the add-on 
region server that is affected. After that I could not start without 
the corruption errors.... this was the error...

2014-11-26 17:03:50,916 ERROR - 
OpenSim.Region.Framework.Scenes.AsyncSceneObjectGroupDeleter [ASYNC 
DELETER]: Exception background sending object: Document does not have 
a root element.   at System.Xml.XmlTextWriter.WriteEndDocument()

   at 
OpenSim.Region.CoreModules.Framework.InventoryAccess.HGAssetMapper.RewriteSOP(String 
xmlData) in 
d:\Temp\opensim-62b778c\OpenSim\Region\CoreModules\Framework\InventoryAccess\HGAssetMapper.cs:line 
339

   at 
OpenSim.Region.CoreModules.Framework.InventoryAccess.HGAssetMapper.AdjustIdentifiers(Byte[] 
data) in 
d:\Temp\opensim-62b778c\OpenSim\Region\CoreModules\Framework\InventoryAccess\HGAssetMapper.cs:line 
189

    at 
OpenSim.Region.CoreModules.Framework.InventoryAccess.HGAssetMapper.PostAsset(String 
url, AssetBase asset) in 
d:\Temp\opensim-62b778c\OpenSim\Region\CoreModules\Framework\InventoryAccess\HGAssetMapper.cs:line 
145

    at 
OpenSim.Region.CoreModules.Framework.InventoryAccess.HGAssetMapper.Post(UUID 
assetID, UUID ownerID, String userAssetURL) in 
d:\Temp\opensim-62b778c\OpenSim\Region\CoreModules\Framework\InventoryAccess\HGAssetMapper.cs:line 
483

    at 
OpenSim.Region.CoreModules.Framework.InventoryAccess.HGInventoryAccessModule.PostInventoryAsset(UUID 
avatarID, AssetType type, UUID assetID, String name, Int32 userlevel) 
in 
d:\Temp\opensim-62b778c\OpenSim\Region\CoreModules\Framework\InventoryAccess\HGInventoryAccessModule.cs:line 
220

    at 
OpenSim.Region.CoreModules.Framework.InventoryAccess.HGInventoryAccessModule.ExportAsset(UUID 
agentID, UUID assetID) in 
d:\Temp\opensim-62b778c\OpenSim\Region\CoreModules\Framework\InventoryAccess\HGInventoryAccessModule.cs:line 
276

    at 
OpenSim.Region.CoreModules.Framework.InventoryAccess.BasicInventoryAccessModule.CopyBundleToInventory(DeRezAction 
action, UUID folderID, List`1 objlist, IClientAPI remoteClient, 
Boolean asAttachment) in 
d:\Temp\opensim-62b778c\OpenSim\Region\CoreModules\Framework\InventoryAccess\InventoryAccessModule.cs:line 
519

    at 
OpenSim.Region.CoreModules.Framework.InventoryAccess.BasicInventoryAccessModule.CopyToInventory(DeRezAction 
action, UUID folderID, List`1 objectGroups, IClientAPI remoteClient, 
Boolean asAttachment) in 
d:\Temp\opensim-62b778c\OpenSim\Region\CoreModules\Framework\InventoryAccess\InventoryAccessModule.cs:line 
359

    at 
OpenSim.Region.Framework.Scenes.AsyncSceneObjectGroupDeleter.InventoryDeQueueAndDelete() 
in 
d:\Temp\opensim-62b778c\OpenSim\Region\Framework\Scenes\AsyncSceneObjectGroupDeleter.cs:line 
152

------------------

There are no HG regions linked explicitly into the maps, and no 
varregions at all and there never have been on the grid involved, so 
I am not sure why var rsgion errors are begin mentioned. Could just 
be a confusing error message that should not show when the regions 
involved are all 256x256.

The MySQL data base did show the affected region still showing in the 
regions table presumably left theer after the crashes.  But I removed 
that and tried a restart and get the same error in starting the 
corrupt region it again.

-------------------
The region start up error itself is related to a linkset warning...

23:00:58 - [BULLETSIM LINKSET COMPOUND]: Linkset rebuild warning. If 
this happens more than one or two times, please report in Mantis 7191
23:00:58 - [BULLETSIM LINKSET COMPOUND]: pName=Supercar 
2013-08-28/24ea0338-909d-4df9-a718-cd0a822a3a66, 
childIdx=1,shape=<phy=<p=unknown,s=SHAPE_UNKNOWN,k=0,n=False>,c=1>
23:00:58 - [WORLD MAP]: Generating map image for Black Rock

Unhandled Exception: System.AccessViolationException: Attempted to 
read or write
  protected memory. This is often an indication that other memory is corrupt.
    at 
OpenSim.Region.Physics.BulletSPlugin.BSAPIUnman.BSAPICPP.GetChildShapeFrom
CompoundShapeIndex2(IntPtr cShape, Int32 indx)
    at 
OpenSim.Region.Physics.BulletSPlugin.BSAPIUnman.GetChildShapeFromCompoundS
hapeIndex(BulletShape shape, Int32 indx) in 
d:\Temp\opensim-62b778c\OpenSim\Regi
on\Physics\BulletSPlugin\BSAPIUnman.cs:line 356
    at 
OpenSim.Region.Physics.BulletSPlugin.BSLinksetCompound.UpdateProperties(Up
datedProperties whichUpdated, BSPrimLinkable updated) in 
d:\Temp\opensim-62b778c
\OpenSim\Region\Physics\BulletSPlugin\BSLinksetCompound.cs:line 193
    at 
OpenSim.Region.Physics.BulletSPlugin.BSPrimLinkable.<set_Position>b__0() i
n 
d:\Temp\opensim-62b778c\OpenSim\Region\Physics\BulletSPlugin\BSPrimLinkable.cs
:line 115
    at 
OpenSim.Region.Physics.BulletSPlugin.BSScene.ProcessRegularTaints() in d:\
Temp\opensim-62b778c\OpenSim\Region\Physics\BulletSPlugin\BSScene.cs:line 1039
    at OpenSim.Region.Physics.BulletSPlugin.BSScene.ProcessTaints() 
in d:\Temp\op
ensim-62b778c\OpenSim\Region\Physics\BulletSPlugin\BSScene.cs:line 1018
    at 
OpenSim.Region.Physics.BulletSPlugin.BSScene.DoPhysicsStep(Single timeStep
) in 
d:\Temp\opensim-62b778c\OpenSim\Region\Physics\BulletSPlugin\BSScene.cs:lin
e 622
    at 
OpenSim.Region.Physics.BulletSPlugin.BSScene.BulletSPluginPhysicsThread()
in d:\Temp\opensim-62b778c\OpenSim\Region\Physics\BulletSPlugin\BSScene.cs:line
854
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext 
executionCo
ntext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext 
executionContext, C
ontextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext 
executionContext, C
ontextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()



More information about the Opensim-dev mailing list