MantisBT - opensim
View Issue Details
0008408opensim[GRID] Grid Servicepublic2018-11-13 22:212018-11-15 23:37
contributor 
 
urgentcrashalways
newopen 
Windows7
0.9.0.1 
 
Grid (Multiple Regions per Sim)
BulletSim
.NET / Windows64
None
0008408: Bulletsim fails to display any mesh object in Grid mode
Loading any mesh object under Bulletsim fails in Grid mode, always. The prims appear in the region (as shown in Region Detail), but the object mesh is not shown at all. After that the login service fails.

Note that uploading a dae file works and the object appears in the inventory. The problem occurs when rendering the mesh object or applying physics possibly. Red errors in the console show that the problem is related to Bulletsim. Also, the above problem does not occur under ubODE neither in Standalone. As said it happens only under Bulletsim and Grid mode.

1. Downloaded the latest master source version and compiled it
2. Configuring and running opensim in Grid mode
3. Uploading a mesh dae
4. Drag and drop mesh object from inventory onto a region failed showing red errors

I have tested also the official 0.9.0.1 version with the same problem.
Previous versions work ok.
Portion of the errors:

test\OpenSim\Region\PhysicsModules\BulletS\BSShapeCollection.cs:line 309
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.CreateGeom(Boolean
forceRebuild, BSPhysObject prim, PhysicalDestructionCallback shapeCallback) in c
:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSShapeCollection.cs:line
 227
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.GetBodyAndShape(Boo
lean forceRebuild, BulletWorld sim, BSPhysObject prim, PhysicalDestructionCallba
ck bodyCallback) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSSh
apeCollection.cs:line 86
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim.CreateGeomAndObject(Boolean fo
rceRebuild) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSPrim.cs
:line 1613
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim.<.ctor>b__0() in c:\opensim-la
test\OpenSim\Region\PhysicsModules\BulletS\BSPrim.cs:line 107
   at OpenSim.Region.PhysicsModule.BulletS.BSScene.TaintedObject(String pOrigina
tor, String pIdent, TaintCallback pCallback) in c:\opensim-latest\OpenSim\Region
\PhysicsModules\BulletS\BSScene.cs:line 1244
   at OpenSim.Region.PhysicsModule.BulletS.BSScene.TaintedObject(UInt32 pOrigina
tor, String pIdent, TaintCallback pCallback) in c:\opensim-latest\OpenSim\Region
\PhysicsModules\BulletS\BSScene.cs:line 1233
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim..ctor(UInt32 localID, String p
rimName, BSScene parent_scene, Vector3 pos, Vector3 size, Quaternion rotation, P
rimitiveBaseShape pbs, Boolean pisPhysical) in c:\opensim-latest\OpenSim\Region\
PhysicsModules\BulletS\BSPrim.cs:line 102
   at OpenSim.Region.PhysicsModule.BulletS.BSPrimDisplaced..ctor(UInt32 localID,
 String primName, BSScene parent_scene, Vector3 pos, Vector3 size, Quaternion ro
tation, PrimitiveBaseShape pbs, Boolean pisPhysical) in c:\opensim-latest\OpenSi
m\Region\PhysicsModules\BulletS\BSPrimDisplaced.cs:line 60
   at OpenSim.Region.PhysicsModule.BulletS.BSPrimLinkable..ctor(UInt32 localID,
String primName, BSScene parent_scene, Vector3 pos, Vector3 size, Quaternion rot
ation, PrimitiveBaseShape pbs, Boolean pisPhysical) in c:\opensim-latest\OpenSim
\Region\PhysicsModules\BulletS\BSPrimLinkable.cs:line 56
   at OpenSim.Region.PhysicsModule.BulletS.BSScene.AddPrimShape(String primName,
 PrimitiveBaseShape pbs, Vector3 position, Vector3 size, Quaternion rotation, Bo
olean isPhysical, UInt32 localID) in c:\opensim-latest\OpenSim\Region\PhysicsMod
ules\BulletS\BSScene.cs:line 618
   at OpenSim.Region.PhysicsModules.SharedBase.PhysicsScene.AddPrimShape(String
primName, PrimitiveBaseShape pbs, Vector3 position, Vector3 size, Quaternion rot
ation, Boolean isPhysical, Boolean isPhantom, Byte shapetype, UInt32 localid) in
 c:\opensim-latest\OpenSim\Region\PhysicsModules\SharedBase\PhysicsScene.cs:line
 224
   at OpenSim.Region.Framework.Scenes.SceneObjectPart.AddToPhysics(Boolean isPhy
sical, Boolean isPhantom, Boolean building, Boolean applyDynamics) in c:\opensim
-latest\OpenSim\Region\Framework\Scenes\SceneObjectPart.cs:line 4949
07:42:51 - [SCENE]: caught exception meshing object 7a9be186-9a90-4186-a2f1-00ea
9b7e4065. Object set to phantom. e=System.NullReferenceException: Object referen
ce not set to an instance of an object.
   at OpenSim.Region.PhysicsModule.BulletS.BSPrimLinkable.RemoveDependencies() i
n c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSPrimLinkable.cs:line
 176
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim.<CreateGeomAndObject>b__41(Bul
letBody pBody, BulletShape pShape) in c:\opensim-latest\OpenSim\Region\PhysicsMo
dules\BulletS\BSPrim.cs:line 1619
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.DereferenceExisting
Shape(BSPhysObject prim, PhysicalDestructionCallback shapeCallback) in c:\opensi
m-latest\OpenSim\Region\PhysicsModules\BulletS\BSShapeCollection.cs:line 112
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.CreateGeomMeshOrHul
l(BSPhysObject prim, PhysicalDestructionCallback shapeCallback) in c:\opensim-la
test\OpenSim\Region\PhysicsModules\BulletS\BSShapeCollection.cs:line 309
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.CreateGeom(Boolean
forceRebuild, BSPhysObject prim, PhysicalDestructionCallback shapeCallback) in c
:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSShapeCollection.cs:line
 227
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.GetBodyAndShape(Boo
lean forceRebuild, BulletWorld sim, BSPhysObject prim, PhysicalDestructionCallba
ck bodyCallback) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSSh
apeCollection.cs:line 86
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim.CreateGeomAndObject(Boolean fo
rceRebuild) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSPrim.cs
:line 1613
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim.<.ctor>b__0() in c:\opensim-la
test\OpenSim\Region\PhysicsModules\BulletS\BSPrim.cs:line 107
   at OpenSim.Region.PhysicsModule.BulletS.BSScene.TaintedObject(String pOrigina
tor, String pIdent, TaintCallback pCallback) in c:\opensim-latest\OpenSim\Region
\PhysicsModules\BulletS\BSScene.cs:line 1244
   at OpenSim.Region.PhysicsModule.BulletS.BSScene.TaintedObject(UInt32 pOrigina
tor, String pIdent, TaintCallback pCallback) in c:\opensim-latest\OpenSim\Region
\PhysicsModules\BulletS\BSScene.cs:line 1233
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim..ctor(UInt32 localID, String p
rimName, BSScene parent_scene, Vector3 pos, Vector3 size, Quaternion rotation, P
rimitiveBaseShape pbs, Boolean pisPhysical) in c:\opensim-latest\OpenSim\Region\
PhysicsModules\BulletS\BSPrim.cs:line 102
   at OpenSim.Region.PhysicsModule.BulletS.BSPrimDisplaced..ctor(UInt32 localID,
 String primName, BSScene parent_scene, Vector3 pos, Vector3 size, Quaternion ro
tation, PrimitiveBaseShape pbs, Boolean pisPhysical) in c:\opensim-latest\OpenSi
m\Region\PhysicsModules\BulletS\BSPrimDisplaced.cs:line 60
   at OpenSim.Region.PhysicsModule.BulletS.BSPrimLinkable..ctor(UInt32 localID,
String primName, BSScene parent_scene, Vector3 pos, Vector3 size, Quaternion rot
ation, PrimitiveBaseShape pbs, Boolean pisPhysical) in c:\opensim-latest\OpenSim
\Region\PhysicsModules\BulletS\BSPrimLinkable.cs:line 56
   at OpenSim.Region.PhysicsModule.BulletS.BSScene.AddPrimShape(String primName,
 PrimitiveBaseShape pbs, Vector3 position, Vector3 size, Quaternion rotation, Bo
olean isPhysical, UInt32 localID) in c:\opensim-latest\OpenSim\Region\PhysicsMod
ules\BulletS\BSScene.cs:line 618
   at OpenSim.Region.PhysicsModules.SharedBase.PhysicsScene.AddPrimShape(String
primName, PrimitiveBaseShape pbs, Vector3 position, Vector3 size, Quaternion rot
ation, Boolean isPhysical, Boolean isPhantom, Byte shapetype, UInt32 localid) in
 c:\opensim-latest\OpenSim\Region\PhysicsModules\SharedBase\PhysicsScene.cs:line
 224
   at OpenSim.Region.Framework.Scenes.SceneObjectPart.AddToPhysics(Boolean isPhy
sical, Boolean isPhantom, Boolean building, Boolean applyDynamics) in c:\opensim
-latest\OpenSim\Region\Framework\Scenes\SceneObjectPart.cs:line 4949
07:42:51 - [SCENE]: caught exception meshing object 1c7f6648-c3bf-4a50-952a-3be6
3c1d94d2. Object set to phantom. e=System.NullReferenceException: Object referen
ce not set to an instance of an object.
   at OpenSim.Region.PhysicsModule.BulletS.BSPrimLinkable.RemoveDependencies() i
n c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSPrimLinkable.cs:line
 176
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim.<CreateGeomAndObject>b__41(Bul
letBody pBody, BulletShape pShape) in c:\opensim-latest\OpenSim\Region\PhysicsMo
dules\BulletS\BSPrim.cs:line 1619
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.DereferenceExisting
Shape(BSPhysObject prim, PhysicalDestructionCallback shapeCallback) in c:\opensi
m-latest\OpenSim\Region\PhysicsModules\BulletS\BSShapeCollection.cs:line 112
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.CreateGeomMeshOrHul
l(BSPhysObject prim, PhysicalDestructionCallback shapeCallback) in c:\opensim-la
test\OpenSim\Region\PhysicsModules\BulletS\BSShapeCollection.cs:line 309
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.CreateGeom(Boolean
forceRebuild, BSPhysObject prim, PhysicalDestructionCallback shapeCallback) in c
:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSShapeCollection.cs:line
 227
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.GetBodyAndShape(Boo
lean forceRebuild, BulletWorld sim, BSPhysObject prim, PhysicalDestructionCallba
ck bodyCallback) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSSh
apeCollection.cs:line 86
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim.CreateGeomAndObject(Boolean fo
rceRebuild) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSPrim.cs
:line 1613
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim.<.ctor>b__0() in c:\opensim-la
test\OpenSim\Region\PhysicsModules\BulletS\BSPrim.cs:line 107
   at OpenSim.Region.PhysicsModule.BulletS.BSScene.TaintedObject(String pOrigina
tor, String pIdent, TaintCallback pCallback) in c:\opensim-latest\OpenSim\Region
\PhysicsModules\BulletS\BSScene.cs:line 1244
   at OpenSim.Region.PhysicsModule.BulletS.BSScene.TaintedObject(UInt32 pOrigina
tor, String pIdent, TaintCallback pCallback) in c:\opensim-latest\OpenSim\Region
\PhysicsModules\BulletS\BSScene.cs:line 1233
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim..ctor(UInt32 localID, String p
rimName, BSScene parent_scene, Vector3 pos, Vector3 size, Quaternion rotation, P
rimitiveBaseShape pbs, Boolean pisPhysical) in c:\opensim-latest\OpenSim\Region\
PhysicsModules\BulletS\BSPrim.cs:line 102
   at OpenSim.Region.PhysicsModule.BulletS.BSPrimDisplaced..ctor(UInt32 localID,
 String primName, BSScene parent_scene, Vector3 pos, Vector3 size, Quaternion ro
tation, PrimitiveBaseShape pbs, Boolean pisPhysical) in c:\opensim-latest\OpenSi
m\Region\PhysicsModules\BulletS\BSPrimDisplaced.cs:line 60
   at OpenSim.Region.PhysicsModule.BulletS.BSPrimLinkable..ctor(UInt32 localID,
String primName, BSScene parent_scene, Vector3 pos, Vector3 size, Quaternion rot
ation, PrimitiveBaseShape pbs, Boolean pisPhysical) in c:\opensim-latest\OpenSim
\Region\PhysicsModules\BulletS\BSPrimLinkable.cs:line 56
   at OpenSim.Region.PhysicsModule.BulletS.BSScene.AddPrimShape(String primName,
 PrimitiveBaseShape pbs, Vector3 position, Vector3 size, Quaternion rotation, Bo
olean isPhysical, UInt32 localID) in c:\opensim-latest\OpenSim\Region\PhysicsMod
ules\BulletS\BSScene.cs:line 618
   at OpenSim.Region.PhysicsModules.SharedBase.PhysicsScene.AddPrimShape(String
primName, PrimitiveBaseShape pbs, Vector3 position, Vector3 size, Quaternion rot
ation, Boolean isPhysical, Boolean isPhantom, Byte shapetype, UInt32 localid) in
 c:\opensim-latest\OpenSim\Region\PhysicsModules\SharedBase\PhysicsScene.cs:line
 224
   at OpenSim.Region.Framework.Scenes.SceneObjectPart.AddToPhysics(Boolean isPhy
sical, Boolean isPhantom, Boolean building, Boolean applyDynamics) in c:\opensim
-latest\OpenSim\Region\Framework\Scenes\SceneObjectPart.cs:line 4949
07:42:51 - [SCENE]: caught exception meshing object 02c4fcb8-680b-4887-9bc0-4a8b
25271c96. Object set to phantom. e=System.NullReferenceException: Object referen
ce not set to an instance of an object.
   at OpenSim.Region.PhysicsModule.BulletS.BSPrimLinkable.RemoveDependencies() i
n c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSPrimLinkable.cs:line
 176
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim.<CreateGeomAndObject>b__41(Bul
letBody pBody, BulletShape pShape) in c:\opensim-latest\OpenSim\Region\PhysicsMo
dules\BulletS\BSPrim.cs:line 1619
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.DereferenceExisting
Shape(BSPhysObject prim, PhysicalDestructionCallback shapeCallback) in c:\opensi
m-latest\OpenSim\Region\PhysicsModules\BulletS\BSShapeCollection.cs:line 112
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.CreateGeomMeshOrHul
l(BSPhysObject prim, PhysicalDestructionCallback shapeCallback) in c:\opensim-la
test\OpenSim\Region\PhysicsModules\BulletS\BSShapeCollection.cs:line 309
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.CreateGeom(Boolean
forceRebuild, BSPhysObject prim, PhysicalDestructionCallback shapeCallback) in c
:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSShapeCollection.cs:line
 227
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.GetBodyAndShape(Boo
lean forceRebuild, BulletWorld sim, BSPhysObject prim, PhysicalDestructionCallba
ck bodyCallback) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSSh
apeCollection.cs:line 86
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim.CreateGeomAndObject(Boolean fo
rceRebuild) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSPrim.cs
:line 1613
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim.<.ctor>b__0() in c:\opensim-la
test\OpenSim\Region\PhysicsModules\BulletS\BSPrim.cs:line 107
   at OpenSim.Region.PhysicsModule.BulletS.BSScene.TaintedObject(String pOrigina
tor, String pIdent, TaintCallback pCallback) in c:\opensim-latest\OpenSim\Region
\PhysicsModules\BulletS\BSScene.cs:line 1244
   at OpenSim.Region.PhysicsModule.BulletS.BSScene.TaintedObject(UInt32 pOrigina
tor, String pIdent, TaintCallback pCallback) in c:\opensim-latest\OpenSim\Region
\PhysicsModules\BulletS\BSScene.cs:line 1233
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim..ctor(UInt32 localID, String p
rimName, BSScene parent_scene, Vector3 pos, Vector3 size, Quaternion rotation, P
rimitiveBaseShape pbs, Boolean pisPhysical) in c:\opensim-latest\OpenSim\Region\
PhysicsModules\BulletS\BSPrim.cs:line 102
   at OpenSim.Region.PhysicsModule.BulletS.BSPrimDisplaced..ctor(UInt32 localID,
 String primName, BSScene parent_scene, Vector3 pos, Vector3 size, Quaternion ro
tation, PrimitiveBaseShape pbs, Boolean pisPhysical) in c:\opensim-latest\OpenSi
m\Region\PhysicsModules\BulletS\BSPrimDisplaced.cs:line 60
   at OpenSim.Region.PhysicsModule.BulletS.BSPrimLinkable..ctor(UInt32 localID,
String primName, BSScene parent_scene, Vector3 pos, Vector3 size, Quaternion rot
ation, PrimitiveBaseShape pbs, Boolean pisPhysical) in c:\opensim-latest\OpenSim
\Region\PhysicsModules\BulletS\BSPrimLinkable.cs:line 56
   at OpenSim.Region.PhysicsModule.BulletS.BSScene.AddPrimShape(String primName,
 PrimitiveBaseShape pbs, Vector3 position, Vector3 size, Quaternion rotation, Bo
olean isPhysical, UInt32 localID) in c:\opensim-latest\OpenSim\Region\PhysicsMod
ules\BulletS\BSScene.cs:line 618
   at OpenSim.Region.PhysicsModules.SharedBase.PhysicsScene.AddPrimShape(String
primName, PrimitiveBaseShape pbs, Vector3 position, Vector3 size, Quaternion rot
ation, Boolean isPhysical, Boolean isPhantom, Byte shapetype, UInt32 localid) in
 c:\opensim-latest\OpenSim\Region\PhysicsModules\SharedBase\PhysicsScene.cs:line
 224
   at OpenSim.Region.Framework.Scenes.SceneObjectPart.AddToPhysics(Boolean isPhy
sical, Boolean isPhantom, Boolean building, Boolean applyDynamics) in c:\opensim
-latest\OpenSim\Region\Framework\Scenes\SceneObjectPart.cs:line 4949
07:42:51 - [SCENE]: caught exception meshing object 5ca15ecc-d63f-4151-aa77-20d7
4fedd315. Object set to phantom. e=System.NullReferenceException: Object referen
ce not set to an instance of an object.
   at OpenSim.Region.PhysicsModule.BulletS.BSPrimLinkable.RemoveDependencies() i
n c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSPrimLinkable.cs:line
 176
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim.<CreateGeomAndObject>b__41(Bul
letBody pBody, BulletShape pShape) in c:\opensim-latest\OpenSim\Region\PhysicsMo
dules\BulletS\BSPrim.cs:line 1619
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.DereferenceExisting
Shape(BSPhysObject prim, PhysicalDestructionCallback shapeCallback) in c:\opensi
m-latest\OpenSim\Region\PhysicsModules\BulletS\BSShapeCollection.cs:line 112
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.CreateGeomMeshOrHul
l(BSPhysObject prim, PhysicalDestructionCallback shapeCallback) in c:\opensim-la
test\OpenSim\Region\PhysicsModules\BulletS\BSShapeCollection.cs:line 309
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.CreateGeom(Boolean
forceRebuild, BSPhysObject prim, PhysicalDestructionCallback shapeCallback) in c
:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSShapeCollection.cs:line
 227
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.GetBodyAndShape(Boo
lean forceRebuild, BulletWorld sim, BSPhysObject prim, PhysicalDestructionCallba
ck bodyCallback) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSSh
apeCollection.cs:line 86
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim.CreateGeomAndObject(Boolean fo
rceRebuild) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSPrim.cs
:line 1613
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim.<.ctor>b__0() in c:\opensim-la
test\OpenSim\Region\PhysicsModules\BulletS\BSPrim.cs:line 107
   at OpenSim.Region.PhysicsModule.BulletS.BSScene.TaintedObject(String pOrigina
tor, String pIdent, TaintCallback pCallback) in c:\opensim-latest\OpenSim\Region
\PhysicsModules\BulletS\BSScene.cs:line 1244
   at OpenSim.Region.PhysicsModule.BulletS.BSScene.TaintedObject(UInt32 pOrigina
tor, String pIdent, TaintCallback pCallback) in c:\opensim-latest\OpenSim\Region
\PhysicsModules\BulletS\BSScene.cs:line 1233
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim..ctor(UInt32 localID, String p
rimName, BSScene parent_scene, Vector3 pos, Vector3 size, Quaternion rotation, P
rimitiveBaseShape pbs, Boolean pisPhysical) in c:\opensim-latest\OpenSim\Region\
PhysicsModules\BulletS\BSPrim.cs:line 102
   at OpenSim.Region.PhysicsModule.BulletS.BSPrimDisplaced..ctor(UInt32 localID,
 String primName, BSScene parent_scene, Vector3 pos, Vector3 size, Quaternion ro
tation, PrimitiveBaseShape pbs, Boolean pisPhysical) in c:\opensim-latest\OpenSi
m\Region\PhysicsModules\BulletS\BSPrimDisplaced.cs:line 60
   at OpenSim.Region.PhysicsModule.BulletS.BSPrimLinkable..ctor(UInt32 localID,
String primName, BSScene parent_scene, Vector3 pos, Vector3 size, Quaternion rot
ation, PrimitiveBaseShape pbs, Boolean pisPhysical) in c:\opensim-latest\OpenSim
\Region\PhysicsModules\BulletS\BSPrimLinkable.cs:line 56
   at OpenSim.Region.PhysicsModule.BulletS.BSScene.AddPrimShape(String primName,
 PrimitiveBaseShape pbs, Vector3 position, Vector3 size, Quaternion rotation, Bo
olean isPhysical, UInt32 localID) in c:\opensim-latest\OpenSim\Region\PhysicsMod
ules\BulletS\BSScene.cs:line 618
   at OpenSim.Region.PhysicsModules.SharedBase.PhysicsScene.AddPrimShape(String
primName, PrimitiveBaseShape pbs, Vector3 position, Vector3 size, Quaternion rot
ation, Boolean isPhysical, Boolean isPhantom, Byte shapetype, UInt32 localid) in
 c:\opensim-latest\OpenSim\Region\PhysicsModules\SharedBase\PhysicsScene.cs:line
 224
   at OpenSim.Region.Framework.Scenes.SceneObjectPart.AddToPhysics(Boolean isPhy
sical, Boolean isPhantom, Boolean building, Boolean applyDynamics) in c:\opensim
-latest\OpenSim\Region\Framework\Scenes\SceneObjectPart.cs:line 4949
07:42:55 - [WATCHDOG]: Timeout detected for thread "Heartbeat-(Open05)". ThreadS
tate=WaitSleepJoin. Last tick was 5803ms ago.
Region (root) #
No tags attached.
related to 0008306new  mesh object do not work with current bullet-sim physics.. 
Issue History
2018-11-13 22:21contributorNew Issue
2018-11-13 22:31BillBlightRelationship addedrelated to 0008306
2018-11-14 03:16UbitUmarovNote Added: 0033480
2018-11-14 03:41contributorNote Added: 0033481
2018-11-14 03:57UbitUmarovNote Added: 0033482
2018-11-14 04:12contributorNote Added: 0033483
2018-11-14 06:11UbitUmarovNote Added: 0033484
2018-11-14 08:01contributorNote Added: 0033485
2018-11-14 08:51contributorNote Added: 0033486
2018-11-14 08:54UbitUmarovNote Added: 0033487
2018-11-14 09:03contributorNote Added: 0033488
2018-11-14 09:09UbitUmarovNote Added: 0033489
2018-11-14 09:09BillBlightNote Added: 0033490
2018-11-14 09:11UbitUmarovNote Added: 0033491
2018-11-14 09:20contributorNote Added: 0033492
2018-11-15 13:02contributorNote Added: 0033508
2018-11-15 14:31UbitUmarovNote Added: 0033509
2018-11-15 23:36contributorNote Added: 0033511

Notes
(0033480)
UbitUmarov   
2018-11-14 03:16   
just uploaded a mesh known to be good and had no issues rez on a bullet region.
your mesh may be defective in a way bullet does not detect but ubode does

please check console for ubode errors when you rez that mesh using ubode.
(0033481)
contributor   
2018-11-14 03:41   
I have done two different experiments under Bulletsim. One is to upload a mesh object into Standalone region and the second experiment is to upload the same mesh object into Robust mode. The first experiment loads correctly any mesh, I have tested 50 mesh objects and they uploaded and rezed very well. While under Robust mode, all of them failed to rez. So it is not any question of a particular object, but it concerns all objects.

Under ubode the above issue produced no errors either in Standalone or Robust mode.
(0033482)
UbitUmarov   
2018-11-14 03:57   
have to ask if you are changing the Meshmerizer when you change the physics engines. As you know bullet and ubode use different ones.
(0033483)
contributor   
2018-11-14 04:12   
I used the standard Meshmerizer with Bulletsim. My error report is about Bulletsim in Robust mode only.

I have been using Opensim for 4 years and I adapt to all updates. When I tried to load my existing oars into the newest standalone version, no problem was noticed. But when I tried to load the same oars into Robust mode a lot of red lines appeared and non of mesh objects were loaded.

I again notify that it is about Bulletsim under Robust mode. The standlone mode works ok under Bulletsim with my existing oars.
(0033484)
UbitUmarov   
2018-11-14 06:11   
the standalone/robust is odd
any errors about assets upload on console?
if so check all the configuration of assets service, both on robust and regions ini files.
(0033485)
contributor   
2018-11-14 08:01   
I will keep you informed with more details to help you solve this peculiar problem.
(0033486)
contributor   
2018-11-14 08:51   
In continuation of our discussion, I hereby list the series of steps needed to reproduce the error messages:

Step 1. Restart the simulator (version: OpenSim 0.9.1.0 Snail Dev) in Robust mode
Step 2. Create a simple 1-prim cube. Drop it on the ground.
Step 3. (Via firestorm Release x64 5.1.7) save the cube prim as Collada (No textures needed on it)
Step 4. Upload the just saved cube mesh object. It uploads ok without errors at this stage.
Step 5. Then ,try to rezz the uploaded 1-prim object on the ground and read the red messages at the console.

I hereby copy-paste the produced error messages just after rezzing. The object never appears visible but it is included in the number of prims of the region, increasing their number by 1.

I hope this detailed procedure will help.

18:31:26 - [SCENE]: caught exception meshing object 5aeb3dd5-493f-4e11-9357-ea82614bf8dc. Object set to phantom. e=System.NullReferenceException: Object reference not set to an instance of an object.
   at OpenSim.Region.PhysicsModule.BulletS.BSPrimLinkable.RemoveDependencies() in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSPrimLinkable.cs:line 176
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim.<CreateGeomAndObject>b__41(BulletBody pBody, BulletShape pShape) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSPrim.cs:line 1619
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.DereferenceExistingShape(BSPhysObject prim, PhysicalDestructionCallback shapeCallback) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSShapeCollection.cs:line 112
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.CreateGeomMeshOrHull(BSPhysObject prim, PhysicalDestructionCallback shapeCallback) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSShapeCollection.cs:line 309
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.CreateGeom(Boolean forceRebuild, BSPhysObject prim, PhysicalDestructionCallback shapeCallback) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSShapeCollection.cs:line 227
   at OpenSim.Region.PhysicsModule.BulletS.BSShapeCollection.GetBodyAndShape(Boolean forceRebuild, BulletWorld sim, BSPhysObject prim, PhysicalDestructionCallback bodyCallback) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSShapeCollection.cs:line 86
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim.CreateGeomAndObject(Boolean forceRebuild) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSPrim.cs:line 1613
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim.<.ctor>b__0() in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSPrim.cs:line 107
   at OpenSim.Region.PhysicsModule.BulletS.BSScene.TaintedObject(String pOriginator, String pIdent, TaintCallback pCallback) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSScene.cs:line 1244
   at OpenSim.Region.PhysicsModule.BulletS.BSScene.TaintedObject(UInt32 pOriginator, String pIdent, TaintCallback pCallback) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSScene.cs:line 1233
   at OpenSim.Region.PhysicsModule.BulletS.BSPrim..ctor(UInt32 localID, String primName, BSScene parent_scene, Vector3 pos, Vector3 size, Quaternion rotation, PrimitiveBaseShape pbs, Boolean pisPhysical) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSPrim.cs:line 102
   at OpenSim.Region.PhysicsModule.BulletS.BSPrimDisplaced..ctor(UInt32 localID, String primName, BSScene parent_scene, Vector3 pos, Vector3 size, Quaternion rotation, PrimitiveBaseShape pbs, Boolean pisPhysical) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSPrimDisplaced.cs:line 60
   at OpenSim.Region.PhysicsModule.BulletS.BSPrimLinkable..ctor(UInt32 localID, String primName, BSScene parent_scene, Vector3 pos, Vector3 size, Quaternion rotation, PrimitiveBaseShape pbs, Boolean pisPhysical) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSPrimLinkable.cs:line 56
   at OpenSim.Region.PhysicsModule.BulletS.BSScene.AddPrimShape(String primName, PrimitiveBaseShape pbs, Vector3 position, Vector3 size, Quaternion rotation, Boolean isPhysical, UInt32 localID) in c:\opensim-latest\OpenSim\Region\PhysicsModules\BulletS\BSScene.cs:line 618
   at OpenSim.Region.PhysicsModules.SharedBase.PhysicsScene.AddPrimShape(String primName, PrimitiveBaseShape pbs, Vector3 position, Vector3 size, Quaternion rotation, Boolean isPhysical, Boolean isPhantom, Byte shapetype, UInt32 localid) in c:\opensim-latest\OpenSim\Region\PhysicsModules\SharedBase\PhysicsScene.cs:line 224
   at OpenSim.Region.Framework.Scenes.SceneObjectPart.AddToPhysics(Boolean isPhysical, Boolean isPhantom, Boolean building, Boolean applyDynamics) in c:\opensim-latest\OpenSim\Region\Framework\Scenes\SceneObjectPart.cs:line 4949
(0033487)
UbitUmarov   
2018-11-14 08:54   
what upload options other then default, specially on physics tab ?
(0033488)
contributor   
2018-11-14 09:03   
Physics: Lowest

and Level of Detail:

Load from file Triangles 108 Vertices 96
Use LoD above Triangles 108 Vertices 96
Use LoD above Triangles 108 Vertices 96
Use LoD above Triangles 108 Vertices 96
(0033489)
UbitUmarov   
2018-11-14 09:09   
odd choices
but did it and all fine.


are you on recent master?
(0033490)
BillBlight   
2018-11-14 09:09   
I have to ask, what are you "adapting" ?

.9x is a bit different than .8x adaptations that might have worked in it, could very well break .9x.
(0033491)
UbitUmarov   
2018-11-14 09:11   
if you have UseSeparatePhysicsThread = true

set it to false and test plz
(0033492)
contributor   
2018-11-14 09:20   
/////if you have UseSeparatePhysicsThread = true
/////
/////set it to false and test plz

Yes, I checked the UseSeparatePhysicsThread and it was found to be false all the time.
Then I uploaded the mesh cube with the default options.
The problem remained.
(0033508)
contributor   
2018-11-15 13:02   
Important News

It was found that with FileCacheEnabled = false (FlotsamCache.ini)
all the oars loaded successfully and any mesh object they contained appeared.

This bypasses the rez problem of mesh objects but is a temporary only solution.
because the assetcache is required to be enabled.

I hope this will help.
(0033509)
UbitUmarov   
2018-11-15 14:31   
several tests and no repo here :(
this seems a timming issue not fully covered by bullet.
i did add, on master, avoidance for that null reference on you logs.
hopefully that will help bullet exec to be on right tracks
(not seening objects guess is just a side effect of bullet blown up)
(0033511)
contributor   
2018-11-15 23:36   
Your latest corrections solved the problem of mesh objects under bulletsim.
Thank you Ubit, wholeheartedly.