Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006792opensim[REGION] OpenSim Corepublic2013-10-08 06:092015-08-19 12:23
Reporteraiaustin 
Assigned ToRobert Adams 
PrioritynormalSeverityminorReproducibilityalways
StatusassignedResolutionopen 
PlatformPCOSWindowsOS Version8
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0006792: [BULLETS SCENE]: ProcessPostTaintTaints: BSLinksetCompound... System.NullReferenceException
DescriptionReporting this in case the error trace alone is sufficient to spot an issue...

On loading a scene, around the time the map tiles are beign generated, though that may not be a factor...

2013-10-08 14:01:27,458 ERROR - OpenSim.Region.Physics.BulletSPlugin.BSScene [BULLETS SCENE]: ProcessPostTaintTaints: BSLinksetCompound.ScheduleRebuild-1654727691: Exception: System.NullReferenceException: Object reference not set to an instance of an object.

   at OpenSim.Region.Physics.BulletSPlugin.BSAPIUnman.AddChildShapeToCompoundShape(BulletShape shape, BulletShape addShape, Vector3 pos, Quaternion rot) in k:\OSGRID\opensim-31246ec\OpenSim\Region\Physics\BulletSPlugin\BSAPIUnman.cs:line 350

   at OpenSim.Region.Physics.BulletSPlugin.BSLinksetCompound.<>c__DisplayClass3.<RecomputeLinksetCompound>b__2(BSPrimLinkable cPrim) in k:\OSGRID\opensim-31246ec\OpenSim\Region\Physics\BulletSPlugin\BSLinksetCompound.cs:line 377

   at OpenSim.Region.Physics.BulletSPlugin.BSLinkset.ForEachMember(ForEachMemberAction action) in k:\OSGRID\opensim-31246ec\OpenSim\Region\Physics\BulletSPlugin\BSLinkset.cs:line 205

   at OpenSim.Region.Physics.BulletSPlugin.BSLinksetCompound.RecomputeLinksetCompound() in k:\OSGRID\opensim-31246ec\OpenSim\Region\Physics\BulletSPlugin\BSLinksetCompound.cs:line 356

   at OpenSim.Region.Physics.BulletSPlugin.BSLinksetCompound.<ScheduleRebuild>b__0() in k:\OSGRID\opensim-31246ec\OpenSim\Region\Physics\BulletSPlugin\BSLinksetCompound.cs:line 112

   at OpenSim.Region.Physics.BulletSPlugin.BSScene.ProcessPostTaintTaints() in k:\OSGRID\opensim-31246ec\OpenSim\Region\Physics\BulletSPlugin\BSScene.cs:line 1017
TagsNo tags attached.
Git Revision or version numberr/23803
Run Mode Grid (Multiple Regions per Sim)
Physics EngineBulletSim
Script Engine
Environment.NET / Windows64
Mono VersionNone
ViewerN/A
Attached Files

- Relationships

-  Notes
(0024436)
aiaustin (developer)
2013-10-10 08:43
edited on: 2014-02-20 03:33

This error only seems to be present when I startup 4 regions in an instance of OpenSim.exe add-on regions for OSGrid. If I start 3 regions it is not present as far as I can see.. may be a memory issue?

Detailed traceback is here for latest OSGrid add on release 0.8.0 dev master r/23803

2013-10-10 16:38:42,090 ERROR - OpenSim.Region.Physics.BulletSPlugin.BSScene [BULLETS SCENE]: ProcessPostTaintTaints: BSLinksetCompound.ScheduleRebuild-3127511203: Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at OpenSim.Region.Physics.BulletSPlugin.BSAPIUnman.AddChildShapeToCompoundShape(BulletShape shape, BulletShape addShape, Vector3 pos, Quaternion rot) in k:\OSGRID\opensim-31246ec\OpenSim\Region\Physics\BulletSPlugin\BSAPIUnman.cs:line 350
   at OpenSim.Region.Physics.BulletSPlugin.BSLinksetCompound.<>c__DisplayClass3.<RecomputeLinksetCompound>b__2(BSPrimLinkable cPrim) in k:\OSGRID\opensim-31246ec\OpenSim\Region\Physics\BulletSPlugin\BSLinksetCompound.cs:line 377
   at OpenSim.Region.Physics.BulletSPlugin.BSLinkset.ForEachMember(ForEachMemberAction action) in k:\OSGRID\opensim-31246ec\OpenSim\Region\Physics\BulletSPlugin\BSLinkset.cs:line 205
   at OpenSim.Region.Physics.BulletSPlugin.BSLinksetCompound.RecomputeLinksetCompound() in k:\OSGRID\opensim-31246ec\OpenSim\Region\Physics\BulletSPlugin\BSLinksetCompound.cs:line 356
   at OpenSim.Region.Physics.BulletSPlugin.BSLinksetCompound.<ScheduleRebuild>b__0() in k:\OSGRID\opensim-31246ec\OpenSim\Region\Physics\BulletSPlugin\BSLinksetCompound.cs:line 112
   at OpenSim.Region.Physics.BulletSPlugin.BSScene.ProcessPostTaintTaints() in k:\OSGRID\opensim-31246ec\OpenSim\Region\Physics\BulletSPlugin\BSScene.cs:line 1017

(0025234)
aiaustin (developer)
2014-02-20 03:34

I have been getting a variant of this error in the most recent versions of the OSGrid add on regions release r/24366

2014-02-20 09:16:07,217 ERROR - OpenSim.Region.Physics.BulletSPlugin.BSScene [BULLETS SCENE]: ProcessPostTaintTaints: BSLinksetCompound.ScheduleRebuild-1114667342: Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at OpenSim.Region.Physics.BulletSPlugin.BSAPIUnman.AddChildShapeToCompoundShape(BulletShape shape, BulletShape addShape, Vector3 pos, Quaternion rot) in k:\OSGRID\opensim-fc9930e\OpenSim\Region\Physics\BulletSPlugin\BSAPIUnman.cs:line 350
   at OpenSim.Region.Physics.BulletSPlugin.BSLinksetCompound.<>c__DisplayClass3.<RecomputeLinksetCompound>b__2(BSPrimLinkable cPrim) in k:\OSGRID\opensim-fc9930e\OpenSim\Region\Physics\BulletSPlugin\BSLinksetCompound.cs:line 377
   at OpenSim.Region.Physics.BulletSPlugin.BSLinkset.ForEachMember(ForEachMemberAction action) in k:\OSGRID\opensim-fc9930e\OpenSim\Region\Physics\BulletSPlugin\BSLinkset.cs:line 205
   at OpenSim.Region.Physics.BulletSPlugin.BSLinksetCompound.RecomputeLinksetCompound() in k:\OSGRID\opensim-fc9930e\OpenSim\Region\Physics\BulletSPlugin\BSLinksetCompound.cs:line 356
   at OpenSim.Region.Physics.BulletSPlugin.BSLinksetCompound.<ScheduleRebuild>b__0() in k:\OSGRID\opensim-fc9930e\OpenSim\Region\Physics\BulletSPlugin\BSLinksetCompound.cs:line 112
   at OpenSim.Region.Physics.BulletSPlugin.BSScene.ProcessPostTaintTaints() in k:\OSGRID\opensim-fc9930e\OpenSim\Region\Physics\BulletSPlugin\BSScene.cs:line 1034
(0025337)
aiaustin (developer)
2014-03-01 09:07

Still present in r/24394
(0029105)
aiaustin (developer)
2015-08-06 06:42
edited on: 2015-08-06 06:42

I wonder if this is a related error? I get it on starting up an OSGrid region which has quite a bit of mesh... using OSGrid version of Windows git master r/26128

14:36:21 - [BULLETS SCENE]: ProcessTaints: BSPrim.setGravityModifier: Exception:
 System.NullReferenceException: Object reference not set to an instance of an ob
ject.
   at OpenSim.Region.Physics.BulletSPlugin.BSPrim.UpdatePhysicalParameters() in
k:\OSGRID\opensim-c8cd2f1\OpenSim\Region\Physics\BulletSPlugin\BSPrim.cs:line 87
3
   at OpenSim.Region.Physics.BulletSPlugin.BSPrimLinkable.UpdatePhysicalParamete
rs() in k:\OSGRID\opensim-c8cd2f1\OpenSim\Region\Physics\BulletSPlugin\BSPrimLin
kable.cs:line 152
   at OpenSim.Region.Physics.BulletSPlugin.BSPrim.<set_GravModifier>b__25() in k
:\OSGRID\opensim-c8cd2f1\OpenSim\Region\Physics\BulletSPlugin\BSPrim.cs:line 734

   at OpenSim.Region.Physics.BulletSPlugin.BSScene.ProcessRegularTaints() in k:\
OSGRID\opensim-c8cd2f1\OpenSim\Region\Physics\BulletSPlugin\BSScene.cs:line 1108

(0029119)
Robert Adams (administrator)
2015-08-06 20:01

I just added some code to OpenSim/BulletSim to try and get around these exceptions. It looks like, during region initialization, that prim initialization can be interrupted partway through and then taints are processed on prims that are not all there.

See if these changes make things a little better.
(0029341)
aiaustin (developer)
2015-08-19 12:23

I have been watching for any repeat of the ProcessTaints messages in the last two weeks after 2 or 3 upgrades in Dev master... and I am not seeing them at present Robert.

- Issue History
Date Modified Username Field Change
2013-10-08 06:09 aiaustin New Issue
2013-10-08 06:09 aiaustin Git Revision or version number => r/23803
2013-10-10 08:43 aiaustin Note Added: 0024436
2013-10-10 08:43 aiaustin Description Updated View Revisions
2013-10-10 08:44 aiaustin Note Edited: 0024436 View Revisions
2013-10-18 09:24 Robert Adams Assigned To => Robert Adams
2013-10-18 09:24 Robert Adams Status new => assigned
2014-02-20 03:33 aiaustin Note Edited: 0024436 View Revisions
2014-02-20 03:34 aiaustin Note Added: 0025234
2014-03-01 09:07 aiaustin Note Added: 0025337
2015-08-06 06:42 aiaustin Note Added: 0029105
2015-08-06 06:42 aiaustin Note Edited: 0029105 View Revisions
2015-08-06 20:01 Robert Adams Note Added: 0029119
2015-08-19 12:23 aiaustin Note Added: 0029341


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker