View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001608SphereServerexecutable - genericpublic14-05-09 05:0402-11-14 15:23
Reporterumuri 
Assigned ToXuN 
PrioritynormalSeveritymajorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version0.56c Nightly 
Summary0001608: Worldsave Interrupts Forinstances with disasterous results
DescriptionWas running a forinstances script to do some item resets. Worldsave apparently started while it was running, which resulted in complete corruption of the worldfile.
Save runs a statics save as well as the world save.
For added kicks, after the save was finished spewing errors, if you did a show serv.name it kicked back the item the script was last processing.

resetfish
World statics save has been initiated.19:53:CRITICAL:(sphere_serv_triggers.scp,76)Error Pri=2, Code=-1073741819, Desc='Exception', in Write Object 040016d7e
ERROR:UID=040010832, id=07352 'carpet', Invalid code=ffff (Bad memory allocation)
ERROR:UID=040016d7e, id=07352 'carpet', Invalid code=ffff (Bad memory allocation)
ERROR:'spiderweb' Bad Link to 04374c900
ERROR:UID=04374c8f2, id=0ee3 'spiderweb', Invalid code=2205 (Mislinked item)
CRITICAL:Error Pri=2, Code=-1073741819, Desc='Exception', in FixObj
ERROR:GC: Object memory leak 614654!=615131
World save has been initiated.19:54:CRITICAL:Error Pri=2, Code=-1073741819, Desc='Exception', in Write Object 0b23f24
19:54:DEBUG:__ # | _____ function _____________ | ticks passed from previous function start ______

**TRUNCATED: pages of errors related to the script failing to run right

19:54:CRITICAL:Error Pri=2, Code=-1073741819, Desc='Exception', in CWorld::SaveStage() #0 ""
19:54:DEBUG:stage '3247' qty '47229' time '0'
resetfish
World statics save has been initiated.19:54:CRITICAL:(sphere_serv_triggers.scp,76)Error Pri=2, Code=-1073741819, Desc='Exception', in Statics Save FAILED.
TagsNo tags attached.
Nightly Version09-09-2008
Experimental FlagsNone
Option FlagsNone
Internal Build Number
Attached Filestxt file icon errorlog.txt [^] (233,638 bytes) 18-05-09 21:46 [Show Content]

- Relationships

-  Notes
(0000221)
MrSugarCube (administrator)
17-05-09 00:49

You've cut out the part of the log that has useful information on it. In addition to the rest of the log can you also please provide your worldsave settings and if possible a script that can reproduce this issue?

Also can you confirm that you have entered the correct nightly version (09-09-2008), since the only way i can currently see for this problem to occur is if you're using a build from before this date.

Thanks.
(0000224)
umuri (reporter)
18-05-09 21:52

Updated the log with the full upload.

from sphere.ini:

// Where your sphereworld.scp and spherechars.scp are located
WorldSave=save/

///////////////////////////////////////////////////////////////
//////// World Save Information
///////////////////////////////////////////////////////////////
// How often for Sphere to save your world (minutes)
SavePeriod=90

// How many backup levels to keep. Each level means 7 backups done for it.
// So, 10*7 = 70 backup saves will be storied.
BackupLevels=12

// On would save in the background quietly over a longer period of time, and not interrupt the game
// Off would notify "World save has been initiated" and save faster, but pause the game momentarily
SaveBackground=0

// Always force a full garbage collection on save
ForceGarbageCollect=1

from spheretriggers:
[FUNCTION f_onserver_save]
serv.savestatics

And i have confirmed that the version is 09-09-2008. Size 1901568.
(0002555)
XuN (developer)
02-11-14 15:23

Tested with a serv.save inside a forinstances loop and couldn't replicate.

- Issue History
Date Modified Username Field Change
14-05-09 05:04 umuri New Issue
14-05-09 05:04 umuri Nightly Version => 09-09-2008
14-05-09 05:04 umuri Experimental Flags => None
14-05-09 05:04 umuri Option Flags => None
17-05-09 00:49 MrSugarCube Note Added: 0000221
17-05-09 00:53 MrSugarCube Status new => feedback
18-05-09 21:46 umuri File Added: errorlog.txt
18-05-09 21:52 umuri Note Added: 0000224
02-11-14 15:23 XuN Note Added: 0002555
02-11-14 15:23 XuN Status feedback => closed
02-11-14 15:23 XuN Assigned To => XuN
02-11-14 15:23 XuN Resolution open => fixed
02-11-14 15:23 XuN Fixed in Version => 0.56c Nightly


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker