Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008060opensim[REGION] OpenSim Corepublic2016-11-18 16:192016-11-18 22:46
ReporterFerd Frederix 
Assigned To 
PrioritynormalSeveritymajorReproducibilitysometimes
StatusnewResolutionopen 
PlatformMicrosoft Windows 7 SP1 64-bit OSDiva DistroOS Version0.8.2.1 Release
Product Version 
Target VersionFixed in Version 
Summary0008060: Loaded OXP causes XML error on Windows 7, but not on almost identical Windows 7, or Windows 10
DescriptionLoaded this OXP-saved sculptie (attached) with Firestorm and a large sculpted rock appears. Take it to inventory and it will not longer rez.

Opensim generated bad XML sculpt with a doubled <UUID> tag. Identical code on another Windows 7 PC does not error. Downloaded the same identical Opensim code to a HP laptop, and two different Windows 10 boxes. Each time it rezzes perfectly well from inventory. But not on one Windows 7 machine.

It appears that (maybe) Dot Net differences in Windows on otherwise identical PC's can cause XML serialization to fail when saving assets to disk.

Note: Reporting this for another user.
Steps To ReproduceUser loaded the Outworldz Installer v 0.97 from "http://www.outworldz.com/outworldz_installer" [^] onto a Windows 7 PC. They load the attached OXP file. It will appear in-world. Take it to inventory, and it will not rez again.

You can repro the issue by running their opensim code on a Windows PC, as the database now has the bad UUID in it.

Download the file at https://dl.dropboxusercontent.com/u/31305726/DreamWorld097.rar [^]

(157 MB)

Extract it to any empty folder and run "start.exe"

Set the viewer Grid params to localhost:8002
Login with Dream World/123 or Wifi Admin/secret

The bad part is in inventory, named "oquille de roche pour skybox chwi fray 80x80x100"
You can load the same part as an OXP from the attachment here.
take or take a copy to inventory
rezz each one on land
look at console


Error message shows two <UUID> in a row (and two </UUID>).

Line 386: System.Xml.XmlException: Error parsing object coquille de roche pour skybox chwi fray 80x80x100 2320d9b6-9cf1-458c-b40e-aeb531110b0e
    
    Line 391: 2016-11-18 13:13:36,340 ERROR - OpenSim.Framework.Util [AGENT INVENTORY]: Failed XML (4076 bytes) = <SceneObjectGroup><RootPart><SceneObjectPart xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" [^] xmlns:xsd="http://www.w3.org/2001/XMLSchema"><AllowedDrop>false</AllowedDrop><CreatorID><UUID>774f3de4-a94f-4afc-b873-a46408bea48c</UUID></CreatorID><FolderID><UUID>2320d9b6-9cf1-458c-b40e-aeb531110b0e</UUID></FolderID><InventorySerial>0</InventorySerial><UUID><UUID>2320d9b6-9cf1-458c-b40e-aeb531110b0e</UUID></UUID><LocalId>2807493877</LocalId><Name>coquille [^] de roche pour skybox chwi fray 80x80x100</Name><Material>3</Material><PassTouches>false</PassTouches><PassCollisions>false</PassCollisions><RegionHandle>2571757697738240</RegionHandle><ScriptAccessPin>0</ScriptAccessPin><GroupPosition><X>114,6515</X><Y>123,0916</Y><Z>65,45967</Z></GroupPosition><OffsetPosition><X>0</X><Y>0</Y><Z>0</Z></OffsetPosition><RotationOffset><X>0,2088145</X><Y>0,6883692</Y><Z>0,6647426</Z><W>0,2016473</W></RotationOffs...

As an additional check, I exported the blob to disk from table assets, and extracted the XML from the 0xabcdef... text for the prim by converting each pair of chars to Hex and to a character chr(hex (0x12, 0x34, 0x56...)), which converted it to ASCII. A look at it agrees that there is a duplicated <UUID> tag:

<UUID><UUID>2320d9b6-9cf1-458c-b40e-aeb531110b0e</UUID></UUID>

With added CRLF and hand formatting in the dump from the db, you can more see the result, marked by HERE.

<SceneObjectGroup><RootPart>
<SceneObjectPart xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" [^] xmlns:xsd="http://www.w3.org/2001/XMLSchema"> [^]
<AllowedDrop>false</AllowedDrop>
<CreatorID>
    <UUID>774f3de4-a94f-4afc-b873-a46408bea48c</UUID>
</CreatorID>
<FolderID>
    <UUID>2320d9b6-9cf1-458c-b40e-aeb531110b0e</UUID>
</FolderID>
<InventorySerial>0</InventorySerial>
<UUID> <================== HERE
    <UUID>2320d9b6-9cf1-458c-b40e-aeb531110b0e</UUID>
</UUID> <================== HERE
<LocalId>2807493877</LocalId>
....

You may not be able to repro this. But there is certainly something odd about the XML writer in Opensim 8.2.1, as these machines are running the same version of Windows, and the same version of Opensim, yet only one fails in such an obvious way.
Additional InformationUsed two Windows 7 machines with identical opensim configs. One works, one fails.

PC with the rezz bug:
Firestorm 4.7.9 (50527) Aug 4 2016 11:59:10 (Firestorm-Releasex64) with OpenSimulator support
Release Notes

You are at 122.3, 143.7, 22.3 in Outworldz located at PC-PC (127.0.0.1:8004)
SLURL: hop://127.0.0.1:8002/Outworldz/122/144/22 [^]
(global coordinates 598,906.0, 370,320.0, 22.3)
OpenSim 0.8.2.1 Release (Win/.NET)
Retrieving...

CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz (3468.25 MHz)
Memory: 32706 MB
OS Version: Microsoft Windows 7 SP1 64-bit (Build 7601)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce GTX 780/PCIe/SSE2

Windows Graphics Driver Version: 10.18.0013.6869
OpenGL Version: 4.5.0 NVIDIA 368.69

RestrainedLove API: (disabled)
libcurl Version: libcurl/7.47.0 OpenSSL/1.0.1i zlib/1.2.8
J2C Decoder Version: KDU v7.8
Audio Driver Version: FMOD Ex 4.44.61
LLCEFLib/CEF Version: 1.5.3.FS6-(CEF-WIN-3.2526.1366.g8617e7c-32) (Chrome 47.0.2526.80)
Voice Server Version: Not Connected
Settings mode: Firestorm
Viewer Skin: Firestorm (Grey)
Font Used: Deja Vu (96 dpi)
Font Size Adjustment: 1 pt
UI Scaling: 1
Draw distance: 736 m
Bandwidth: 750 kbit/s
LOD factor: 4
Render quality: High (5/7)
Advanced Lighting Model: Yes
Texture memory: 1024 MB (1)
VFS (cache) creation time (UTC): 2016-11-16T9:19:7
Built with MSVC version 1800
Packets Lost: 0/1,122 (0.0%)


Laptop PC that works:

Firestorm 4.7.7 (48706) Mar 5 2016 00:13:45 (Firestorm-Releasex64) with OpenSimulator support
Release Notes

You are at 127.6, 145.2, 22.7 in Outworldz located at ASUS-PC (127.0.0.1:8004)
SLURL: hop://127.0.0.1:8002/Outworldz/128/145/23 [^]
(global coordinates 598,912.0, 370,321.0, 22.7)
OpenSim 0.8.2.1 Release (Win/.NET)
Error fetching server release notes URL.

CPU: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz (2195.06 MHz)
Memory: 12197 MB
OS Version: Microsoft Windows 7 SP1 64-bit (Build 7601)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce GT 540M/PCIe/SSE2

Windows Graphics Driver Version: 9.17.0010.4101
OpenGL Version: 4.5.0 NVIDIA 361.75

RestrainedLove API: (disabled)
libcurl Version: libcurl/7.38.0 OpenSSL/1.0.1i zlib/1.2.8
J2C Decoder Version: KDU v7.7.1
Audio Driver Version: (none)
LLCEFLib/CEF Version: 1.5.3.FS6-(CEF-WIN-3.2526.1366.g8617e7c-32) (Chrome 47.0.2526.80)
Voice Server Version: Not Connected
Settings mode: Firestorm
Viewer Skin: Firestorm (Grey)
Font Used: Deja Vu (96 dpi)
Font Size Adjustment: 0 pt
UI Scaling: 1
Draw distance: 128 m
Bandwidth: 650 kbit/s
LOD factor: 3.875
Render quality: Medium-High (4/7)
Advanced Lighting Model: No
Texture memory: 1024 MB (1)
VFS (cache) creation time (UTC): 2016-6-11T22:51:58
Built with MSVC version 1800
Packets Lost: 0/1,095 (0.0%)

Both machines have an ASUS motherboard.

Dot Net version of the laptop 4.5.2. I do not yet have the version of Dot Net for the failing PC.

TagsNo tags attached.
Git Revision or version numberdiva-r08210
Run ModeStandalone (1 Region)
Physics EngineBulletSim
Script Engine
Environment.NET / Windows64
Mono VersionNone
ViewerFrestorm
Attached Files? file icon coquille de roche pour skybox chwi fray 80x80x100.oxp [^] (230,711 bytes) 2016-11-18 16:19
txt file icon notes.txt [^] (12,979 bytes) 2016-11-18 16:25 [Show Content]

- Relationships

-  Notes
(0031290)
UbitUmarov (administrator)
2016-11-18 17:09

I did import your file with fs 4.7.9 without checking the upload option,
into top master dev 0.91 version region, windows 7 64b.
Several .net up to 4.6.1
it did rez fine in world (no texture)
taken copy and rez from inventory also worked.
went to sandbox plaza at osgrid, and also worked fine.

on this shape physics collisions don't match well the visual that well ( similar on the phys engines)
(0031291)
Ferd Frederix (reporter)
2016-11-18 22:46

Thank, you, Ubit. I filed it here as it is very odd that it does not work at all on this one machine. I doubt it will repro for anyone else, but if it does show up it is here to find some details.

- Issue History
Date Modified Username Field Change
2016-11-18 16:19 Ferd Frederix New Issue
2016-11-18 16:19 Ferd Frederix File Added: coquille de roche pour skybox chwi fray 80x80x100.oxp
2016-11-18 16:25 Ferd Frederix File Added: notes.txt
2016-11-18 17:09 UbitUmarov Note Added: 0031290
2016-11-18 22:46 Ferd Frederix Note Added: 0031291


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker