MantisBT - opensim
View Issue Details
0005568opensim[REGION] OpenSim Corepublic2011-07-02 15:292011-10-21 19:17
Snoopy 
 
normalmajoralways
closedfixed 
master (dev code) 
 
698cd0b3c2b9827cfbb83df5c587b7740238a2bb
Grid (1 Region per Sim)
ODE
Mono / Linux64
2.10.2
0005568: Delegate for PrimsLoaded failed - continuing No codec available for format...
During region startup the following error message is shown:

[EVENT MANAGER]: Delegate for PrimsLoaded failed - continuing No codec available for format:b96b3cae-0728-11d3-9d7b-0000f81ef32e - at System.Drawing.Image.Save (System.IO.Stream stream, System.Drawing.Imaging.ImageFormat format) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Drawing.Image:Save (System.IO.Stream,System.Drawing.Imaging.ImageFormat)
  at OpenSim.Region.CoreModules.ServiceConnectorsOut.MapImage.MapImageServiceModule.UploadMapTile (IScene scene) [0x00000] in <filename unknown>:0
  at OpenSim.Region.CoreModules.ServiceConnectorsOut.MapImage.MapImageServiceModule.EventManager_OnPrimsLoaded (OpenSim.Region.Framework.Scenes.Scene s) [0x00000] in <filename unknown>:0
  at OpenSim.Region.Framework.Scenes.EventManager.TriggerPrimsLoaded (OpenSim.Region.Framework.Scenes.Scene s) [0x00000] in <filename unknown>:0

It looks like that the map tile using the JPEG format cannot be created. Are there are new dependencies on Linux machines?
No tags attached.
Issue History
2011-07-02 15:29SnoopyNew Issue
2011-07-02 15:29SnoopyGit Revision => 698cd0b3c2b9827cfbb83df5c587b7740238a2bb
2011-07-02 15:29SnoopyRun Mode => Grid (1 Region per Sim)
2011-07-02 15:29SnoopyPhysics Engine => ODE
2011-07-02 15:29SnoopyEnvironment => Mono / Linux64
2011-07-02 15:29SnoopyMono Version => 2.10.2
2011-07-02 15:36SnoopyNote Added: 0018748
2011-07-03 08:23SnoopyNote Added: 0018752
2011-07-03 08:24SnoopyNote Edited: 0018752
2011-07-03 15:40SnoopyNote Added: 0018753
2011-10-21 19:17justinccStatusnew => closed
2011-10-21 19:17justinccResolutionopen => fixed

Notes
(0018748)
Snoopy   
2011-07-02 15:36   
Creating data snapshots seems to cause region instabilities:

2011-07-02 15:10:02,008 WARN - OpenSim.Region.DataSnapshot.SnapshotStore [DATASNAPSHOT]: Exception on writing to file DataSnapshot/Dreamland_EstateSnapshot.xml: Sharing violation on path /home/opensim/opensim/run/L1/DataSnapshot/Dreamland_EstateSnapshot.xml
2011-07-02 15:10:02,008 INFO - OpenSim.Region.DataSnapshot.SnapshotStore [DATASNAPSHOT]: Generated fragment response for provider type EstateSnapshot
2011-07-02 15:10:02,015 WARN - OpenSim.Region.DataSnapshot.DataSnapshotManager [DATASNAPSHOT]: XmlException while trying to load snapshot: System.Xml.XmlException: Document element did not appear. file:///home/opensim/opensim/run/L1/DataSnapshot/Dreamland_EstateSnapshot.xml [^] Line 1, position 1.
  at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>:0
  at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>:0
  at Mono.Xml.EntityResolvingXmlReader.Read () [0x00000] in <filename unknown>:0
  at Mono.Xml.DTDValidatingReader.ReadContent () [0x00000] in <filename unknown>:0
  at Mono.Xml.DTDValidatingReader.Read () [0x00000] in <filename unknown>:0
  at Mono.Xml.Schema.XsdValidatingReader.Read () [0x00000] in <filename unknown>:0
  at System.Xml.XmlValidatingReader.Read () [0x00000] in <filename unknown>:0
  at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
  at System.Xml.XmlDocument.ReadNode (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
  at System.Xml.XmlDocument.Load (System.Xml.XmlReader xmlReader) [0x00000] in <filename unknown>:0
  at System.Xml.XmlDocument.Load (System.String filename) [0x00000] in <filename unknown>:0
  at OpenSim.Region.DataSnapshot.SnapshotStore.GetFragment (IDataSnapshotProvider provider, System.Xml.XmlDocument factory) [0x00000] in <filename unknown>:0
  at OpenSim.Region.DataSnapshot.SnapshotStore.GetScene (OpenSim.Region.Framework.Scenes.Scene scene, System.Xml.XmlDocument factory) [0x00000] in <filename unknown>:0
  at OpenSim.Region.DataSnapshot.DataSnapshotManager.GetSnapshot (System.String regionName) [0x00000] in <filename unknown>:0
2011-07-02 15:10:02,193 INFO - OpenSim.Region.DataSnapshot.SnapshotStore [DATASNAPSHOT]: Generated fragment response for provider type LandSnapshot
2011-07-02 15:10:02,199 INFO - OpenSim.Region.DataSnapshot.SnapshotStore [DATASNAPSHOT]: Generated fragment response for provider type ObjectSnapshot
2011-07-02 15:10:02,200 INFO - OpenSim.Region.DataSnapshot.SnapshotStore [DATASNAPSHOT]: Generated new snapshot for Dreamland
(0018752)
Snoopy   
2011-07-03 08:23   
(edited on: 2011-07-03 08:24)
The "no codec available" bug is a Mono bug in 2.10.2 and the 2.10.3 trunk version. I did test both versions. With Mono 2.8 this error message does not appear anymore.

But beside this problem there is another serious bug somewhere in the current trunk version. When you run OpenSim under Linux, you always suddenly see the processor load value increasing dramatically, up to value as high as 40. It always needs about 5 or 10 minutes until this effect starts, but I always experience it after such a delay.

As a consequence I see many timeouts in the OpenSim console and the whole server gets very slow. It looks like as if there is some serious thread handling problem causing these high load values.

(0018753)
Snoopy   
2011-07-03 15:40   
That problem was caused by a incompatible Mono libgdiplus library. There are two libgdiplus libraries with the name 2.10.2, but which are different. Only the libgdiplus 2.10.2 source code on the Mono ftp server works for me.