Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007793opensim[REGION] OpenSim Corepublic2015-12-27 11:432015-12-27 15:08
Assigned ToRobert Adams 
PlatformPCOSWindowsOS VersionSeven
Product Version 
Target VersionFixed in Version 
Summary0007793: [BASE HTTP SERVER] System Invalid Operation Exception
DescriptionSometimes i get this red alert on my simulator console
(tested with OpenSim v0.8.x and 0.9.x)

20:26:58 - [BASE HTTP SERVER]: HandleRequest() threw exception System.InvalidOpe
rationException: La collection a été modifiée après l'instanciation de l'énuméra
à System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resourc
à System.Collections.Generic.SortedSet1.Enumerator.MoveNext() à System.Collections.Generic.SortedDictionary2.Enumerator.MoveNext()
à System.Collections.Generic.SortedDictionary`2.KeyCollection.Enumerator.Move
à OpenSim.Framework.Monitoring.StatsManager.GetStatsAsOSDMap(String pCategory
Name, String pContainerName, String pStatName) dans k:\OSGRID\opensim-43c8e23\Op
enSim\Framework\Monitoring\StatsManager.cs:ligne 265
à OpenSim.Framework.Monitoring.StatsManager.HandleStatsRequest(Hashtable requ
est) dans k:\OSGRID\opensim-43c8e23\OpenSim\Framework\Monitoring\StatsManager.cs
:ligne 312
à OpenSim.Framework.Servers.HttpServer.BaseHttpServer.HandleContentVerbs(OSHt
tpRequest request, OSHttpResponse response) dans k:\OSGRID\opensim-43c8e23\OpenS
im\Framework\Servers\HttpServer\BaseHttpServer.cs:ligne 1653
à OpenSim.Framework.Servers.HttpServer.BaseHttpServer.HandleHTTPRequest(OSHtt
pRequest request, OSHttpResponse response) dans k:\OSGRID\opensim-43c8e23\OpenSi
m\Framework\Servers\HttpServer\BaseHttpServer.cs:ligne 1555
à OpenSim.Framework.Servers.HttpServer.BaseHttpServer.HandleRequest(OSHttpReq
uest request, OSHttpResponse response) dans k:\OSGRID\opensim-43c8e23\OpenSim\Fr
amework\Servers\HttpServer\BaseHttpServer.cs:ligne 632
Steps To ReproduceJust refresh the "ManagedStats" page ...
( [^])
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineBulletSim
Script Engine
Environment.NET / Windows32
Mono VersionNone
ViewerFirestorm, Singularity
Attached Files

- Relationships

-  Notes
Robert Adams (administrator)
2015-12-27 15:08

This is an odd error as the data structure is not supposed to change while running but only at startup time. There must have been some dynamic stats added. In either case, I added locking around the data structure search and that should resolve the error. This doesn't happen in my test setup so test in your setup with the latest sources.

- Issue History
Date Modified Username Field Change
2015-12-27 11:43 djphil New Issue
2015-12-27 15:06 Robert Adams Assigned To => Robert Adams
2015-12-27 15:06 Robert Adams Status new => assigned
2015-12-27 15:08 Robert Adams Note Added: 0029892

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker