Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007284opensim[REGION] Physics Enginespublic2014-07-29 11:532014-07-31 19:41
Reporterjustincc 
Assigned ToRobert Adams 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusassignedResolutionopen 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target Versionmaster (dev code)Fixed in Version 
Summary0007284: Exception in BulletSim on startup of simulator with two regions
DescriptionSimulator has two regions test and test2. At master commit fcf5fb5 the following exception was logged

18:29:55 - [SCENE]: Failed on region test2 with exception HashSet have been modified while it was iterated over at System.Collections.Generic.HashSet`1+Enumerator[OpenSim.Region.Physics.BulletSPlugin.BSPhysObject].CheckState () [0x00000] in <filename unknown>:0
  at System.Collections.Generic.HashSet`1+Enumerator[OpenSim.Region.Physics.BulletSPlugin.BSPhysObject].MoveNext () [0x00000] in <filename unknown>:0
  at OpenSim.Region.Physics.BulletSPlugin.BSScene.SendUpdatesToSimulator (Single timeStep) [0x00115] in /home/justincc/jc/it/v/virtual-environments/specific/second-life/servers/opensim/src/opensim-git/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs:739
  at OpenSim.Region.Physics.BulletSPlugin.BSScene.Simulate (Single timeStep) [0x00016] in /home/justincc/jc/it/v/virtual-environments/specific/second-life/servers/opensim/src/opensim-git/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs:571
  at OpenSim.Region.Framework.Scenes.SceneGraph.UpdatePhysics (Double elapsed) [0x00009] in /home/justincc/jc/it/v/virtual-environments/specific/second-life/servers/opensim/src/opensim-git/OpenSim/Region/Framework/Scenes/SceneGraph.cs:200
  at OpenSim.Region.Framework.Scenes.Scene.Update (Int32 frames) [0x00176] in /home/justincc/jc/it/v/virtual-environments/specific/second-life/servers/opensim/src/opensim-git/OpenSim/Region/Framework/Scenes/Scene.cs:1540

BulletSim is running in its own thread but with no other defaults changed.

Reporting and assigning as per request. Thanks!
Steps To ReproduceI haven't seen it again yet and hadn't seen it before reaching this commit. Naturally, I update quite often and do quite a few startups for other reasons.
TagsNo tags attached.
Git Revision or version number
Run Mode Standalone (Multiple Regions)
Physics EngineBulletSim
EnvironmentMono / Linux64
Mono Version3.2
ViewerSingularity 1.8.5
Attached Files

- Relationships

-  Notes
(0026652)
Robert Adams (administrator)
2014-07-31 19:41

I checked in a change that should fix this race condition. Please report if it is still happening.

- Issue History
Date Modified Username Field Change
2014-07-29 11:53 justincc New Issue
2014-07-29 11:53 justincc Status new => assigned
2014-07-29 11:53 justincc Assigned To => Robert Adams
2014-07-31 19:41 Robert Adams Note Added: 0026652


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker