[MC-91] java.net.SocketException: Socket closed - On Server Shutdown Created: 24/Oct/12  Updated: 09/Feb/13  Resolved: 09/Dec/12

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2
Fix Version/s: None

Type: Bug
Reporter: Joseph DeArmond Assignee: Unassigned
Resolution: Duplicate Votes: 2
Labels: server
Environment:

Server 1:
DISTRO - Windows 7 x64
CPU - Intel Core 2 Quad Q6660 @ 2.4GHz
RAM - 8GB
Latest Java 7 Update 9
Minecraft Server 1.4.2pre

---------------------------------------------------------

Server 2:
DISTRO - Icon CentOS release 6.3 (Final)
KERNEL - 2.6.32-279.5.2.el6.x86_64 (SMP) x86_64
CPU - Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
RAM - 2GB
SWAP - 4GB
Latest Java 7 Update 9
Minecraft Server 1.4.2pre


Attachments: Text File mc_java_issue.txt    
Issue Links:
Duplicate
duplicates MC-2670 Java SocketException on shutdown Resolved
CHK:
Confirmation Status: Unconfirmed

 Description   

This error occurs on shutdown (stop) on both Windows and CentOS linux vanilla Minecraft servers. I have noticed it since the 1.4 pre-release. It causes no issues to game play obviously since it only occurs on shutdown.

I am including my start up scripts, command line outputs and server.logs in a single file as an attachment.

Reinstalling Java did not correct the issue on either system.



 Comments   
Comment by Tails [ 25/Nov/12 ]

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Comment by Matthew Salsamendi [ 25/Oct/12 ]

This will happen if the port is closed without sending the clients a disconnect packet first. This isn't really a bug and can occur naturally if the server isn't shut down fully.

Comment by [Mod] Ezekiel (ezfe) [ 24/Oct/12 ]

Ok, just checking.

Comment by Joseph DeArmond [ 24/Oct/12 ]

Yes. This occurs when typing stop on both the linux server and windows server as I said above. From within the game and from console.

Comment by [Mod] Ezekiel (ezfe) [ 24/Oct/12 ]

So when you type /stop does this happen? if your not typing /stop, then its not a bug.

Generated at Sun Jan 12 11:49:47 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.