Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004363opensim[REGION] OpenSim Corepublic2009-11-08 15:472011-08-14 20:19
Reporterjhurliman 
Assigned ToTeravus 
PrioritynormalSeveritycrashReproducibilitysometimes
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004363: Array.Copy() out of bounds in EventQueueGetModule.Enqueue()
Description12:52:30 - [APPLICATION]:
APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs

Exception: System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.

Server stack trace:
   at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
   at System.Collections.Generic.Queue`1.SetCapacity(Int32 capacity)
   at System.Collections.Generic.Queue`1.Enqueue(T item)
   at OpenSim.Region.CoreModules.Framework.EventQueue.EventQueueGetModule.Enqueue(OSD ev, UUID avatarID) in e:\opensim-scisim\OpenSim\Region\CoreModules\Framework\EventQueue\EventQueueGetModule.cs:line 178
   at OpenSim.Region.CoreModules.Framework.EventQueue.EventQueueGetModule.EstablishAgentCommunication(UUID avatarID, IPEndPoint endPoint, String capsPath) in e:\opensim-scisim\OpenSim\Region\CoreModules\Framework\EventQueue\EventQueueGetModule.cs:line 656
   at OpenSim.Region.Framework.Scenes.SceneCommunicationService.InformClientOfNeighbourAsync(ScenePresence avatar, AgentCircuitData a, GridRegion reg, IPEndPoint endPoint, Boolean newAgent) in e:\opensim-scisim\OpenSim\Region\Framework\Scenes\SceneCommunicationService.cs:line 377
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
   at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
   at OpenSim.Region.Framework.Scenes.SceneCommunicationService.InformClientOfNeighbourDelegate.EndInvoke(IAsyncResult result)
   at OpenSim.Region.Framework.Scenes.SceneCommunicationService.InformClientOfNeighbourCompleted(IAsyncResult iar) in e:\opensim-scisim\OpenSim\Region\Framework\Scenes\SceneCommunicationService.cs:line 329
   at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(IMessage msg)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
   at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()
   at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)
   at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
TagsNo tags attached.
Git Revision or version number0
Run Mode Grid (Multiple Regions per Sim)
Physics EngineODE
Script Engine
Environment.NET / Windows32
Mono VersionNone
Viewer
Attached Files

- Relationships

-  Notes
(0014257)
Teravus (administrator)
2009-11-25 23:25

This sounds like a locking issue.
(0019565)
makopoppo (manager)
2011-08-14 20:19

Reminder sent to: C L Phillips

integrating 0004373
---
Reporter C L Phillips
Summary 0004373: region server crashes on login
Description 2009-11-15 21:37:50,094 ERROR - OpenSim.Application [APPLICATION]:
APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs

Exception: System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.

Server stack trace:
   at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
   at System.Collections.Generic.Queue`1.SetCapacity(Int32 capacity)
   at System.Collections.Generic.Queue`1.Enqueue(T item)
   at OpenSim.Region.CoreModules.Framework.EventQueue.EventQueueGetModule.Enqueue(OSD ev, UUID avatarID) in d:\OSGRID\OSGRID RELEASES\11-14-2009.osgrid.opensim.release.96be5e5a8863e01ab53fd71cfceaa1a0ed3fce45\OpenSim\Region\CoreModules\Framework\EventQueue\EventQueueGetModule.cs:line 178
   at OpenSim.Region.CoreModules.Framework.EventQueue.EventQueueGetModule.EstablishAgentCommunication(UUID avatarID, IPEndPoint endPoint, String capsPath) in d:\OSGRID\OSGRID RELEASES\11-14-2009.osgrid.opensim.release.96be5e5a8863e01ab53fd71cfceaa1a0ed3fce45\OpenSim\Region\CoreModules\Framework\EventQueue\EventQueueGetModule.cs:line 656
   at OpenSim.Region.Framework.Scenes.SceneCommunicationService.InformClientOfNeighbourAsync(ScenePresence avatar, AgentCircuitData a, GridRegion reg, IPEndPoint endPoint, Boolean newAgent) in d:\OSGRID\OSGRID RELEASES\11-14-2009.osgrid.opensim.release.96be5e5a8863e01ab53fd71cfceaa1a0ed3fce45\OpenSim\Region\Framework\Scenes\SceneCommunicationService.cs:line 377
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
   at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
   at OpenSim.Region.Framework.Scenes.SceneCommunicationService.InformClientOfNeighbourDelegate.EndInvoke(IAsyncResult result)
   at OpenSim.Region.Framework.Scenes.SceneCommunicationService.InformClientOfNeighbourCompleted(IAsyncResult iar) in d:\OSGRID\OSGRID RELEASES\11-14-2009.osgrid.opensim.release.96be5e5a8863e01ab53fd71cfceaa1a0ed3fce45\OpenSim\Region\Framework\Scenes\SceneCommunicationService.cs:line 329
   at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(IMessage msg)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
   at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()
   at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)
   at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)

Application is terminating: True

2009-11-15 21:38:13,000 DEBUG - OpenSim.Framework.Watchdog [WATCHDOG]: Started tracking thread "Outgoing Packets (Thinkers Workshop)" (ID 32)
2009-11-15 21:38:13,000 ERROR - OpenSim.Region.Communications.OGS1.OGS1UserDataPlugin [OGS1 USER SERVICES]: Error when trying to fetch agent data by uuid from remote user server: System.Net.WebException: The request was aborted: The request was canceled.
   at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.IO.StreamReader.ReadBuffer(Char[] userBuffer, Int32 userOffset, Int32 desiredChars, Boolean& readToUserBuffer)
   at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)
   at System.Xml.XmlTextReaderImpl.ReadData()
   at System.Xml.XmlTextReaderImpl.InitTextReaderInput(String baseUriStr, TextReader input)
   at System.Xml.XmlTextReaderImpl..ctor(String url, TextReader input, XmlNameTable nt)
   at System.Xml.XmlTextReaderImpl..ctor(TextReader input)
   at System.Xml.XmlTextReader..ctor(TextReader input)
   at Nwc.XmlRpc.XmlRpcResponseDeserializer.Deserialize(TextReader xmlData)
   at Nwc.XmlRpc.XmlRpcRequest.Send(String url, Int32 timeout)
   at OpenSim.Region.Communications.OGS1.OGS1UserDataPlugin.GetAgentByUUID(UUID userId) in d:\OSGRID\OSGRID RELEASES\11-14-2009.osgrid.opensim.release.96be5e5a8863e01ab53fd71cfceaa1a0ed3fce45\OpenSim\Region\Communications\OGS1\OGS1UserDataPlugin.cs:line 115
2009-11-15 21:38:13,000 ERROR - OpenSim.OpenSim [WATCHDOG]: Timeout detected for thread "Outgoing Packets (Thinkers Workshop)". ThreadState=Running. Last tick was 22672ms ago
2009-11-15 21:38:13,219 DEBUG - OpenSim.Region.ClientStack.LindenUDP.LLUDPServer [LLUDPSERVER]: Handling UseCircuitCode packet from 120.17.128.70:2989
2009-11-15 21:38:13,219 DEBUG - OpenSim.Region.ClientStack.LindenUDP.LLUDPServer [LLUDPSERVER]: Handling UseCircuitCode packet from 120.17.128.70:2989
2009-11-15 21:38:13,219 DEBUG - OpenSim.Region.Framework.Scenes.Scene [Scene] Adding new agent Greybeard Thinker to scene Mermaid
2009-11-15 21:38:13,219 DEBUG - OpenSim.Region.Framework.Scenes.Scene [APPEARANCE]: Appearance not found in Mermaid, returning default
2009-11-15 21:38:13,219 DEBUG - OpenSim.Region.Framework.Scenes.Scene [Scene] Adding new agent Greybeard Thinker to scene Thinkers Workshop
2009-11-15 21:38:13,219 DEBUG - OpenSim.Region.Framework.Scenes.Scene [APPEARANCE]: Appearance not found in Thinkers Workshop, returning default
2009-11-15 21:38:13,235 DEBUG - OpenSim.Region.ClientStack.LindenUDP.LLUDPServer [LLUDPSERVER]: Handling UseCircuitCode packet from 120.17.128.70:2989
2009-11-15 21:38:13,235 DEBUG - OpenSim.Region.Framework.Scenes.Scene [Scene] Adding new agent Greybeard Thinker to scene Thinkers Dell
2009-11-15 21:38:13,235 DEBUG - OpenSim.Region.Framework.Scenes.Scene [APPEARANCE]: Appearance not found in Thinkers Dell, returning default
2009-11-15 21:38:31,391 ERROR - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: An error has occured while attempting to access the XmlRpcGroups server method: groups.getAgentActiveMembership
2009-11-15 21:38:31,391 ERROR - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: An error has occured while attempting to access the XmlRpcGroups server method: groups.getAgentActiveMembership
2009-11-15 21:38:31,391 ERROR - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: An error has occured while attempting to access the XmlRpcGroups server method: groups.getAgentActiveMembership
2009-11-15 21:38:31,391 DEBUG - OpenSim.Framework.Watchdog [WATCHDOG]: Started tracking thread "Outgoing Packets (Toar)" (ID 42)
2009-11-15 21:38:31,391 ERROR - OpenSim.OpenSim [WATCHDOG]: Timeout detected for thread "Outgoing Packets (Toar)". ThreadState=WaitSleepJoin. Last tick was 17906ms ago
2009-11-15 21:38:31,422 ERROR - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: System.Net.WebException: The operation has timed out
   at System.Net.HttpWebRequest.GetResponse()
   at Nwc.XmlRpc.XmlRpcRequest.Send(String url, Int32 timeout)
   at OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule.XmlRpcCall(GroupRequestID requestID, String function, Hashtable param) in d:\OSGRID\OSGRID RELEASES\11-14-2009.osgrid.opensim.release.96be5e5a8863e01ab53fd71cfceaa1a0ed3fce45\OpenSim\Region\OptionalModules\Avatar\XmlRpcGroups\XmlRpcGroupsServicesConnectorModule.cs:line 865
2009-11-15 21:38:31,422 ERROR - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]:
2009-11-15 21:38:31,422 WARN - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: RequestingAgentUserService ::
2009-11-15 21:38:31,422 WARN - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: RequestingSessionID :: 00000000-0000-0000-0000-000000000000
2009-11-15 21:38:31,422 ERROR - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: System.Net.WebException: The operation has timed out
   at System.Net.HttpWebRequest.GetResponse()
   at Nwc.XmlRpc.XmlRpcRequest.Send(String url, Int32 timeout)
   at OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule.XmlRpcCall(GroupRequestID requestID, String function, Hashtable param) in d:\OSGRID\OSGRID RELEASES\11-14-2009.osgrid.opensim.release.96be5e5a8863e01ab53fd71cfceaa1a0ed3fce45\OpenSim\Region\OptionalModules\Avatar\XmlRpcGroups\XmlRpcGroupsServicesConnectorModule.cs:line 865
2009-11-15 21:38:31,422 WARN - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: RequestingAgentID :: 00000000-0000-0000-0000-000000000000
2009-11-15 21:38:31,422 WARN - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: AgentID :: 78554799-b431-41dd-9075-b8793e6ae13b
2009-11-15 21:38:31,422 ERROR - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: System.Net.WebException: The operation has timed out
   at System.Net.HttpWebRequest.GetRequestStream()
   at Nwc.XmlRpc.XmlRpcRequest.Send(String url, Int32 timeout)
   at OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule.XmlRpcCall(GroupRequestID requestID, String function, Hashtable param) in d:\OSGRID\OSGRID RELEASES\11-14-2009.osgrid.opensim.release.96be5e5a8863e01ab53fd71cfceaa1a0ed3fce45\OpenSim\Region\OptionalModules\Avatar\XmlRpcGroups\XmlRpcGroupsServicesConnectorModule.cs:line 865
2009-11-15 21:38:31,422 ERROR - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]:
2009-11-15 21:38:31,438 WARN - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: RequestingAgentUserService ::
2009-11-15 21:38:31,438 WARN - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: RequestingSessionID :: 00000000-0000-0000-0000-000000000000
2009-11-15 21:38:31,438 WARN - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: RequestingAgentID :: 00000000-0000-0000-0000-000000000000
2009-11-15 21:38:31,438 WARN - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: AgentID :: 78554799-b431-41dd-9075-b8793e6ae13b
2009-11-15 21:38:31,438 WARN - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: WriteKey :: 1234
2009-11-15 21:38:31,422 WARN - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: WriteKey :: 1234
2009-11-15 21:38:31,438 WARN - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: ReadKey :: 1234
2009-11-15 21:38:31,422 ERROR - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]:
2009-11-15 21:38:31,438 WARN - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: ReadKey :: 1234
2009-11-15 21:38:31,438 WARN - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: RequestingAgentUserService ::
2009-11-15 21:38:31,438 WARN - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: RequestingSessionID :: 00000000-0000-0000-0000-000000000000
2009-11-15 21:38:31,438 WARN - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: RequestingAgentID :: 00000000-0000-0000-0000-000000000000
2009-11-15 21:38:31,438 WARN - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: AgentID :: 78554799-b431-41dd-9075-b8793e6ae13b
2009-11-15 21:38:31,453 WARN - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: WriteKey :: 1234
2009-11-15 21:38:31,453 WARN - OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups.XmlRpcGroupsServicesConnectorModule [XMLRPCGROUPDATA]: ReadKey :: 1234
Additional Information simulator running less than 1 hour on latest OSGrid build by Nebadon Izumi.
unsit from scripted object will teleport Av out of region by -150mtrs plus and approximately 50mtrs altitude.
Seems to be multiple problems occuring.

- Issue History
Date Modified Username Field Change
2009-11-08 15:47 jhurliman New Issue
2009-11-08 15:47 jhurliman Git Revision => 0
2009-11-08 15:47 jhurliman SVN Revision => 0
2009-11-08 15:47 jhurliman Run Mode => Grid (Multiple Regions per Sim)
2009-11-08 15:47 jhurliman Physics Engine => ODE
2009-11-08 15:47 jhurliman Environment => .NET / Windows32
2009-11-08 15:47 jhurliman Mono Version => None
2009-11-08 15:48 jhurliman Status new => assigned
2009-11-08 15:48 jhurliman Assigned To => Teravus
2009-11-25 23:25 Teravus Note Added: 0014257
2011-08-14 20:19 makopoppo Note Added: 0019565


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker