Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003256opensim[REGION] Scripting Enginepublic2009-03-04 14:492012-09-08 10:05
Assigned To 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003256: Getting "Error Loading Script Instance" and thread aborted exception when rezing a large number of scripted objects
DescriptionI have a scripted item that attempts to spawn 324 scripted objects. Roughly 75% of the time, part way through rezzing the objects, the exception listed below is thrown after rezzing one of the objects. The object is rezzed completed, however it's script is not running. The script that was rezzing the objects also stops.

Additional Information17:44:02 - [Script] Error loading script instance
System.Threading.ThreadAbortException: Thread was being aborted

Server stack trace:
  at (wrapper managed-to-native) object:__icall_wrapper_mono_thread_interruption_checkpoint ()
  at (wrapper managed-to-native) System.Type:internal_from_name (string,bool,bool)
  at System.Type.GetType (System.String typeName) [0x00000]
  at System.Runtime.Remoting.ObjRef.get_ServerType () [0x00000]
  at System.Runtime.Remoting.RemotingServices.Unmarshal (System.Runtime.Remoting.ObjRef objectRef, Boolean fRefine) [0x00000]
  at System.Runtime.Remoting.RemotingServices.Unmarshal (System.Runtime.Remoting.ObjRef objectRef) [0x00000]
  at System.Runtime.Remoting.ObjRef.GetRealObject (StreamingContext context) [0x00000]
  at System.Runtime.Serialization.ObjectRecord.LoadData (System.Runtime.Serialization.ObjectManager manager, ISurrogateSelector selector, StreamingContext context) [0x00000]
  at System.Runtime.Serialization.ObjectManager.DoFixups () [0x00000]
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject (System.IO.BinaryReader reader) [0x00000]
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph (System.IO.BinaryReader reader, Boolean readHeaders, System.Object& result, System.Runtime.Remoting.Messaging.Header[]& headers) [0x00000]
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000]
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream) [0x00000]
  at System.Runtime.Remoting.RemotingServices.DeserializeCallData (System.Byte[] array) [0x00000]
  at (wrapper xdomain-dispatch) OpenSim.Region.ScriptEngine.Shared.ScriptBase.ScriptBaseClass:InitApi (object,byte[]&,byte[]&,string)

Exception rethrown at [0]:

  at (wrapper xdomain-invoke) OpenSim.Region.ScriptEngine.Shared.ScriptBase.ScriptBaseClass:InitApi (string,OpenSim.Region.ScriptEngine.Interfaces.IScriptApi)
  at OpenSim.Region.ScriptEngine.Shared.Instance.ScriptInstance..ctor (IScriptEngine engine, OpenSim.Region.Framework.Scenes.SceneObjectPart part, UUID itemID, UUID assetID, System.String assembly, System.AppDomain dom, System.String primName, System.String scriptName, Int32 startParam, Boolean postOnRez, StateSource stateSource, Int32 maxScriptQueue) [0x00000]
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)
Physics EngineODE
Script Engine
EnvironmentMono / Linux32
Mono VersionOther
Attached Files

- Relationships

-  Notes
SignpostMarv (reporter)
2012-09-08 10:05

Does the complexity of the scripts affect this bug?

- Issue History
Date Modified Username Field Change
2009-03-04 14:49 mcortez New Issue
2009-03-04 14:49 mcortez SVN Revision =>
2009-03-04 14:49 mcortez Run Mode => Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)
2009-03-04 14:49 mcortez Physics Engine => ODE
2009-03-04 14:49 mcortez Environment => Mono / Linux32
2009-03-04 14:49 mcortez Mono Version => Other
2012-09-08 10:05 SignpostMarv Note Added: 0022552

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker