Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008213opensim[REGION] Scripting Enginepublic2017-07-24 15:382021-11-13 18:13
ReporterGwyneth Llewelyn 
Assigned ToGwyneth Llewelyn 
PrioritynormalSeveritymajorReproducibilityhave not tried
StatusresolvedResolutionunable to reproduce 
PlatformPCOperating SystemUbuntuOperating System Version16.0.4 LTS
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0008213: [SCRIPT INSTANCE] drops exception for http_response ("two instances of IObjectReference that have a mutual dependency")
DescriptionA bunch of different scripts, all of them doing external http calls, give the same exception:

22:12:01 - [SCRIPT INSTANCE]: Runtime error in script Register Agent.lsl (event http_response), part Bot Controller - Joe Databot 8f00a574-032b-47cb-b325-2bc6318a46f8 at <77, 121, 23.01511> in JeffBush1 System.Runtime.Serialization.SerializationException: The object with ID 5 implements the IObjectReference interface for which all dependencies cannot be resolved. The likely cause is two instances of IObjectReference that have a mutual dependency on each other.

Server stack trace:
  at System.Runtime.Serialization.ObjectManager.GetCompletionInfo (System.Runtime.Serialization.FixupHolder fixup, System.Runtime.Serialization.ObjectHolder& holder, System.Object& member, Boolean bThrowIfMissing) <0x43d2d9a0 + 0x0033f> in <filename unknown>:0
  at System.Runtime.Serialization.ObjectManager.CompleteObject (System.Runtime.Serialization.ObjectHolder holder, Boolean bObjectFullyComplete) <0x43d2cf50 + 0x0034d> in <filename unknown>:0
  at System.Runtime.Serialization.ObjectManager.DoFixups () <0x43d3a4e0 + 0x002b1> in <filename unknown>:0
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize (System.Runtime.Remoting.Messaging.HeaderHandler handler, System.Runtime.Serialization.Formatters.Binary.__BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) <0x43d23ce0 + 0x000ef> in <filename unknown>:0
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) <0x43d22930 + 0x001c4> in <filename unknown>:0
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler, Boolean fCheck, IMethodCallMessage methodCallMessage) <0x43d228e0 + 0x00035> in <filename unknown>:0
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler, Boolean fCheck) <0x43d228a0 + 0x0002b> in <filename unknown>:0
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler) <0x43d22860 + 0x00023> in <filename unknown>:0
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream) <0x43d22830 + 0x0001b> in <filename unknown>:0
  at System.Runtime.Remoting.RemotingServices.DeserializeCallData (System.Byte[] array) <0x43d47b10 + 0x0007d> in <filename unknown>:0
  at (wrapper xdomain-dispatch) OpenSim.Region.ScriptEngine.Shared.ScriptBase.ScriptBaseClass:ExecuteEvent (object,byte[]&,byte[]&,string,string)

Exception rethrown at [0]:

  at (wrapper xdomain-invoke) OpenSim.Region.ScriptEngine.Shared.ScriptBase.ScriptBaseClass:ExecuteEvent (string,string,object[])
  at OpenSim.Region.ScriptEngine.Shared.Instance.ScriptInstance.EventProcessorInt () <0x4212b000 + 0x00f52> in <filename unknown>:0

Steps To ReproduceThis is a tough one. It seems to happen only in scripts that also register sensors or use llCastRay(). I tried to create a minimal script which will exhibit this symptom, but it's not obvious what exactly triggers it.

Note that the last version before this one had no problem whatsoever.
Additional InformationNote: Mono version used is 4.2.1 (Debian 4.2.1.102+dfsg2-7ubuntu4)
OpenSimulator compiled with the usual git pull;nant clean;./run-prebuild.sh;nant
Tagsexception, http_response, script
Git Revision or version number0.9.0-1609-g6bf96f83c5
Run Mode Grid (Multiple Regions per Sim)
Physics EngineBulletSim
Script Engine
EnvironmentMono / Linux64
Mono Version6.x
ViewerFirestorm OSX 5.0.7.52912
Attached Files

- Relationships

-  Notes
(0038224)
Gwyneth Llewelyn (reporter)
2021-11-13 18:13

I never saw this issue again, so I'm closing this 4-year-old report assuming that 'something' (or 'someone') has fixed it.

Note that I'm still having issues with outgoing HTTP calls, but *this* specific issue has never popped up again on the logs.

- Issue History
Date Modified Username Field Change
2017-07-24 15:38 Gwyneth Llewelyn New Issue
2017-07-24 15:39 Gwyneth Llewelyn Steps to Reproduce Updated View Revisions
2017-07-24 15:41 Gwyneth Llewelyn Tag Attached: exception
2017-07-24 15:41 Gwyneth Llewelyn Tag Attached: script
2017-07-24 15:41 Gwyneth Llewelyn Tag Attached: http_response
2021-11-13 18:13 Gwyneth Llewelyn Mono Version Other => 6.x
2021-11-13 18:13 Gwyneth Llewelyn Note Added: 0038224
2021-11-13 18:13 Gwyneth Llewelyn Status new => resolved
2021-11-13 18:13 Gwyneth Llewelyn Resolution open => unable to reproduce
2021-11-13 18:13 Gwyneth Llewelyn Assigned To => Gwyneth Llewelyn


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker