Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006244opensim[GRID] Other Servicepublic2012-08-23 12:272012-08-27 16:27
Reporterkcozens 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0006244: Red text is seen during shutdown of Standalone
DescriptionWhen I shutdown my standalone instance of OpenSimulator I see two lots of red text prior to the shut down of the program. One bit of red text appears right away, then another bit right before it completes the shut down.
Steps To ReproduceStartup OpenSim. After it finishes loading, type 'shut' on the console.
Additional InformationI have added a text file with an extract of what I on the console after I typed the shutdown command.
TagsNo tags attached.
Git Revision or version numbera7608826b9b10d7d204da2e2a822297f4c792865
Run Mode Standalone (Multiple Regions)
Physics EngineODE
Script Engine
EnvironmentMono / Linux32
Mono Version2.10
Viewer
Attached Filestxt file icon red-text-on-shutdown.txt [^] (6,048 bytes) 2012-08-23 12:27 [Show Content]
txt file icon red-text-on-shutdown2.txt [^] (29,018 bytes) 2012-08-24 19:14 [Show Content]

- Relationships

-  Notes
(0022426)
justincc (administrator)
2012-08-23 15:17

From looking at a533db7e279d533a6858a194fef5d913553c1bf9, these are problems serializing a list with nulls in, though scripts should never have nulls in their lists.

If you are able to update to git master, I have made a change at aede42b to log the details of the script that has this problem and to make it carry on with saving the other script states. This change should also be in 0.7.4-rc2

Is this just happening with this script or do you see it in other situations? What happens if you manually clear the state before restarting (you can do this by removing specific .state files in bin/ScriptEngines/<region-uuid>/ - I believe the uuids correspond to item IDs though it would be hard to pick the correct one without aede42b.
(0022452)
kcozens (administrator)
2012-08-24 20:37

I don't feel like retyping all I just typed but lost because of some token error message from mantis. I'll type a shorter summary.

I updated to latest git master and retested. I saw more red text as the updated code reports on all scripts with issues. The problem went away after I removed the state files. Comparing a saved bad state file to the new I saw "<Variable type="um.ventName+" name="CONTROLLER_ID". The "type" string is not a valid entry from LSL_Types. It is curious that the exception is only triggered on save but not when the state file is loaded.

This report can be closed as my problem has been fixed. I won't close it in case someone feels like investigating further why the exceptions don't happen on load or wants to change the code to catch the exception.
(0022468)
justincc (administrator)
2012-08-27 16:27

I'm more interested in keeping this open to track the fact that state can occasionally become corrupted in this manner. I suspect this is due to some bug in OpenSimulator though it is occurring much before these exceptions are being generated.

- Issue History
Date Modified Username Field Change
2012-08-23 12:27 kcozens New Issue
2012-08-23 12:27 kcozens File Added: red-text-on-shutdown.txt
2012-08-23 15:17 justincc Note Added: 0022426
2012-08-24 19:14 kcozens File Added: red-text-on-shutdown2.txt
2012-08-24 20:37 kcozens Note Added: 0022452
2012-08-27 16:27 justincc Note Added: 0022468


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker