Page MenuHomeSchine - Phabricator

Starmade | Creating a fleet causes client crash
Closed, RejectedPublic

Description

When I try to create a fleet on our server, the client crashes with EOFException or SocketException.

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
Multiplayer
Reproducible
uncertain
Last tested (version)
0.199.172
Category
Fleets
First occurrence (version)
0.199.172
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Steps to reproduce

Open fleet menu
Create new fleet
Type a name
Client crashes with EOFException

or SocketException

Serverconfig (server.cfg)
<replace this line with the file content>
Clientconfig (settings.cfg)
<replace this line with the file content>

Event Timeline

Skorpjon created this task.Sep 3 2016, 2:18 PM
lancake added a subscriber: lancake.
lancake claimed this task.

-feedback-

Can you upload a log file of when that happened?
They're located in the starmade/logs folder, upload logstarmade.0.log after you've crashed/timed out.

Drag and drop the file into the comment section to upload it

lancake shifted this object from the S1 Public space to the S3 Starmade space.Sep 3 2016, 2:32 PM
lancake changed the visibility from "Custom Policy" to "Public (No Login Required)".
lancake changed the edit policy from "Task Author" to "Starmade (Project)".
lancake triaged this task as Normal priority.

I've added 2 client logfiles in "steps to reproduce" or do you need the one from the server?

We have more bugs like this on our server. At the moment it looks like as if the server becomes unplayable.

EOFException when inviting player to faction:
[2016-09-06 20:16:53] [CLIENT][POPUP] INFO: Invitation sent to Skorpjon_RKN.
[2016-09-06 20:16:53] [CLIENT][PlayerInput] successfully deactivated obfuscated.em@60094a13
[2016-09-06 20:16:53] [CLIENT] EOFConnection (last file size: 270; last packet timestamp: 1473185792986)
[2016-09-06 20:16:53] java.io.EOFException
[2016-09-06 20:16:53] at java.io.DataInputStream.readInt(Unknown Source)
[2016-09-06 20:16:53] at org.schema.schine.network.client.ClientProcessor.run(SourceFile:336)
[2016-09-06 20:16:53] at java.lang.Thread.run(Unknown Source)
[2016-09-06 20:16:53] [ClientProcessor] EXIT: Input Stream closed. Terminated Client Processor
[2016-09-06 20:16:53] [CLIENT] ClientSendingQueueThread Terminated
[2016-09-06 20:16:53] [CLIENT] PacketHandler Terminated
[2016-09-06 20:16:53] Client Socket connection has been closed
[2016-09-06 20:16:53] java.lang.Exception: Server created: false
[2016-09-06 20:16:53] at org.schema.schine.network.server.ServerState.setCreated(SourceFile:262)
[2016-09-06 20:16:53] at org.schema.schine.network.server.ServerState.clearStatic(SourceFile:56)
[2016-09-06 20:16:53] at obfuscated.S.run(SourceFile:149)
[2016-09-06 20:16:53] at java.lang.Thread.run(Unknown Source)
[2016-09-06 20:16:53] java.lang.Exception: Server Shutdown: false
[2016-09-06 20:16:53] at org.schema.schine.network.server.ServerState.setShutdown(SourceFile:254)
[2016-09-06 20:16:53] at org.schema.schine.network.server.ServerState.clearStatic(SourceFile:57)
[2016-09-06 20:16:53] at obfuscated.S.run(SourceFile:149)
[2016-09-06 20:16:53] at java.lang.Thread.run(Unknown Source)
[2016-09-06 20:16:53] #### LOADING RESOURCE CONFIG_GUI [2016-09-06 20:16:53] #### DONE IN 3 ms
[2016-09-06 20:16:53] [GLFRAME] Content has been loaded
[2016-09-06 20:16:57] [CLIENT][PlayerInput] successfully deactivated obfuscated.Qi@5aceec94
[2016-09-06 20:16:58] !!!! THIS DISPLAYS THE STACKTRACE OF A REGULAR GL FRAME EXIT
[2016-09-06 20:16:58] org.schema.schine.graphicsengine.core.FinishedFrameException
[2016-09-06 20:16:58] at obfuscated.azA.e(SourceFile:130)
[2016-09-06 20:16:58] at obfuscated.Qj.pressedOK(SourceFile:546)
[2016-09-06 20:16:58] at obfuscated.bG.callback(SourceFile:56)
[2016-09-06 20:16:58] at org.schema.schine.network.client.GUICallbackController.execute(SourceFile:64)
[2016-09-06 20:16:58] at obfuscated.aIW.a(SourceFile:198)
[2016-09-06 20:16:58] at obfuscated.R.a(SourceFile:212)
[2016-09-06 20:16:58] at obfuscated.Qb.a(SourceFile:149)
[2016-09-06 20:16:58] at obfuscated.azG.b(SourceFile:648)
[2016-09-06 20:16:58] at obfuscated.R.e(SourceFile:949)
[2016-09-06 20:16:58] at org.schema.game.common.Starter.startMainMenu(SourceFile:1406)
[2016-09-06 20:16:58] at org.schema.game.common.Starter.main(SourceFile:953)
[2016-09-06 20:16:58] [CLIENT][PlayerInput] successfully deactivated obfuscated.Qj@3a4b0e5d
[2016-09-06 20:16:58] [AUDIO] Cleaning up sound system
[2016-09-06 20:16:58] SoundSystem shutting down...
[2016-09-06 20:16:58] Author: Paul Lamb, www.paulscode.com

SocketException, when trying to delete a Blueprint:
[2016-09-06 20:22:50] [CLIENT][PlayerInput] successfully deactivated obfuscated.qm@5a85c92
[2016-09-06 20:22:50] java.net.SocketException: Connection reset
[2016-09-06 20:22:50] at java.net.SocketInputStream.read(Unknown Source)
[2016-09-06 20:22:50] at java.net.SocketInputStream.read(Unknown Source)
[2016-09-06 20:22:50] at java.net.SocketInputStream.read(Unknown Source)
[2016-09-06 20:22:50] at java.io.DataInputStream.readInt(Unknown Source)
[2016-09-06 20:22:50] at org.schema.schine.network.client.ClientProcessor.run(SourceFile:336)
[2016-09-06 20:22:50] at java.lang.Thread.run(Unknown Source)
[2016-09-06 20:22:50] [ClientProcessor] EXIT: Input Stream closed. Terminated Client Processor
[2016-09-06 20:22:50] [CLIENT] ClientSendingQueueThread Terminated
[2016-09-06 20:22:50] [CLIENT] PacketHandler Terminated
[2016-09-06 20:22:50] Client Socket connection has been closed
[2016-09-06 20:22:50] java.lang.Exception: Server created: false
[2016-09-06 20:22:50] at org.schema.schine.network.server.ServerState.setCreated(SourceFile:262)
[2016-09-06 20:22:50] at org.schema.schine.network.server.ServerState.clearStatic(SourceFile:56)
[2016-09-06 20:22:50] at obfuscated.S.run(SourceFile:149)
[2016-09-06 20:22:50] at java.lang.Thread.run(Unknown Source)
[2016-09-06 20:22:50] java.lang.Exception: Server Shutdown: false
[2016-09-06 20:22:50] at org.schema.schine.network.server.ServerState.setShutdown(SourceFile:254)
[2016-09-06 20:22:50] at org.schema.schine.network.server.ServerState.clearStatic(SourceFile:57)
[2016-09-06 20:22:50] at obfuscated.S.run(SourceFile:149)
[2016-09-06 20:22:50] at java.lang.Thread.run(Unknown Source)
[2016-09-06 20:22:50] #### LOADING RESOURCE CONFIG_GUI [2016-09-06 20:22:50] #### DONE IN 3 ms
[2016-09-06 20:22:50] [GLFRAME] Content has been loaded
[2016-09-06 20:22:53] [GUI] PRESSED OK ON ERROR
[2016-09-06 20:22:53] [CLIENT][PlayerInput] successfully deactivated obfuscated.Qi@2eced48b
[2016-09-06 20:22:55] !!!! THIS DISPLAYS THE STACKTRACE OF A REGULAR GL FRAME EXIT
[2016-09-06 20:22:55] org.schema.schine.graphicsengine.core.FinishedFrameException
[2016-09-06 20:22:55] at obfuscated.azA.e(SourceFile:130)
[2016-09-06 20:22:55] at obfuscated.Qt.callback(SourceFile:258)
[2016-09-06 20:22:55] at org.schema.schine.network.client.GUICallbackController.execute(SourceFile:64)
[2016-09-06 20:22:55] at obfuscated.aIW.a(SourceFile:198)
[2016-09-06 20:22:55] at obfuscated.R.a(SourceFile:212)
[2016-09-06 20:22:55] at obfuscated.Qb.a(SourceFile:149)
[2016-09-06 20:22:55] at obfuscated.azG.b(SourceFile:648)
[2016-09-06 20:22:55] at obfuscated.R.e(SourceFile:949)
[2016-09-06 20:22:55] at org.schema.game.common.Starter.startMainMenu(SourceFile:1406)
[2016-09-06 20:22:55] at org.schema.game.common.Starter.main(SourceFile:953)
[2016-09-06 20:22:55] [AUDIO] Cleaning up sound system
[2016-09-06 20:22:55] SoundSystem shutting down...
[2016-09-06 20:22:55] Author: Paul Lamb, www.paulscode.com

Some new informations. A server restart solves the problem for 2 oder 3 days. Normally our server only restarts only if there is a problem.

Thank you for the logs but I need them from the server itself.

These Socket and EOF exceptions are because the server has locked up and refuses anyone to join. By then the server is not responding which was caused by something else. You need to provide all the logs from the starmade server installation of that session. (The starmade.X.log files from the folder where your server is installed).

Sounds like your server runs out of memory at some point, most servers restart every 12-24 hours to prevent that from happening. I'll know when I can see those logs.

AndyP changed the task status from Open to Feedback.Feb 21 2017, 8:53 PM
Restricted Application added a project: Waiting on Author. · View Herald TranscriptFeb 21 2017, 8:53 PM
Restricted Application added a project: Waiting on Author. · View Herald TranscriptMar 10 2017, 5:43 PM
lancake closed this task as Rejected.Jun 12 2017, 1:59 PM

-rejected-

Can't do anything with the provided logs, server probably ran out of memory due to lack of restarts. Could have been a memory leak too but since this report is from a year ago, it can be closed.

Restricted Application edited projects, added Fleets; removed Waiting on Author, Issue Navigation. · View Herald TranscriptJun 12 2017, 1:59 PM
AndyP moved this task from Unclassed to Archived on the Starmade board.Jul 20 2017, 10:48 PM