SphereServer BugTracker - SphereServer
View Issue Details
0001880SphereServerexecutable - linux buildpublic30-12-10 01:4311-06-14 01:50
Mirravin 
Ben 
normalmajoralways
closednot fixable 
 
 
Automated (specify build number)
None
None
1384
0001880: Sphere corrupts last saves when sphere process is killed by system.
1st(main) save - corrupted.
2nd save - corrupted (for example, spheredata file is complitely empty).
3rd save - yes, only the 3rd save is normal.
So, when you, for example, close terminal, you can loss server data about relatively long period of time.
Issue also may be connected with Issue:
http://tracker.sphere.torfo.org/bugs/view.php?id=1788 [^]
1) Start sphere.
2) Close terminal.
3) Restart server.
No tags attached.
Issue History
30-12-10 01:43MirravinNew Issue
30-12-10 01:48MirravinNote Added: 0000809
30-12-10 01:49MirravinNote Edited: 0000809bug_revision_view_page.php?bugnote_id=0000809#r82
30-12-10 19:19MirravinNote Added: 0000810
11-02-11 09:08trinaxNote Added: 0000902
11-02-11 12:28MirravinNote Added: 0000904
18-04-11 00:54MirravinNote Added: 0001036
18-04-11 00:57MirravinNote Edited: 0001036bug_revision_view_page.php?bugnote_id=0001036#r269
11-06-14 01:50BenNote Added: 0002283
11-06-14 01:50BenStatusnew => closed
11-06-14 01:50BenAssigned To => Ben
11-06-14 01:50BenResolutionopen => not fixable

Notes
(0000809)
Mirravin   
30-12-10 01:48   
(edited on: 30-12-10 01:49)
SavePeriod=30

BackupLevels=100

SaveBackground=0

EF_NETWORKOUTTHREAD ON

(0000810)
Mirravin   
30-12-10 19:19   
Logs:

02:10:World data saved (save/sphereworld.scp).
02:10:Player data saved (save/spherechars.scp).
02:10:Multi data saved (save/spheremultis.scp).
02:10:Context data saved (save/spheredata.scp).
02:10:World save completed, took 0.0000 seconds
02:10:FATAL:Segmentation fault
02:10:FATAL:Error Pri=1, Code=11, Desc='Segmentation fault', in CWorld::SaveStage() #0 ""
02:10:DEBUG:stage '-2147471360' qty '12288' time '250289206'
02:10:DEBUG:80:Client being closed by read-thread
02:10:DEBUG:7e:Client being closed by read-thread
02:10:FATAL:Server terminated by error 1!
(0000902)
trinax   
11-02-11 09:08   
Also this looks related ->
http://tracker.sphere.torfo.org/bugs/view.php?id=1788 [^]
(0000904)
Mirravin   
11-02-11 12:28   
This link is in the description of the issue, trinax. :)
(0001036)
Mirravin   
18-04-11 00:54   
(edited on: 18-04-11 00:57)
With build #1419 there are no differences from original report(error in logs in the note 2).
With build #1443 there NO ANY INFORMATION IN LOGS, but in game we see save exception:
World save has been initiated.
World save has been initiated.
World save in 10 seconds
(SERVER OFF)
This error corrupts last world saves, as this is writen in the report.

(0002283)
Ben   
11-06-14 01:50   
This can't be fixed.
Can't prevent a program from being killed by the system...