Jump to content

Crash on player join


TruePikachu
 Share

Recommended Posts

Some players on my server now seem to be crashing the server when they join, and I'm having no luck finding the source of the problem:

java.util.ConcurrentModificationException

at java.util.HashMap$HashIterator.nextEntry(Unknown Source)

at java.util.HashMap$KeyIterator.next(Unknown Source)

at ii.a(EntityTracker.java:237)

at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:692)

at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)

at bdz.q(IntegratedServer.java:170)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)

at fy.run(SourceFile:849)

Any thoughts/information?

Link to comment
Share on other sites

Just got another one of the crashes, same trace. Moving the player through the player.dat didn't fix anything, I'm just deleting them from NEI and the player list and going to give them what they had.

The spot they spawned in didn't have anything odd about it. It was also in mid-air on the second crash.

I currently believe that this crash happens after gravity is applied to the velocity, but before position is adjusted by velocity. I had zeroed the velocity, and there was a slight downward velocity in the player.dat.

Their inventory was entirely of Vanilla items, and I don't suspect inventory itself to be the cause of the problem. I backed up the player.dat before deleting it, and can report values from it on request.

A previous theory I had on the crash was that it was related to a player intersecting an object, but that doesn't seem to be the cause, as moving the player up into the air didn't fix it this time.

Link to comment
Share on other sites

Very interesting incident just happened, server was lagging a lot (I think from a combo of misplaced wrathlamps and water in a quarry requesting tons of chunk updates), and one of the regulars (who also tends to be the most frequent crasher) joined, server crashed. I set a ban on both them and everyone else who was on the server at the time (reason: no join ATM), and apparently they tried connecting (with the ban in place), and the server crashed, despite the ban.

I have absolutely no idea how the heck this could have happened. Any thoughts?

Link to comment
Share on other sites

  • 3 weeks later...

At last, it seems the problem is solved for now.

I (as in the server) was running an outdated version of Java. After updating it to the latest version, the issues stopped.

Likely of note is that the person who was just crashing the server had a newer version, so if someone has this problem, it might be from Java version, which is a solution I could not find.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...