Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008703opensim[GRID] Hypergridpublic2020-05-17 01:392020-05-17 02:30
Assigned To 
PrioritynormalSeverityminorReproducibilityunable to reproduce
PlatformLinuxOSUbuntuOS Version19.04
Product Version 
Target VersionFixed in Version 
Summary0008703: Instance validation error: 'AvatarBake' is not a valid value for global::OpenSim.Framework.AssetFlags
DescriptionI get this error on login or TP to this region:

10:14:42 - [SCENE PRESENCE]: Completing movement of Thomas Goetz into region DeepImpact in position <165.8049, 112.3593, 26.73951>
10:14:42 - [HG STATUS NOTIFIER]: Notifying 1 friends in [^]
10:14:43 - System.InvalidOperationException: There is an error in XML document (1, 168319). ---> System.InvalidOperationException: Instance validation error: 'AvatarBake' is not a valid value for global::OpenSim.Framework.AssetFlags.
  at System.Xml.Serialization.XmlCustomFormatter.ToEnum (System.String val, System.Collections.Hashtable vals, System.String typeName, System.Boolean validate) [0x0004f] in <73e5587edf02455fb97d815057ec46dd>:0
  at System.Xml.Serialization.XmlSerializationReader.ToEnum (System.String value, System.Collections.Hashtable h, System.String typeName) [0x00000] in <73e5587edf02455fb97d815057ec46dd>:0
  at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAssetBase.Read3_AssetFlags (System.String s) [0x00007] in <3862fa02f5b8437eaaa13709e4ac4078>:0
  at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAssetBase.Read4_AssetBase (System.Boolean isNullable, System.Boolean checkType) [0x004da] in <3862fa02f5b8437eaaa13709e4ac4078>:0
  at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAssetBase.Read5_AssetBase () [0x00050] in <3862fa02f5b8437eaaa13709e4ac4078>:0
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <a1ae6166591d4020b810288d19af38d4>:0
   --- End of inner exception stack trace ---
  at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.XmlReader xmlReader, System.String encodingStyle, System.Xml.Serialization.XmlDeserializationEvents events) [0x0011b] in <73e5587edf02455fb97d815057ec46dd>:0
  at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.XmlReader xmlReader, System.String encodingStyle) [0x00000] in <73e5587edf02455fb97d815057ec46dd>:0
  at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.XmlReader xmlReader) [0x00000] in <73e5587edf02455fb97d815057ec46dd>:0
  at OpenSim.Region.CoreModules.Avatar.BakedTextures.XBakesModule.Get (OpenMetaverse.UUID id) [0x000db] in /opt/opensim/DeepImpact/OpenSim/Region/CoreModules/Avatar/BakedTextures/XBakesModule.cs:139
  at OpenSim.Region.CoreModules.Avatar.AvatarFactory.AvatarFactoryModule.ValidateBakedTextureCache (OpenSim.Region.Framework.Interfaces.IScenePresence sp) [0x001bc] in /opt/opensim/DeepImpact/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs:592
10:14:43 - [LLUDPCLIENT]: limiting bc5ca947-c057-49f4-a9e3-fc2876b8d240 bandwith from 818909 to 384000

Do I have some issues in my config? Older commit (d1f1324a2dfc3036ec3914d86d85d859481a7e4d) does working with this without this error.

After I rebake in Singularity-Viewer I can't reproducing this error any more. It seem a cache issue in Singularity caused from older opensim-commit?
Additional Information> git pull
> git checkout -f 9ce52ed2fcd642e7804ff6f6005abc9f62203ddf
> ./
> xbuild
> do some basic configuration for HG
> start region
> login to this region
TagsNo tags attached.
Git Revision or version number9ce52ed2fcd642e7804ff6f6005abc9f62203ddf
Run Mode Grid (1 Region per Sim)
Physics EngineubODE
Script EngineXEngine
EnvironmentMono / Linux64
Mono VersionNone
ViewerSingularity 1.8.7 64 bit
Attached Filespng file icon AvatarBake_issue.PNG [^] (586,281 bytes) 2020-05-17 01:50

- Relationships

-  Notes
UbitUmarov (administrator)
2020-05-17 02:30

  No that was a issue crshed into when i tried to add a new flag to assets.
  Turns out that it is just not possible to do that bc the way those flags are serialized, requering the same version on encoder and decoder.

in case of baked textures, just rebake the affected avatars. The problematic assets will be replaced

- Issue History
Date Modified Username Field Change
2020-05-17 01:39 tglion New Issue
2020-05-17 01:51 tglion File Added: AvatarBake_issue.PNG
2020-05-17 02:12 tglion Reproducibility always => unable to reproduce
2020-05-17 02:12 tglion Description Updated View Revisions
2020-05-17 02:12 tglion Additional Information Updated View Revisions
2020-05-17 02:16 tglion Steps to Reproduce Updated View Revisions
2020-05-17 02:30 UbitUmarov Note Added: 0036480

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker