MantisBT - opensim
View Issue Details
0008703opensim[GRID] Hypergridpublic2020-05-17 01:392020-05-17 02:30
tglion 
 
normalminorunable to reproduce
newopen 
LinuxUbuntu19.04
 
 
9ce52ed2fcd642e7804ff6f6005abc9f62203ddf
Grid (1 Region per Sim)
ubODE
XEngine
Mono / Linux64
None
Singularity 1.8.7 64 bit
0008703: Instance validation error: 'AvatarBake' is not a valid value for global::OpenSim.Framework.AssetFlags
I 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 http://hg.osgrid.org:80/ [^]
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.

supplement:
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?
> git pull
> git checkout -f 9ce52ed2fcd642e7804ff6f6005abc9f62203ddf
> ./runprebuild.sh
> xbuild
> do some basic configuration for HG
> start region
> login to this region
No tags attached.
png AvatarBake_issue.PNG (586,281) 2020-05-17 01:50
http://opensimulator.org/mantis/file_download.php?file_id=4949&type=bug
Issue History
2020-05-17 01:39tglionNew Issue
2020-05-17 01:51tglionFile Added: AvatarBake_issue.PNG
2020-05-17 02:12tglionReproducibilityalways => unable to reproduce
2020-05-17 02:12tglionDescription Updatedbug_revision_view_page.php?rev_id=9043#r9043
2020-05-17 02:12tglionAdditional Information Updatedbug_revision_view_page.php?rev_id=9045#r9045
2020-05-17 02:16tglionSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9047#r9047
2020-05-17 02:30UbitUmarovNote Added: 0036480

Notes
(0036480)
UbitUmarov   
2020-05-17 02:30   
Hi
  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