Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008542opensim[GRID] Robust Serverpublic2019-06-09 10:312019-12-03 10:23
ReporterXitano 
Assigned To 
PrioritynormalSeverityblockReproducibilityalways
StatusnewResolutionopen 
Platformx64OSWindowsOS Version1903
Product Version0.9.0.1 
Target VersionFixed in Version 
Summary0008542: Login Attempt: HandleRequest() threw exception System.FormatException:
DescriptionGRID ERROR:
HandleRequest() threw exception System.FormatException: A cadeia de caracteres de entrada não estava em um formato correto.
   em System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
   em OpenMetaverse.Vector3.Parse(String val)
   em OpenSim.Server.Handlers.Simulation.AgentHandler.DoQueryAccess(Hashtable request, Hashtable responsedata, UUID agentID, UUID regionID)
   em OpenSim.Server.Handlers.Simulation.AgentHandler.Handler(Hashtable request)
   em OpenSim.Framework.Servers.HttpServer.BaseHttpServer.HandleContentVerbs(OSHttpRequest request, OSHttpResponse response)
   em OpenSim.Framework.Servers.HttpServer.BaseHttpServer.HandleHTTPRequest(OSHttpRequest request, OSHttpResponse response)
   em OpenSim.Framework.Servers.HttpServer.BaseHttpServer.HandleRequest(OSHttpRequest request, OSHttpResponse response)

Robust ERROR:
14:23:35 - [LLOGIN SERVICE]: Login failed for Xitano OdnuM, reason:
R.O.B.U.S.T.#
Steps To ReproduceTrying Login
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (1 Region per Sim)
Physics EngineubODE
Script Engine
EnvironmentUnknown
Mono VersionNone
Viewer
Attached Files

- Relationships

-  Notes
(0035528)
UbitUmarov (administrator)
2019-07-31 14:26

was this on windows with .net4.8 ?
(0035921)
Ferd Frederix (reporter)
2019-12-03 10:23

Educated guess: Since this is the only vector3 in in AgentHandlers.cs, DoQueryAccess it is line 132:

position = Vector3.Parse(tmpOSD.AsString());

Since the language that Xitano is using is Portugese, floats under Culture rules are formatted 0,123. The position vector could have been sent using a comma for decimal points somewhere else. In this case the Vector3.Parse(tmpOSD.AsString()) which could be a TryParse, will throw this fatal error.

Maybe, possibly, track down where the vector comes from and store it as Culture Invariant.

Is it possible the 'floats as commas' the reason Culture.SetCurrentCulture(); is in effect here, so it will convert them correctly? Not sure.

- Issue History
Date Modified Username Field Change
2019-06-09 10:31 Xitano New Issue
2019-07-31 14:26 UbitUmarov Note Added: 0035528
2019-12-03 10:23 Ferd Frederix Note Added: 0035921


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker