Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001771 [opensim] [GRID] User Server minor always 2008-07-18 01:11 2008-07-18 07:42
Reporter Ursula Matova View Status public  
Assigned To DrScofield
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0001771: UserServer Exceptions when logging ( Base Http Server related )
Description Here is the exception I have on the User Server Console ( Grid mode ).
This happens when I login :

10:02:14 - [BASE HTTP SERVER]: HandleRequest() threw System.FormatException: Unknown char: .
  at System.Double.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00000]
  at System.Double.Parse (System.String s) [0x00000]
  at System.Convert.ToDouble (System.String value) [0x00000]
  at OpenSim.Framework.AvatarAppearance..ctor (System.Collections.Hashtable h) [0x00000]
  at OpenSim.Grid.UserServer.UserManager.XmlRPCUpdateAvatarAppearance (Nwc.XmlRpc.XmlRpcRequest request) [0x00000]
  at OpenSim.Framework.Servers.BaseHttpServer.HandleXmlRpcRequests (OpenSim.Framework.Servers.OSHttpRequest request, OpenSim.Framework.Servers.OSHttpResponse response) [0x00000]
  at OpenSim.Framework.Servers.BaseHttpServer.HandleRequest (System.Object stateinfo) [0x00000]

User# :

User# :
10:03:01 - [BASE HTTP SERVER]: HandleRequest() threw System.FormatException: Unknown char: .
  at System.Double.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00000]
  at System.Double.Parse (System.String s) [0x00000]
  at System.Convert.ToDouble (System.String value) [0x00000]
  at OpenSim.Framework.AvatarAppearance..ctor (System.Collections.Hashtable h) [0x00000]
  at OpenSim.Grid.UserServer.UserManager.XmlRPCUpdateAvatarAppearance (Nwc.XmlRpc.XmlRpcRequest request) [0x00000]
  at OpenSim.Framework.Servers.BaseHttpServer.HandleXmlRpcRequests (OpenSim.Framework.Servers.OSHttpRequest request, OpenSim.Framework.Servers.OSHttpResponse response) [0x00000]
  at OpenSim.Framework.Servers.BaseHttpServer.HandleRequest (System.Object stateinfo) [0x00000]


And when I logout :

10:06:32 - [LOGOUT]: Error in Logout XMLRPC Params
Additional Information This happens in SVN.5486 and occurs in SVN.5528

Tags No tags attached.
Git Revision
SVN Revision 5528
Run Mode Grid (Multiple Regions per Sim)
Physics Engine ODE
Environment Mono / Linux32
Mono Version None
Attached Files ? file icon opensim-temp.patch [^] (1,237 bytes) 2008-07-18 03:16
? file icon opensim-culture.patch [^] (609 bytes) 2008-07-18 07:09

- Relationships
related to 0001748closedDrScofield Logout process doesn't update the agent status in "agent" mysql table 

-  Notes
(0003847)
DrScofield (manager)
2008-07-18 01:28

could you try and reproduce with "mono --debug"? that usually helps a lot in tracking it down. thx!
(0003848)
Ursula Matova (reporter)
2008-07-18 01:45

Sure, sorry I always forgot that debug option for mono :S

Here are the console output for the User Server :

User# :
10:43:42 - [LOGIN BEGIN]: Received login request message from user Test User
10:43:42 - [LOGIN]: Client is Second Life Release 1.19.1.4, start location is last
10:43:42 - [LOGIN]: Contacting inventory service at http://127.0.0.1:8004/ [^] for inventory skeleton of user 63a6100a-52f9-4e15-ae30-a9cb28ad9732
10:43:42 - [LOGIN]: Sending new CAPS seed url http://192.168.4.99:9000/CAPS/4c735f96-c379-485e-a34f-a62618670000/ [^] to client 63a6100a-52f9-4e15-ae30-a9cb28ad9732
10:43:42 - [LOGIN]: Telling region [KlinT World 20] @ 1003,1002 (http://192.168.4.99:9000/) [^] to expect user connection
10:43:42 - [LOGIN END]: Authentication of user Test User successful. Sending response to client.
10:43:48 - [BASE HTTP SERVER]: HandleRequest() threw System.FormatException: Unknown char: .
  at System.Double.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00016] in /root/WORK/mono-1.9.1/mcs/class/corlib/System/Double.cs:214
  at System.Double.Parse (System.String s) [0x00000] in /root/WORK/mono-1.9.1/mcs/class/corlib/System/Double.cs:182
  at System.Convert.ToDouble (System.String value) [0x00010] in /root/WORK/mono-1.9.1/mcs/class/corlib/System/Convert.cs:979
  at OpenSim.Framework.AvatarAppearance..ctor (System.Collections.Hashtable h) [0x0008a] in /data/opensim.5528/OpenSim/Framework/AvatarAppearance.cs:373
  at OpenSim.Grid.UserServer.UserManager.XmlRPCUpdateAvatarAppearance (Nwc.XmlRpc.XmlRpcRequest request) [0x0002a] in /data/opensim.5528/OpenSim/Grid/UserServer/UserManager.cs:340
  at OpenSim.Framework.Servers.BaseHttpServer.HandleXmlRpcRequests (OpenSim.Framework.Servers.OSHttpRequest request, OpenSim.Framework.Servers.OSHttpResponse response) [0x0007a] in /data/opensim.5528/OpenSim/Framework/Servers/BaseHttpServer.cs:382
  at OpenSim.Framework.Servers.BaseHttpServer.HandleRequest (System.Object stateinfo) [0x001c8] in /data/opensim.5528/OpenSim/Framework/Servers/BaseHttpServer.cs:248

User# :
10:44:16 - [BASE HTTP SERVER]: HandleRequest() threw System.FormatException: Unknown char: .
  at System.Double.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00016] in /root/WORK/mono-1.9.1/mcs/class/corlib/System/Double.cs:214
  at System.Double.Parse (System.String s) [0x00000] in /root/WORK/mono-1.9.1/mcs/class/corlib/System/Double.cs:182
  at System.Convert.ToDouble (System.String value) [0x00010] in /root/WORK/mono-1.9.1/mcs/class/corlib/System/Convert.cs:979
  at OpenSim.Framework.AvatarAppearance..ctor (System.Collections.Hashtable h) [0x0008a] in /data/opensim.5528/OpenSim/Framework/AvatarAppearance.cs:373
  at OpenSim.Grid.UserServer.UserManager.XmlRPCUpdateAvatarAppearance (Nwc.XmlRpc.XmlRpcRequest request) [0x0002a] in /data/opensim.5528/OpenSim/Grid/UserServer/UserManager.cs:340
  at OpenSim.Framework.Servers.BaseHttpServer.HandleXmlRpcRequests (OpenSim.Framework.Servers.OSHttpRequest request, OpenSim.Framework.Servers.OSHttpResponse response) [0x0007a] in /data/opensim.5528/OpenSim/Framework/Servers/BaseHttpServer.cs:382
  at OpenSim.Framework.Servers.BaseHttpServer.HandleRequest (System.Object stateinfo) [0x001c8] in /data/opensim.5528/OpenSim/Framework/Servers/BaseHttpServer.cs:248

User# :

Nothing noticed on other Servers consoles.

Now, the logout phase :

10:45:04 - [LOGOUT]: Error in Logout XMLRPC Params

Regards,
Ursula.
(0003850)
DrScofield (manager)
2008-07-18 03:18

hmm...can't reproduce that here at all :-( i've just created a clean grid setup here to test (r5529) and i can log in and log out to my hearts content.

the only thing we could try, is that you apply the attached test patch to find out what avatar_height really looks like and retry with that applied. here i get the following log output for user server:

12:15:01 - [LOGIN END]: Authentication of user dr scofield successful. Sending response to client.
12:15:03 - [AvatarAppearance]: avatar_height 2.382957
(0003854)
Ursula Matova (reporter)
2008-07-18 05:45

Patch applied ...
Here is the result ( UserServer Output ) :

User# :
14:42:40 - [LOGIN BEGIN]: Received login request message from user Test User
14:42:40 - [LOGIN]: Client is Second Life Release 1.19.1.4, start location is last
14:42:40 - [LOGIN]: Contacting inventory service at http://127.0.0.1:8004/ [^] for inventory skeleton of user 4b9308e7-d0db-4104-a461-1fe02593b599
14:42:41 - [LOGIN]: Sending new CAPS seed url http://192.168.4.99:9000/CAPS/578557e5-a097-4093-ba8d-54b0b5450000/ [^] to client 4b9308e7-d0db-4104-a461-1fe02593b599
14:42:41 - [LOGIN]: Telling region [KlinT World 28] @ 1004,1004 (http://192.168.4.99:9000/) [^] to expect user connection
14:42:41 - [LOGIN END]: Authentication of user Test User successful. Sending response to client.
14:42:44 - [AvatarAppearance]: avatar_height 2.460458
14:42:44 - [BASE HTTP SERVER]: HandleRequest() threw System.FormatException: Unknown char: .
  at System.Double.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00016] in /root/WORK/mono-1.9.1/mcs/class/corlib/System/Double.cs:214
  at System.Double.Parse (System.String s) [0x00000] in /root/WORK/mono-1.9.1/mcs/class/corlib/System/Double.cs:182
  at System.Convert.ToDouble (System.String value) [0x00010] in /root/WORK/mono-1.9.1/mcs/class/corlib/System/Convert.cs:979
  at OpenSim.Framework.AvatarAppearance..ctor (System.Collections.Hashtable h) [0x000a9] in /data/opensim.5528/OpenSim/Framework/AvatarAppearance.cs:377
  at OpenSim.Grid.UserServer.UserManager.XmlRPCUpdateAvatarAppearance (Nwc.XmlRpc.XmlRpcRequest request) [0x0002a] in /data/opensim.5528/OpenSim/Grid/UserServer/UserManager.cs:340
  at OpenSim.Framework.Servers.BaseHttpServer.HandleXmlRpcRequests (OpenSim.Framework.Servers.OSHttpRequest request, OpenSim.Framework.Servers.OSHttpResponse response) [0x0007a] in /data/opensim.5528/OpenSim/Framework/Servers/BaseHttpServer.cs:382
  at OpenSim.Framework.Servers.BaseHttpServer.HandleRequest (System.Object stateinfo) [0x001c8] in /data/opensim.5528/OpenSim/Framework/Servers/BaseHttpServer.cs:248
14:43:32 - [AvatarAppearance]: avatar_height 2.460458
14:43:32 - [BASE HTTP SERVER]: HandleRequest() threw System.FormatException: Unknown char: .
  at System.Double.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00016] in /root/WORK/mono-1.9.1/mcs/class/corlib/System/Double.cs:214
  at System.Double.Parse (System.String s) [0x00000] in /root/WORK/mono-1.9.1/mcs/class/corlib/System/Double.cs:182
  at System.Convert.ToDouble (System.String value) [0x00010] in /root/WORK/mono-1.9.1/mcs/class/corlib/System/Convert.cs:979
  at OpenSim.Framework.AvatarAppearance..ctor (System.Collections.Hashtable h) [0x000a9] in /data/opensim.5528/OpenSim/Framework/AvatarAppearance.cs:377
  at OpenSim.Grid.UserServer.UserManager.XmlRPCUpdateAvatarAppearance (Nwc.XmlRpc.XmlRpcRequest request) [0x0002a] in /data/opensim.5528/OpenSim/Grid/UserServer/UserManager.cs:340
  at OpenSim.Framework.Servers.BaseHttpServer.HandleXmlRpcRequests (OpenSim.Framework.Servers.OSHttpRequest request, OpenSim.Framework.Servers.OSHttpResponse response) [0x0007a] in /data/opensim.5528/OpenSim/Framework/Servers/BaseHttpServer.cs:382
  at OpenSim.Framework.Servers.BaseHttpServer.HandleRequest (System.Object stateinfo) [0x001c8] in /data/opensim.5528/OpenSim/Framework/Servers/BaseHttpServer.cs:248

:S

I have already tested with a brand new database ... In case of ...
Same result in any case ... That's so strange :S

Do you need my OpenSim.ini for investigate, in case of I missed some options ?

Regards.
Ursula.
(0003856)
DrScofield (manager)
2008-07-18 07:09

no, i don't think your OpenSim.ini is to blame. what really baffles me is that avatar_height 2.460458 looks perfectly fine. though...hmm...could be a culture thing, that would explain the "unexpected ." message.

could you try the attached patch? it should force the Culture to en-US in BaseHttpServer.HandleRequest().
(0003857)
Ursula Matova (reporter)
2008-07-18 07:22

Arghhhhhhhh YES : Much Better :D No more exception ...
Here is the UserServer console output :

User# :
16:21:01 - [LOGIN BEGIN]: Received login request message from user Test User
16:21:01 - [LOGIN]: Client is Second Life Release 1.19.1.4, start location is last
16:21:01 - [ASSUMED CRASH]: Telling region [KlinT World 20] @ 1003,1002 (http://192.168.4.99:9000/) [^] that their agent is dead: Test User
16:21:01 - [LOGIN END]: Notifying user Test User that they are already logged in
16:21:05 - [LOGIN BEGIN]: Received login request message from user Test User
16:21:05 - [LOGIN]: Client is Second Life Release 1.19.1.4, start location is last
16:21:06 - [LOGIN]: Contacting inventory service at http://127.0.0.1:8004/ [^] for inventory skeleton of user 4b9308e7-d0db-4104-a461-1fe02593b599
16:21:06 - [LOGIN]: Sending new CAPS seed url http://192.168.4.99:9000/CAPS/115fbca6-c72f-439d-9ef4-7aa2d0a20000/ [^] to client 4b9308e7-d0db-4104-a461-1fe02593b599
16:21:06 - [LOGIN]: Telling region [KlinT World 20] @ 1003,1002 (http://192.168.4.99:9000/) [^] to expect user connection
16:21:06 - [LOGIN END]: Authentication of user Test User successful. Sending response to client.
16:21:12 - [AvatarAppearance]: avatar_height 2.460458

User# :
16:21:38 - [AvatarAppearance]: avatar_height 2.460458

Thanks a lot,
Regards,
Ursula.
(0003858)
Ursula Matova (reporter)
2008-07-18 07:24

The Logout process seems to be ok now, ( Solve Mantis 0001748 ).
Everything seems to be back to normal now.

Except that appareance is broken but that's another subject.

Thanks again.
(0003860)
DrScofield (manager)
2008-07-18 07:32

so, this solves this one and mantis 1748?
(0003861)
Ursula Matova (reporter)
2008-07-18 07:34
edited on: 2008-07-18 07:34

Yes, your second patch solves Mantis 0001771 & Mantis 0001748

:P

But maybe we need feedback from windows users to see if it doesn't brake anything :)

(0003862)
DrScofield (manager)
2008-07-18 07:42

closing this bug, subversion 5537 contains the Culture.SetCulture() fix.

- Issue History
Date Modified Username Field Change
2008-07-18 01:11 Ursula Matova New Issue
2008-07-18 01:11 Ursula Matova SVN Revision => 5528
2008-07-18 01:11 Ursula Matova Run Mode => Grid (Multiple Regions per Sim)
2008-07-18 01:11 Ursula Matova Physics Engine => ODE
2008-07-18 01:11 Ursula Matova Environment => Mono / Linux32
2008-07-18 01:28 DrScofield Status new => assigned
2008-07-18 01:28 DrScofield Assigned To => DrScofield
2008-07-18 01:28 DrScofield Note Added: 0003847
2008-07-18 01:28 DrScofield Status assigned => feedback
2008-07-18 01:45 Ursula Matova Note Added: 0003848
2008-07-18 03:16 DrScofield File Added: opensim-temp.patch
2008-07-18 03:18 DrScofield Note Added: 0003850
2008-07-18 05:45 Ursula Matova Note Added: 0003854
2008-07-18 07:09 DrScofield Note Added: 0003856
2008-07-18 07:09 DrScofield File Added: opensim-culture.patch
2008-07-18 07:22 Ursula Matova Note Added: 0003857
2008-07-18 07:24 Ursula Matova Note Added: 0003858
2008-07-18 07:32 DrScofield Note Added: 0003860
2008-07-18 07:34 Ursula Matova Note Added: 0003861
2008-07-18 07:34 Ursula Matova Note Edited: 0003861
2008-07-18 07:42 DrScofield Status feedback => resolved
2008-07-18 07:42 DrScofield Fixed in Version => SVN
2008-07-18 07:42 DrScofield Resolution open => fixed
2008-07-18 07:42 DrScofield Note Added: 0003862
2008-07-18 07:42 DrScofield Status resolved => closed
2008-07-18 07:42 DrScofield Relationship added related to 0001748


Mantis 1.1.1[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker