[MC-11515] Crash - Exception ticking world -> Entity is already tracked! Created: 10/Mar/13  Updated: 06/May/15  Resolved: 19/Mar/13

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

Type: Bug
Reporter: Steve Wohlwend Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: crash
Environment:

The following appears to be accurate:

Minecraft Version: 1.4.7
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_07, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 74684656 bytes (71 MB) / 531628032 bytes (507 MB) up to 954466304 bytes (910 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
AABB Pool Size: 11093 (621208 bytes; 0 MB) allocated, 2 (112 bytes; 0 MB) used
Suspicious classes: No suspicious classes found.
IntCache: cache: 0, tcache: 0, allocated: 1, tallocated: 63
Profiler Position: N/A (disabled)
Vec3 Pool Size: 5499 (307944 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Player Count: 1 / 8; [iq['theothersteve7'/343, l='Beehive', x=147.62, y=224.00, z=18.10]]
Type: Integrated Server (map_client.txt)
Is Modded: Probably not. [Confirming, not modded.] Jar signature remains and both client + server brands are untouched.


Attachments: Text File crash-2013-03-08_21.55.52-server.txt     Text File crash-2013-03-08_23.32.11-server.txt     Text File crash-2013-03-09_17.24.52-server.txt     Text File crash-2013-03-10_14.52.09-server.txt    
Issue Links:
Duplicate
duplicates MC-502 IllegalStateException::Entity is alre... Resolved
Confirmation Status: Unconfirmed
Game Mode: Survival

 Description   

Crash has occurred four times in two days, and only at high (>200) Y-values. I am trying to build an iron golem farm. Upon crash all of my data is saved and I do not lose progress. I seem to be unable to find a duplicate issue or workaround for this.

I have not entered The End yet; that issue is unrelated to mine though the error message is similar.

Thanks for reading. Good luck.



 Comments   
Comment by Tails [ 19/Mar/13 ]

All crashes with "java.lang.IllegalStateException: Entity is already tracked!"
are collected in MC-502.

Comment by Kumasasa [ 12/Mar/13 ]

I think the fluctuating entities are the mob spawning / despawning.
Hostile mobs despawn if you're 128 blocks away, the mob number falls below the mob cap number, new mobs spawn, despawn, spawn...

Create a default flatworld, fly up at day over 128 -> no fluctuating entities, fly up at night -> "Goes up and down really fast"

Comment by Kumasasa [ 12/Mar/13 ]

Yes, seeing the fluctuating entities.

The count is steady while on ground and starts freaking out at around height 180.

@A.N.: Well, thanks for answering the first half of

What means frantically fluctuates in numbers ?

Comment by Steve Wohlwend [ 11/Mar/13 ]

Alright, still can't reproduce it in either 1.5 or 1.4.7. Frustrating. I've duplicated my activities from last night pretty closely and it's not happening.

The entity count bounces between 40 and 60, picking a roughly random number in that range each frame. Try it yourself, just fly up to Y=200 or so and hit F3.

It has occurred to me that the reason why there's a similar error from The End is that several Ender Crystal entities, plus the dragon, are generated at high altitude all in one frame when you enter it. That would potentially make these the same bug. Of course, at that point I'm making conjectures about obfuscated errors on code I've never looked at.

Anyway, thanks for your consideration.

Comment by Anon Ymus [ 11/Mar/13 ]

Goes up and down really fast

Comment by Kumasasa [ 11/Mar/13 ]

What means frantically fluctuates in numbers ?

Comment by Steve Wohlwend [ 11/Mar/13 ]

No crash yet; I'm going to let it run a while. It's interesting to note that the total (including unviewed) entity count frantically fluctuates at high altitudes. That is probably related.

Comment by Steve Wohlwend [ 11/Mar/13 ]

Thanks Kumasasa. I hadn't realized that there were several different errors rolled into that one. My error does match the third from the bottom, but not the one in the description. I expected there to be more in common between related stack traces, my mistake.

The comment by Kenneth Bull seems to be related to mine; all other comments seem to be related to The End. It's possible that these two groups the same error, but I don't really get how you know these are all related.

I'm going to mess around with duplicating this issue now. My guess, based on what I've seen, is that my error was sometimes triggered when villagers spawned in the golem farm, and his were from squid from the water in his mob trap.

Comment by Tails [ 11/Mar/13 ]

Please download the 1.5 pre-release from mojang.com, see if the crash happens and attach the crash report here.

Comment by Kumasasa [ 11/Mar/13 ]

Ok reopened. Stracktrace the same, Description different.

Your:

Minecraft Version: 1.4.7
Description: Exception ticking world
java.lang.IllegalStateException: Entity is already tracked!
	at ii.a(SourceFile:69)
	at ii.a(SourceFile:50)
	at ij.a(SourceFile:24)
	at yc.a(SourceFile:842)

MC-502:

Minecraft Version: 1.4.7
Description: Ticking entity
java.lang.IllegalStateException: Entity is already tracked!
	at ii.a(SourceFile:69)
	at ii.a(SourceFile:47)
	at ij.a(SourceFile:24)
	at yc.a(SourceFile:842)
Comment by Steve Wohlwend [ 11/Mar/13 ]

This is not a duplicate. Please read the description of the error and examine the stack trace. They have the same error message, but are in completely different parts of the code and are triggered by different conditions. My description specifically notes this.

Comment by Kumasasa [ 10/Mar/13 ]

Duplicate of MC-502, please use the search function to see if your bug has already been submitted. Currently over 53% of tickets are being closed as duplicate.

Generated at Sun Jan 12 12:27:54 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.