Solved Chunk file .. is in the wrong location; relocating.

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Z32

New Member
Jul 29, 2019
10
0
0
Appears to be a chunk that is corrupt?
After a player logs in, the server will struggle to load surrounding chunks and freeze, while memory overflows and I get a 100MB+ log file

[Minecraft] User [/IP] logged in with entity id 307 at (588.6999999880791, 58.0, 128.25572730228632)
[INFO] [STDOUT] Chunk file at 38,1 is in the wrong location; relocating. (Expected 38, 1, got 38, 4)
[INFO] [STDOUT] Wrong location! ph['Squid'/3769, l='world', x=620.14, y=58.89, z=29.59]

-Quoted information is repeated after each error-

[INFO] [STDERR] java.lang.Exception: Stack trace
[INFO] [STDERR]at java.lang.Thread.dumpStack(Unknown Source)
[INFO] [STDERR]at zz.a(Chunk.java:923)
[INFO] [STDERR]at aam.a(AnvilChunkLoader.java:406)
[INFO] [STDERR]at aam.a(AnvilChunkLoader.java:103)
[INFO] [STDERR]at aam.a(AnvilChunkLoader.java:83)
[INFO] [STDERR]at im.f(ChunkProviderServer.java:182)
[INFO] [STDERR]at im.c(ChunkProviderServer.java:118)
[INFO] [STDERR]at il.<init>(PlayerInstance.java:42)
[INFO] [STDERR]at ik.a(SourceFile:172)
[INFO] [STDERR]at ik.a(SourceFile:203)
[INFO] [STDERR]at gm.a(ServerConfigurationManager.java:163)
[INFO] [STDERR]at gm.c(ServerConfigurationManager.java:206)
[INFO] [STDERR]at gm.a(ServerConfigurationManager.java:123)
[INFO] [STDERR]at it.completeConnection(NetLoginHandler.java:198)
[INFO] [STDERR]at cpw.mods.fml.common.network.FMLNetworkHandler.handleClientConnection(FMLNetworkHandler.java:153)
[INFO] [STDERR]at cpw.mods.fml.common.network.FMLNetworkHandler.onConnectionReceivedFromClient(FMLNetworkHandler.java:107)
[INFO] [STDERR]at it.d(NetLoginHandler.java:182)
[INFO] [STDERR]at it.c(NetLoginHandler.java:75)
[INFO] [STDERR]at hu.a(ServerListenThread.java:56)
[INFO] [STDERR]at ht.b(SourceFile:29)
[INFO] [STDERR]at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:703)
[INFO] [STDERR]at ho.r(DedicatedServer.java:269)
[INFO] [STDERR]at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)
[INFO] [STDERR]at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
[INFO] [STDERR]at fy.run(SourceFile:849)

2013-02-06 03:31:26 [INFO] [STDOUT] Wrong location! ph['Squid'/3770, l='world', x=622.24, y=56.72, z=30.46]
2013-02-06 03:31:26 [INFO] [STDERR] java.lang.Exception: Stack trace
-Repeats quoted information-
2013-02-06 03:31:26 [INFO] [STDOUT] Wrong location! ph['Squid'/3771, l='world', x=620.14, y=58.89, z=29.59]
2013-02-06 03:31:26 [INFO] [STDERR] java.lang.Exception: Stack trace
-Repeats quoted information-
 

Z32

New Member
Jul 29, 2019
10
0
0
I guess I should mention,
Mindcrack V8.0.1

Hosted on
i5-2500k @ 4.5GHz
8GB Ram @ 1600MHz
 

Z32

New Member
Jul 29, 2019
10
0
0
Narrowed this down to region r.1.0.mca
Aka the area of about 100 hours of work :(
Still working on it, looking for a way to read and edit these files.
 

Z32

New Member
Jul 29, 2019
10
0
0
Following up on this;
One way to find the corrupted (or in my case, relocated) chunk, I deleted each region file one by one, opening the server to check if the problem persisted after the server regenerated the chunk via seed. r.1.0.mca contained my relocated chunk.

Another way, use Fenixin's Region fixer tool:
https://github.com/Fenixin/Minecraft-Region-Fixer
(Download the windows executable from that link)

Run the tool as seen in this post
http://www.minecraftforum.net/topic...n-fixer/page__st__20__p__4855777#entry4855777

For more options, type "region-fixer.exe --help" once you are in the region-fixer directory, to find more options and to replace or delete wrong located chunks (16x16 area)

For my instance, I need to type "region-fixer.exe --delete-wrong-located" and probably "region-fixer.exe --delete-entities" to fix 8 chunks which showed entity errors of over 300 entities (village overflow)

Cheers
 

NdMSnIpEz

New Member
Jul 29, 2019
112
0
0
I already knew of this fix. It annoys me alot though, It's happened to me about 13 times now. Except, this time, its took my home. Is there any possible way to use the region fixer to replace the Wrong located chunks with backups? I've tried and it simply reply's with:
Can't use this backup directory. Chunk has the status: Wrong-Located.
Used to happen in 1.4, too :(