Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007243opensim[REGION] Physics Enginespublic2014-06-29 06:052014-08-11 08:49
Reporterdjphil 
Assigned ToRobert Adams 
PriorityhighSeverityblockReproducibilityalways
StatusassignedResolutionopen 
PlatformPCOSWindowsOS VersionSeven
Product Version 
Target VersionFixed in Version 
Summary0007243: [BULLETS SCENE] ProcessTaints BSPrim ForceBodyShapeRebuild
Description06:23:44 - [BULLETS SCENE]: ProcessTaints: BSPrim.ForceBodyShapeRebuild: Excepti
on: System.Runtime.InteropServices.SEHException (0x80004005): Un composant exter
ne a levé une exception.
   à OpenSim.Region.Physics.BulletSPlugin.BSAPIUnman.BSAPICPP.CreateMeshShape2(I
ntPtr world, Int32 indicesCount, Int32[] indices, Int32 verticesCount, Single[]
vertices)
   à OpenSim.Region.Physics.BulletSPlugin.BSAPIUnman.CreateMeshShape(BulletWorld
 world, Int32 indicesCount, Int32[] indices, Int32 verticesCount, Single[] verti
ces)
   à OpenSim.Region.Physics.BulletSPlugin.BSShapeMesh.<>c__DisplayClass4.<Create
PhysicalMesh>b__3(BulletWorld w, Int32 iC, Int32[] i, Int32 vC, Single[] v)
   à OpenSim.Region.Physics.BulletSPlugin.BSShapeMesh.CreatePhysicalMeshShape(BS
Scene physicsScene, BSPhysObject prim, UInt64 newMeshKey, PrimitiveBaseShape pbs
, Vector3 size, Single lod, CreateShapeCall makeShape)
   à OpenSim.Region.Physics.BulletSPlugin.BSShapeMesh.CreatePhysicalMesh(BSScene
 physicsScene, BSPhysObject prim, UInt64 newMeshKey, PrimitiveBaseShape pbs, Vec
tor3 size, Single lod)
   à OpenSim.Region.Physics.BulletSPlugin.BSShapeMesh.GetReference(BSScene physi
csScene, Boolean forceRebuild, BSPhysObject prim)
   à OpenSim.Region.Physics.BulletSPlugin.BSShapeCollection.CreateGeomMeshOrHull
(BSPhysObject prim, PhysicalDestructionCallback shapeCallback)
   à OpenSim.Region.Physics.BulletSPlugin.BSShapeCollection.CreateGeom(Boolean f
orceRebuild, BSPhysObject prim, PhysicalDestructionCallback shapeCallback)
   à OpenSim.Region.Physics.BulletSPlugin.BSShapeCollection.GetBodyAndShape(Bool
ean forceRebuild, BulletWorld sim, BSPhysObject prim, PhysicalDestructionCallbac
k bodyCallback)
   à OpenSim.Region.Physics.BulletSPlugin.BSPrim.CreateGeomAndObject(Boolean for
ceRebuild)
   à OpenSim.Region.Physics.BulletSPlugin.BSPrim.<ForceBodyShapeRebuild>b__3()
   à OpenSim.Region.Physics.BulletSPlugin.BSScene.ProcessRegularTaints()
Region (root) #
Exception non gérée : System.AccessViolationException: Tentative de lecture ou d
'écriture de mémoire protégée. Cela indique souvent qu'une autre mémoire est end
ommagée.
   à OpenSim.Region.Physics.BulletSPlugin.BSAPIUnman.BSAPICPP.CreateMeshShape2(I
ntPtr world, Int32 indicesCount, Int32[] indices, Int32 verticesCount, Single[]
vertices)
   à OpenSim.Region.Physics.BulletSPlugin.BSAPIUnman.CreateMeshShape(BulletWorld
 world, Int32 indicesCount, Int32[] indices, Int32 verticesCount, Single[] verti
ces)
   à OpenSim.Region.Physics.BulletSPlugin.BSShapeMesh.<>c__DisplayClass4.<Create
PhysicalMesh>b__3(BulletWorld w, Int32 iC, Int32[] i, Int32 vC, Single[] v)
   à OpenSim.Region.Physics.BulletSPlugin.BSShapeMesh.CreatePhysicalMeshShape(BS
Scene physicsScene, BSPhysObject prim, UInt64 newMeshKey, PrimitiveBaseShape pbs
, Vector3 size, Single lod, CreateShapeCall makeShape)
   à OpenSim.Region.Physics.BulletSPlugin.BSShapeMesh.CreatePhysicalMesh(BSScene
 physicsScene, BSPhysObject prim, UInt64 newMeshKey, PrimitiveBaseShape pbs, Vec
tor3 size, Single lod)
   à OpenSim.Region.Physics.BulletSPlugin.BSShapeMesh.GetReference(BSScene physi
csScene, Boolean forceRebuild, BSPhysObject prim)
   à OpenSim.Region.Physics.BulletSPlugin.BSShapeCollection.CreateGeomMeshOrHull
(BSPhysObject prim, PhysicalDestructionCallback shapeCallback)
   à OpenSim.Region.Physics.BulletSPlugin.BSShapeCollection.CreateGeom(Boolean f
orceRebuild, BSPhysObject prim, PhysicalDestructionCallback shapeCallback)
   à OpenSim.Region.Physics.BulletSPlugin.BSShapeCollection.GetBodyAndShape(Bool
ean forceRebuild, BulletWorld sim, BSPhysObject prim, PhysicalDestructionCallbac
k bodyCallback)
   à OpenSim.Region.Physics.BulletSPlugin.BSPrim.CreateGeomAndObject(Boolean for
ceRebuild)
   à OpenSim.Region.Physics.BulletSPlugin.BSPrim.<ForceBodyShapeRebuild>b__3()
   à OpenSim.Region.Physics.BulletSPlugin.BSScene.ProcessRegularTaints()
   à OpenSim.Region.Physics.BulletSPlugin.BSScene.ProcessTaints()
   à OpenSim.Region.Physics.BulletSPlugin.BSScene.DoPhysicsStep(Single timeStep)

   à OpenSim.Region.Physics.BulletSPlugin.BSScene.BulletSPluginPhysicsThread()
   à System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionCon
text, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, Co
ntextCallback callback, Object state, Boolean preserveSyncCtx)
   à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, Co
ntextCallback callback, Object state)
   à System.Threading.ThreadHelper.ThreadStart()
06:23:45 - [ASYNC COMMAND MANAGER]: Exception in command handler pass: System.Ou
tOfMemoryException: Une exception de type 'System.OutOfMemoryException' a été le
vée.
   à System.Threading.Thread.StartInternal(IPrincipal principal, StackCrawlMark&
 stackMark)
   à System.Threading.Thread.Start(StackCrawlMark& stackMark)
   à System.Threading.Thread.Start()
   à Amib.Threading.SmartThreadPool.StartThreads(Int32 threadsCount) dans k:\OSG
RID\opensim-ca2379e\ThirdParty\SmartThreadPool\SmartThreadPool.cs:ligne 693
   à Amib.Threading.SmartThreadPool.Enqueue(WorkItem workItem) dans k:\OSGRID\op
ensim-ca2379e\ThirdParty\SmartThreadPool\SmartThreadPool.cs:ligne 573
   à Amib.Threading.Internal.WorkItemsGroupBase.QueueWorkItem(WorkItemCallback c
allback, Object state) dans k:\OSGRID\opensim-ca2379e\ThirdParty\SmartThreadPool
\WorkItemsGroupBase.cs:ligne 141
   à OpenSim.Region.ScriptEngine.XEngine.XEngine.QueueEventHandler(Object parms)
 dans k:\OSGRID\opensim-ca2379e\OpenSim\Region\ScriptEngine\XEngine\XEngine.cs:l
igne 1531
   à OpenSim.Region.ScriptEngine.Shared.Instance.ScriptInstance.PostEvent(EventP
arams data) dans k:\OSGRID\opensim-ca2379e\OpenSim\Region\ScriptEngine\Shared\In
stance\ScriptInstance.cs:ligne 749
   à OpenSim.Region.ScriptEngine.XEngine.XEngine.PostScriptEvent(UUID itemID, Ev
entParams p) dans k:\OSGRID\opensim-ca2379e\OpenSim\Region\ScriptEngine\XEngine\
XEngine.cs:ligne 1603
   à OpenSim.Region.ScriptEngine.Shared.Api.Plugins.Timer.CheckTimerEvents() dan
s k:\OSGRID\opensim-ca2379e\OpenSim\Region\ScriptEngine\Shared\Api\Implementatio
n\Plugins\Timer.cs:ligne 137
   à OpenSim.Region.ScriptEngine.Shared.Api.AsyncCommandManager.DoOneCmdHandlerP
ass() dans k:\OSGRID\opensim-ca2379e\OpenSim\Region\ScriptEngine\Shared\Api\Impl
ementation\AsyncCommandManager.cs:ligne 254
   à OpenSim.Region.ScriptEngine.Shared.Api.AsyncCommandManager.CmdHandlerThread
Loop() dans k:\OSGRID\opensim-ca2379e\OpenSim\Region\ScriptEngine\Shared\Api\Imp
lementation\AsyncCommandManager.cs:ligne 227





01:12:56 - [SCENE]: Failed on region DigiZone05 with exception Une exception de
type 'System.OutOfMemoryException' a été levée. à System.Threading.Thread.Star
tInternal(IPrincipal principal, StackCrawlMark& stackMark)
   à System.Threading.Thread.Start(StackCrawlMark& stackMark)
   à System.Threading.Thread.Start()
   à OpenSim.Framework.Util.RunThreadNoTimeout(WaitCallback callback, String nam
e, Object obj) dans k:\OSGRID\opensim-ca2379e\OpenSim\Framework\Util.cs:ligne 24
45
   à OpenSim.Region.Framework.Scenes.Scene.Update(Int32 frames) dans k:\OSGRID\o
pensim-ca2379e\OpenSim\Region\Framework\Scenes\Scene.cs:ligne 1512




01:18:26 - [ASYNC COMMAND MANAGER]: Exception in command handler pass: System.Ou
tOfMemoryException: Une exception de type 'System.OutOfMemoryException' a été le
vée.
   à System.Threading.Thread.StartInternal(IPrincipal principal, StackCrawlMark&
 stackMark)
   à System.Threading.Thread.Start(StackCrawlMark& stackMark)
   à System.Threading.Thread.Start()
   à Amib.Threading.SmartThreadPool.StartThreads(Int32 threadsCount) dans k:\OSG
RID\opensim-ca2379e\ThirdParty\SmartThreadPool\SmartThreadPool.cs:ligne 693
   à Amib.Threading.SmartThreadPool.Enqueue(WorkItem workItem) dans k:\OSGRID\op
ensim-ca2379e\ThirdParty\SmartThreadPool\SmartThreadPool.cs:ligne 573
   à Amib.Threading.Internal.WorkItemsGroupBase.QueueWorkItem(WorkItemCallback c
allback, Object state) dans k:\OSGRID\opensim-ca2379e\ThirdParty\SmartThreadPool
\WorkItemsGroupBase.cs:ligne 141
   à OpenSim.Region.ScriptEngine.XEngine.XEngine.QueueEventHandler(Object parms)
 dans k:\OSGRID\opensim-ca2379e\OpenSim\Region\ScriptEngine\XEngine\XEngine.cs:l
igne 1531
   à OpenSim.Region.ScriptEngine.Shared.Instance.ScriptInstance.PostEvent(EventP
arams data) dans k:\OSGRID\opensim-ca2379e\OpenSim\Region\ScriptEngine\Shared\In
stance\ScriptInstance.cs:ligne 749
   à OpenSim.Region.ScriptEngine.XEngine.XEngine.PostScriptEvent(UUID itemID, Ev
entParams p) dans k:\OSGRID\opensim-ca2379e\OpenSim\Region\ScriptEngine\XEngine\
XEngine.cs:ligne 1603
   à OpenSim.Region.ScriptEngine.Shared.Api.Plugins.Timer.CheckTimerEvents() dan
s k:\OSGRID\opensim-ca2379e\OpenSim\Region\ScriptEngine\Shared\Api\Implementatio
n\Plugins\Timer.cs:ligne 137
   à OpenSim.Region.ScriptEngine.Shared.Api.AsyncCommandManager.DoOneCmdHandlerP
ass() dans k:\OSGRID\opensim-ca2379e\OpenSim\Region\ScriptEngine\Shared\Api\Impl
ementation\AsyncCommandManager.cs:ligne 254
   à OpenSim.Region.ScriptEngine.Shared.Api.AsyncCommandManager.CmdHandlerThread
Loop() dans k:\OSGRID\opensim-ca2379e\OpenSim\Region\ScriptEngine\Shared\Api\Imp
lementation\AsyncCommandManager.cs:ligne 227




