Jump to content

Entity is already tracked! [temporarly solved]


hubertnnn

Recommended Posts

I am trying to make a moded server for me and my friends, and about 1 minute after joining, I have this error:

java.lang.IllegalStateException: Entity is already tracked!

 

I removed all of my mods and error still exist.

 

Crash logs:

 

On Recomended forge

 

 

---- Minecraft Crash Report ----

// Hey, that tickles! Hehehe!

 

Time: 12/1/12 4:50 PM

Description: Exception getting block type in world

 

java.lang.IllegalStateException: Entity is already tracked!

at ii.a(EntityTracker.java:161)

at ii.a(EntityTracker.java:91)

at ij.a(SourceFile:24)

at xv.a(World.java:1517)

at in.a(WorldServer.java:822)

at xv.a(World.java:3726)

at zs.c(Chunk.java:1023)

at im.c(ChunkProviderServer.java:134)

at im.d(ChunkProviderServer.java:150)

at xv.e(World.java:496)

at xv.a(World.java:379)

at amw.b(BlockVine.java:268)

at in.g(WorldServer.java:377)

at in.b(WorldServer.java:138)

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

at ho.r(DedicatedServer.java:252)

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

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

at fy.run(SourceFile:856)

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

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

 

-- Head --

Stacktrace:

at ii.a(EntityTracker.java:161)

at ii.a(EntityTracker.java:91)

at ij.a(SourceFile:24)

at xv.a(World.java:1517)

at in.a(WorldServer.java:822)

at xv.a(World.java:3726)

at zs.c(Chunk.java:1023)

at im.c(ChunkProviderServer.java:134)

at im.d(ChunkProviderServer.java:150)

at xv.e(World.java:496)

 

-- Requested block coordinates --

Details:

Found chunk: true

Location: World: (-66,77,22), Chunk: (at 14,4,6 in -5,1; contains blocks -80,0,16 to -65,255,31), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)

Stacktrace:

at xv.a(World.java:379)

at amw.b(BlockVine.java:268)

at in.g(WorldServer.java:377)

at in.b(WorldServer.java:138)

 

-- Affected level --

Details:

Level name: world

All players: 1 total; [iq['hubertnnn'/356, l='world', x=48.04, y=69.02, z=90.45]]

Chunk stats: ServerChunkCache: 636 Drop: 0

Level seed: -4824579421148905893

Level generator: ID 00 - default, ver 1. Features enabled: true

Level generator options:

Level spawn location: World: (12,64,8), Chunk: (at 12,4,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Level time: 7637 game time, 7637 day time

Level dimension: 0

Level storage version: 0x04ABD - Anvil

Level weather: Rain time: 20965 (now: false), thunder time: 93393 (now: false)

Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false

Stacktrace:

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

at ho.r(DedicatedServer.java:252)

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

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

at fy.run(SourceFile:856)

 

-- System Details --

Details:

Minecraft Version: 1.4.5

Operating System: Linux (i386) version 3.6.6-1-ARCH

Java Version: 1.6.0_24, Sun Microsystems Inc.

Java VM Version: OpenJDK Client VM (mixed mode), Sun Microsystems Inc.

Memory: 1002919800 bytes (956 MB) / 1072103424 bytes (1022 MB) up to 2145845248 bytes (2046 MB)

JVM Flags: 6 total; -Xmx2048M -Xms1024M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=1 -XX:+AggressiveOpts

AABB Pool Size: 1302 (72912 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Suspicious classes: FML and Forge are installed

IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63

FML: MCP v7.23 FML v4.5.2.459 Minecraft Forge 6.4.0.397 5 mods loaded, 5 mods active

mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available

FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available

Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available

mod_CodeChickenCore [CodeChicken Core] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available

mod_NotEnoughItems [Not Enough Items] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available

Profiler Position: N/A (disabled)

Vec3 Pool Size: 200 (11200 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Player Count: 1 / 10; [iq['hubertnnn'/356, l='world', x=48.04, y=69.02, z=90.45]]

Is Modded: Definitely; Server brand changed to 'forge,fml'

Type: Dedicated Server (map_server.txt)

 

 

 

On last forge:

 

 

---- Minecraft Crash Report ----

// Oh - I know what I did wrong!

 

Time: 12/1/12 5:03 PM

Description: Exception getting block type in world

 

java.lang.IllegalStateException: Entity is already tracked!

at ii.a(EntityTracker.java:161)

at ii.a(EntityTracker.java:91)

at ij.a(SourceFile:24)

at xv.a(World.java:1517)

at in.a(WorldServer.java:822)

at xv.a(World.java:3726)

at zs.c(Chunk.java:1065)

at im.c(ChunkProviderServer.java:134)

at im.d(ChunkProviderServer.java:150)

at xv.e(World.java:496)

at xv.a(World.java:379)

at aks.b(SourceFile:46)

at in.g(WorldServer.java:377)

at in.b(WorldServer.java:138)

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

at ho.r(DedicatedServer.java:252)

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

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

at fy.run(SourceFile:856)

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

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

 

-- Head --

Stacktrace:

at ii.a(EntityTracker.java:161)

at ii.a(EntityTracker.java:91)

at ij.a(SourceFile:24)

at xv.a(World.java:1517)

at in.a(WorldServer.java:822)

at xv.a(World.java:3726)

at zs.c(Chunk.java:1065)

at im.c(ChunkProviderServer.java:134)

at im.d(ChunkProviderServer.java:150)

at xv.e(World.java:496)

 

-- Requested block coordinates --

Details:

Found chunk: true

Location: World: (183,8,128), Chunk: (at 7,0,0 in 11,8; contains blocks 176,0,128 to 191,255,143), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Stacktrace:

at xv.a(World.java:379)

at aks.b(SourceFile:46)

at in.g(WorldServer.java:377)

at in.b(WorldServer.java:138)

 

-- Affected level --

Details:

Level name: world

All players: 1 total; [iq['hubertnnn'/360, l='world', x=106.93, y=81.00, z=15.78]]

Chunk stats: ServerChunkCache: 635 Drop: 0

Level seed: -4824579421148905893

Level generator: ID 00 - default, ver 1. Features enabled: true

Level generator options:

Level spawn location: World: (12,64,8), Chunk: (at 12,4,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Level time: 11632 game time, 11632 day time

Level dimension: 0

Level storage version: 0x04ABD - Anvil

Level weather: Rain time: 16970 (now: false), thunder time: 89398 (now: false)

Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false

Stacktrace:

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

at ho.r(DedicatedServer.java:252)

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

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

at fy.run(SourceFile:856)

 

-- System Details --

Details:

Minecraft Version: 1.4.5

Operating System: Linux (i386) version 3.6.6-1-ARCH

Java Version: 1.6.0_24, Sun Microsystems Inc.

Java VM Version: OpenJDK Client VM (mixed mode), Sun Microsystems Inc.

Memory: 995547776 bytes (949 MB) / 1072103424 bytes (1022 MB) up to 2145845248 bytes (2046 MB)

JVM Flags: 6 total; -Xmx2048M -Xms1024M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=1 -XX:+AggressiveOpts

AABB Pool Size: 1120 (62720 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Suspicious classes: FML and Forge are installed

IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63

FML: MCP v7.23 FML v4.5.2.459 Minecraft Forge 6.4.1.409 5 mods loaded, 5 mods active

mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available

FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available

Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available

mod_CodeChickenCore [CodeChicken Core] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available

mod_NotEnoughItems [Not Enough Items] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available

Profiler Position: N/A (disabled)

Vec3 Pool Size: 133 (7448 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Player Count: 1 / 10; [iq['hubertnnn'/360, l='world', x=106.93, y=81.00, z=15.78]]

Is Modded: Definitely; Server brand changed to 'forge,fml'

Type: Dedicated Server (map_server.txt)

 

 

Link to comment
Share on other sites

I think I found source of the problem. After changing:

view-distance=7

back to

view-distance=10

in server.properties the bug seem to disappear (25 minutes so far no crash, last time had crash every minute).

Still need more testing, but that may be the reason.

 

edit:

Found real reason. The view-distance only reduced chance of this bug to appear, real reason is in

dormantChunkCacheSize=100

in forgeChunkLoading.cfg

 

I scanned the source and found that this happens only on chunk loading, and it looks like a memory leak, then I tested this value and bingo, without it in my test server(modified so it shows message but not chrash on the bug) had this crash every 5 seconds (with low view-distance).

The reason was entity still kept in buffer/cache and in tracker but still being added again when chunk was reloading (I was running around).

 

Temporaty fix for those with this error is:

dormantChunkCacheSize=0

untill forge will fix chunk buffering.

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.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.