mojira.dev
MC-4061

Entity Mass Spawning near chunk error

In SMP, there are certain chunks that suddenly duplicate/spawn in entities like animals. One case we had 2000 sheep split into 5 chunks (right by each other). A different case we have unknown entities that showed a count of 5000. This is causing huge amount of FPS drop. And in the worst case scenario server crashes.

I do not know how you can re-create this.

Linked issues

MC-362 Skeleton and Spiders spawn everywhere. Resolved MC-2131 Stepping into an unloaded chunk is SSP seems to corrupt the file Resolved MC-2293 Sudden population explosion of mobs Resolved MC-4310 Infinite sheep Resolved MC-4955 Villagers multiplying to unreasonable numbers Resolved

Attachments

Comments 50

What server version ?

Alex Thomassen

It's running the normal minecraft server version that you can get from Minecraft.net, if that's what you mean.

Yes, thanks.

Alex Thomassen

To add to this, after further investigation, it seems to only happen with sheep. The 5000 entities are actually 5000 sheep. How this happened, is this unknown.

Aha! I knew I've seen a couple other reports like this on the tracker! MC-362 and MC-2293 are both the same problem, but without enough information, so they were marked as "Cannot Reproduce" and "Incomplete". However, MC-2131 is still open, and describes the same problem.

40 more comments

Attaching region files separately since they are totally over 10 MB. Will upload the rest of the world from Saves after.
World name is Pumpkin Pie, or PumpkinPies in the UI.

The final 2 region files from the corrupted Pumpkin Pie world (see my comment).

Here's the rest of the save, just copy the region files I uploaded previously back to the region folder.
This world was working fine, then I noticed some lag and walked (in the game) around a hill to find a huge bunch of sheep and chickens had spawned. I quit and saved and now I can't play the world due to the lag and lack of chunks. It also takes a very long time for the world to open and the nearby chunks to appear...pressure plates don't work and it's pretty much unplayable. This has happened twice with this world (once in the original and again after I loaded a back up from a previous day).
I tried running region-fixer.py on it but it didn't help. Same result with MCEdit's region repair command.

Region-fixer reports a chunk in the wrong location, but no other problems:

Welcome to Region Fixer!
(version: 0.1.3)

############################################################
##############  Scanning world: PumpkinPies  ###############
############################################################

Scanning directory...
There are 11 region files in the world directory.

-------------------- Checking level.dat --------------------
'level.dat' is readable

------------------ Checking player files -------------------
Info: No player files to scan.

------------------ Scanning the Overworld ------------------
Scanning: 11 / 11 100% [###########################################################################################################################] Time: 00:00:29

Chunk problems:
-------------------------------------------------------------------
| Problem | Corrupted  Wrong l.  Etities  Shared o.  Total chunks |
-------------------------------------------------------------------
| Counts  |     0         1         1         0          4938     |
-------------------------------------------------------------------

Region problems:
No problems found.

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. If this has been done, we can reopen the issue.

Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. It will be reopened as soon as the requested information has been delivered.

Alex Thomassen

(Unassigned)

Confirmed

crash, mob, multiplayer, server, smp, spawning

Minecraft 1.4.5, Minecraft 1.4.7, Snapshot 13w05b, Snapshot 13w06a, Minecraft 1.5, ..., Minecraft 1.6.2, Minecraft 1.7.2, Minecraft 1.7.4, Minecraft 1.7.7, Minecraft 1.7.9

Minecraft 1.8.1-pre1

Retrieved