Unhandled Exception: System.AccessViolationException: Attempted to read or write
 protected memory. This is often an indication that other memory is corrupt.
   à OpenSim.Region.Physics.BulletSPlugin.BSAPIUnman.BSAPICPP.CreateMeshShape2(I
ntPtr world, Int32 indicesCount, Int32[] indices, Int32 verticesCount, Single[]
vertices)
   à OpenSim.Region.Physics.BulletSPlugin.BSAPIUnman.CreateMeshShape(BulletWorld
 world, Int32 indicesCount, Int32[] indices, Int32 verticesCount, Single[] verti
ces)
   à OpenSim.Region.Physics.BulletSPlugin.BSShapeMesh.<>c__DisplayClass4.<Create
PhysicalMesh>b__3(BulletWorld w, Int32 iC, Int32[] i, Int32 vC, Single[] v)
   à OpenSim.Region.Physics.BulletSPlugin.BSShapeMesh.CreatePhysicalMeshShape(BS
Scene physicsScene, BSPhysObject prim, UInt64 newMeshKey, PrimitiveBaseShape pbs
, Vector3 size, Single lod, CreateShapeCall makeShape)
   à OpenSim.Region.Physics.BulletSPlugin.BSShapeMesh.CreatePhysicalMesh(BSScene
 physicsScene, BSPhysObject prim, UInt64 newMeshKey, PrimitiveBaseShape pbs, Vec
tor3 size, Single lod)
   à OpenSim.Region.Physics.BulletSPlugin.BSShapeMesh.GetReference(BSScene physi
csScene, Boolean forceRebuild, BSPhysObject prim)
   à OpenSim.Region.Physics.BulletSPlugin.BSShapeCollection.CreateGeomMeshOrHull
(BSPhysObject prim, PhysicalDestructionCallback shapeCallback)
   à OpenSim.Region.Physics.BulletSPlugin.BSShapeCollection.CreateGeom(Boolean f
orceRebuild, BSPhysObject prim, PhysicalDestructionCallback shapeCallback)
   à OpenSim.Region.Physics.BulletSPlugin.BSShapeCollection.GetBodyAndShape(Bool
ean forceRebuild, BulletWorld sim, BSPhysObject prim, PhysicalDestructionCallbac
k bodyCallback)
   à OpenSim.Region.Physics.BulletSPlugin.BSPrim.CreateGeomAndObject(Boolean for
ceRebuild)
   à OpenSim.Region.Physics.BulletSPlugin.BSPrim.<ForceBodyShapeRebuild>b__3()
   à OpenSim.Region.Physics.BulletSPlugin.BSScene.ProcessRegularTaints()
   à OpenSim.Region.Physics.BulletSPlugin.BSScene.ProcessTaints()
   à OpenSim.Region.Physics.BulletSPlugin.BSScene.DoPhysicsStep(Single timeStep)

   à OpenSim.Region.Physics.BulletSPlugin.BSScene.BulletSPluginPhysicsThread()
   à System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionCon
text, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, Co
ntextCallback callback, Object state, Boolean preserveSyncCtx)
   à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, Co
ntextCallback callback, Object state)
   à System.Threading.ThreadHelper.ThreadStart()
12:50:31 - [ASYNC COMMAND MANAGER]: Exception in command handler pass: System.Ou
tOfMemoryException: Une exception de type 'System.OutOfMemoryException' a été le
vée.
   à System.Threading.Thread.StartInternal(IPrincipal principal, StackCrawlMark&
 stackMark)
   à System.Threading.Thread.Start(StackCrawlMark& stackMark)
   à System.Threading.Thread.Start()
   à Amib.Threading.SmartThreadPool.StartThreads(Int32 threadsCount) dans k:\OSG
RID\opensim-ca2379e\ThirdParty\SmartThreadPool\SmartThreadPool.cs:ligne 693
   à Amib.Threading.SmartThreadPool.Enqueue(WorkItem workItem) dans k:\OSGRID\op
ensim-ca2379e\ThirdParty\SmartThreadPool\SmartThreadPool.cs:ligne 573
   à Amib.Threading.Internal.WorkItemsGroupBase.QueueWorkItem(WorkItemCallback c
allback, Object state) dans k:\OSGRID\opensim-ca2379e\ThirdParty\SmartThreadPool
\WorkItemsGroupBase.cs:ligne 141
   à OpenSim.Region.ScriptEngine.XEngine.XEngine.QueueEventHandler(Object parms)
 dans k:\OSGRID\opensim-ca2379e\OpenSim\Region\ScriptEngine\XEngine\XEngine.cs:l
