Page MenuHomeSchine - Phabricator

Starmade | factions.fac suddenly corrupts itself
Closed, FinishedPublic

Description

No unusual/unscheduled restarts, and server has been running on auto-pilot for about a week...factions.fac suddenly gets flagged as a corrupt file, and is replaced by an empty file.

Jun  3 07:03:38 stars SMPrd: EXCEPTION IN msg; array index: 3
Jun  3 07:03:38 stars SMPrd: EXCEPTION IN fp-v0; array index: 459982
Jun  3 07:03:38 stars SMPrd: EXCEPTION IN FN; array index: 292
Jun  3 07:03:38 stars SMPrd: EXCEPTION IN NStruct; array index: 5
Jun  3 07:03:38 stars SMPrd: EXCEPTION WHILE READING TAG factions-v2
Jun  3 07:03:38 stars SMPrd: java.io.EOFException
Jun  3 07:03:38 stars SMPrd: #011at java.io.DataInputStream.readFully(DataInputStream.java:197)
Jun  3 07:03:38 stars SMPrd: #011at java.io.DataInputStream.readUTF(DataInputStream.java:609)
Jun  3 07:03:38 stars SMPrd: #011at java.io.DataInputStream.readUTF(DataInputStream.java:564)
Jun  3 07:03:38 stars SMPrd: #011at obfuscated.aQh.a(SourceFile:638)
Jun  3 07:03:38 stars SMPrd: #011at obfuscated.aQh.a(SourceFile:700)
Jun  3 07:03:38 stars SMPrd: message repeated 3 times: [#011at obfuscated.aQh.a(SourceFile:700)]
Jun  3 07:03:38 stars SMPrd: #011at obfuscated.aQh.a(SourceFile:511)
Jun  3 07:03:38 stars SMPrd: #011at org.schema.game.server.controller.GameServerController.b(SourceFile:2488)
Jun  3 07:03:38 stars SMPrd: #011at org.schema.game.server.controller.GameServerController.a(SourceFile:2471)
Jun  3 07:03:38 stars SMPrd: #011at obfuscated.aiw.<init>(SourceFile:176)
Jun  3 07:03:38 stars SMPrd: #011at obfuscated.abx.<init>(SourceFile:196)
Jun  3 07:03:38 stars SMPrd: #011at org.schema.game.server.controller.GameServerController.initializeServerState(SourceFile:1695)
Jun  3 07:03:38 stars SMPrd: #011at org.schema.schine.network.server.ServerController.startServerAndListen(SourceFile:369)
Jun  3 07:03:38 stars SMPrd: #011at obfuscated.WL.run(SourceFile:1560)
Jun  3 07:03:38 stars SMPrd: #011at java.lang.Thread.run(Thread.java:745)
Jun  3 07:03:38 stars SMPrd: Exception: File corrupt! creating backup, and regenerating new sector please report this bug: FACTIONS.fac
Jun  3 07:03:39 stars SMPrd: [SERVER] NO FACTIONS FOUND ON DISK: FACTIONS; file: /opt/prodStarmade/StarMade/./server-database/world0/FACTIONS.fac; pathString: ./server-database/world0/FACTIONS.fac
~# ls -l /opt/prodStarmade/StarMade/server-database/world0/FACTIONS.*
-rw-r--r-- 1 root root   1403434 Jun  4 15:12 /opt/prodStarmade/StarMade/server-database/world0/FACTIONS.fac
-rw-r--r-- 1 root root 318095360 Jun  3 07:00 /opt/prodStarmade/StarMade/server-database/world0/FACTIONS.fac.corrupt

A copy of FACTIONS.fac.corrupt has been retained...it's an 11MB file (compressed), please let me know if you want that uploaded into phab.

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
Single and Multi
Reproducible
uncertain
Last tested (version)
0.199.646
Category
Engine
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Steps to reproduce

Ignore T1529 long enough...

Related Objects

Event Timeline

Factions.fac.corrupt is attached.

schema changed the task status from Open to Resolved.Jul 14 2017, 2:04 PM
Restricted Application removed a project: Issue Navigation. · View Herald TranscriptJul 14 2017, 2:04 PM
lancake shifted this object from the S1 Public space to the S3 Starmade space.Jul 18 2017, 9:23 AM
lancake changed the visibility from "Custom Policy" to "Public (No Login Required)".
lancake changed the edit policy from "Task Author" to "Starmade (Project)".
lancake changed Affected Gamemode(s) from none/unspecified to Single and Multi.
lancake set Last tested (version) to 0.199.646.
lancake changed Category from none/unspecified to Engine.
lancake changed the task status from Resolved to In Queue.
lancake changed the task status from In Queue to Resolved.
lancake claimed this task.
Restricted Application added projects: Quality Assurance, Engine. · View Herald TranscriptJul 18 2017, 9:24 AM
AndyP moved this task from Backlog / Unclassed to Data on the Engine board.Jul 20 2017, 11:09 PM
AndyP edited projects, added Engine (Data); removed Engine.
AndyP moved this task from Backlog / Unclassed to Alpha on the Engine (Data) board.
lancake closed this task as Closed.Jul 21 2017, 3:54 PM
Restricted Application removed a project: Quality Assurance. · View Herald TranscriptJul 21 2017, 3:54 PM
AndyP moved this task from Unclassed to Archived on the Starmade board.Jul 22 2017, 9:54 PM