igne 1531
   à OpenSim.Region.ScriptEngine.Shared.Instance.ScriptInstance.PostEvent(EventP
arams data) dans k:\OSGRID\opensim-ca2379e\OpenSim\Region\ScriptEngine\Shared\In
stance\ScriptInstance.cs:ligne 749
   à OpenSim.Region.ScriptEngine.XEngine.XEngine.PostScriptEvent(UUID itemID, Ev
entParams p) dans k:\OSGRID\opensim-ca2379e\OpenSim\Region\ScriptEngine\XEngine\
XEngine.cs:ligne 1603
   à OpenSim.Region.ScriptEngine.Shared.Api.Plugins.Timer.CheckTimerEvents() dan
s k:\OSGRID\opensim-ca2379e\OpenSim\Region\ScriptEngine\Shared\Api\Implementatio
n\Plugins\Timer.cs:ligne 137
   à OpenSim.Region.ScriptEngine.Shared.Api.AsyncCommandManager.DoOneCmdHandlerP
ass() dans k:\OSGRID\opensim-ca2379e\OpenSim\Region\ScriptEngine\Shared\Api\Impl
ementation\AsyncCommandManager.cs:ligne 254
   à OpenSim.Region.ScriptEngine.Shared.Api.AsyncCommandManager.CmdHandlerThread
Loop() dans k:\OSGRID\opensim-ca2379e\OpenSim\Region\ScriptEngine\Shared\Api\Imp
lementation\AsyncCommandManager.cs:ligne 227
Steps To ReproduceSince the visit of an avatar in Mesh (apparently corrupt) on my region, my simulator crash. Every morning when I wake up, my simulator is crached. I also my land very strange way it appears only partially (see screenshots in the zip attachment).
Additional InformationHere's what I tried to do to solve the problem :
(But it did not solved the problem)

- Recharge the ground with r32.
- Recharge area with oar (backup)
- Recharge area with oar (default island)
- To land fill 20.5, 0.0, 20.5 ...
- Empty the cache (simulator / Viewer).
- Tested with several viewers
- Emptying my entire database and redo new facility
- Put all the empty islands (0 scripts)
- Make new installation of opensim (with new bin)
- My deregistred regions robust and restart my simulator

PS: i add some screenshots in the zip file as an attachment.
TagsNo tags attached.
Git Revision or version numberOsGrid 0.8.1
Run Mode Grid (Multiple Regions per Sim)
Physics EngineBulletSim
Script Engine
Environment.NET / Windows32
Mono VersionNone
ViewerSingularity, FireStorm
Attached Fileszip file icon screenshots.zip [^] (1,941,522 bytes) 2014-06-29 06:05

- Relationships

-  Notes
(0026450)
djphil (reporter)
2014-07-07 14:54

I made 2 new test + screenshots

1) With new regions coordinated
http://www.imagerun.info/img177/lq6dmkfmnbxdfooh.jpg [^]

2) With new region uuid
http://www.imagerun.info/img177/f11dk9fe1wc0ucoj.jpg [^]
(0026596)
djphil (reporter)
2014-07-26 04:29

Any help to fix this bug would be appreciated. Thank you in advance
(0026730)
djphil (reporter)
2014-08-11 08:49

Today i update my sim to osgrid-opensim-08092014.v0.8.1.8738445
but unfortunately the problem persists.
http://www.imagerun.info/img179/rko919b8alcwsivk.jpg [^]

- Issue History
Date Modified Username Field Change
2014-06-29 06:05 djphil New Issue
2014-06-29 06:05 djphil File Added: screenshots.zip
2014-06-29 06:17 djphil Steps to Reproduce Updated View Revisions
2014-06-29 06:17 djphil Steps to Reproduce Updated View Revisions
2014-07-07 14:54 djphil Note Added: 0026450
2014-07-26 04:29 djphil Note Added: 0026596
2014-07-26 16:08 Robert Adams Assigned To => Robert Adams
2014-07-26 16:08 Robert Adams Status new => assigned
2014-08-11 08:49 djphil Note Added: 0026730


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker