mojira.dev
MC-155620

"java.lang.RuntimeException: We are asking a region for a chunk out of bound" during feature placement

When I visited the End and came to the End city nearby the game crashed.

1.14.4\: [^crash-2019-08-03_14.33.19-server.txt]

Description: Feature placement

java.lang.RuntimeException: We are asking a region for a chunk out of bound | 105 60
	at vq.a(SourceFile:122)
	at bhu.a(SourceFile:106)
	at vq.a(SourceFile:91)
	at ceu.a(SourceFile:67)
	at cal.a(SourceFile:36)
	at che.a(SourceFile:85)
	at java.base/java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411)
	at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658)
	at che.a(SourceFile:84)
	at cgg.a(SourceFile:35)
	at cat.a(SourceFile:20)
	at cat.a(SourceFile:13)
	at cal.a(SourceFile:36)
	at bio.a(SourceFile:420)
	at bxi.a(SourceFile:130)
	at bxm.c(SourceFile:83)
	at bxm.a(SourceFile:217)
	at uw.a(SourceFile:543)
	at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
	at uw.a(SourceFile:537)
	at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1146)
	at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
	at uy.b(SourceFile:58)
	at agt.e(SourceFile:83)
	at agt.a(SourceFile:123)
	at agt.run(SourceFile:91)
	at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1425)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

Linked issues

MC-152488 Game crashed soon after it loads. The error reads: The game crashed whilst exception generating new chunk The game crashed whilst exception generating new chunk Error: java.lang.RuntimeException: We are asking a region for a chunk out of bound | 72 26 MC-153264 gone through end gateway and now the game keeps crashing MC-158193 We are asking a region for a chunk out of bound MC-160066 Server crashes when trying to load specific chunk in the End. MC-160553 Off by one error in chunk loading in end dimension region file MC-160721 Crash - java.util.concurrent.CompletionException: m: Feature placement MC-160794 Game crashes when it tries to load new chunks in the end MC-161631 world keeps crashing MC-163083 Minecraft Crashes when trying to enter nether portal MC-164853 Can't load world crashes on start

Attachments

Comments

violine1101

We do not have enough information to find the cause of this issue.

Please attach the crash report found in [minecraft/crash-reports/crash-<DATE>-client.txt|http://hopper.minecraft.net/help/guides/finding-minecraft-data-folder] here.
If you cannot find a crash report, please attach the full launcher log found in [minecraft/launcher_log.txt|http://hopper.minecraft.net/help/guides/minecraft-logs/].

This issue has been temporarily closed as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
๐Ÿ““ Issue Guidelines โ€“ ๐Ÿ’ฌ Community Support โ€“ ๐Ÿ“ง Customer Support โ€“ ๐Ÿ“– Game Wiki

violine1101

Please attach the file that I asked for, a picture of your screen is not enough.

migrated

Is this what you wanted?

violine1101

Yes, thank you.

violine1101

I've been able to reproduce this crash in 1.14.4 by using the world from MC-158193. I've attached the world file, as well as my 1.14.4 crash report, to this ticket.

tomudding

Can confirm for 19w34a.

migrated

Is it possible to have a work around like delete a corresponding region file in an older world? Not sure how we should go about this on our server

migrated

had the same, but it was a day after i LEFT an endcity. even got a diamond shovel...

migrated

Does someone have a workaround already?
My server keeps crashing too, many endcity's where generated before 1.14 and players made many things in the end.

They are able to teleport away on login if they are fast though, so its never a full crash loop, but still.

violine1101

The most viable workaround right now is probably to just delete the affected chunks from the world using a tool like mcaselector.

migrated

Unfortunetly, deleting the chunks didn't help and was in fact not a workaround :-/

migrated

Have the same problem here but it happens in the overworld, nobody has on my server accessed the endgame yet.

In my case the crash happens when you are near -454 65 -376

From the logfile:

[19:27:50] [Server thread/ERROR]: Chunk file at [-41, -33] is in the wrong location; relocating. (Expected [-41, -33], got [-63, -49])
[19:27:50] [Server thread/ERROR]: Chunk file at [-48, -40] is in the wrong location; relocating. (Expected [-48, -40], got [-60, -54])
[19:27:50] [Server thread/ERROR]: Chunk file at [-49, -35] is in the wrong location; relocating. (Expected [-49, -35], got [-58, -58])
[19:27:50] [Server thread/ERROR]: Chunk file at [-42, -33] is in the wrong location; relocating. (Expected [-42, -33], got [-57, -58])
[19:27:50] [Server-Worker-6/ERROR]: Requested chunk : -65 -47
[19:27:50] [Server-Worker-6/ERROR]: Region bounds : -49 -41 | -33 -25
[19:27:50] [Server thread/ERROR]: Encountered an unexpected exception

ย 

IF you want you can get the backup of the world, but it is big. The tar,gz file is 389M.

The world started with 1.12 and has been moved to 1.13 and now 1.14

ย 

ย 

migrated

I did a test with my world on a virtual server also Debian linux and 1.14.4 crashes BUT 1.15pre2 RUNS WITH NO PROBLEMS!!

migrated

I just ran into this same problem. Only a single user was online. This is a 1.14.4 server.

[media][media]
migrated

I can also say i dont have the problem in 1.15.1

migrated

Tested with 1.15.1. It no longer gets the fatal server-crashing exception, but the server log does get spammed by dozens of messages about invalid structure reference. I also noticed that even though I've visited End Cities before, I got the "The City at the End of the Game" achievement again.

...
[09:01:22] [Server thread/WARN]: Found invalid structure reference [ EndCity @ [84, 46] ] for chunk [81, 55].
[09:01:22] [Server thread/WARN]: Found invalid structure reference [ EndCity @ [84, 46] ] for chunk [93, 55].
[09:01:22] [Server thread/WARN]: Found invalid structure reference [ EndCity @ [103, 46] ] for chunk [94, 55].
[09:01:22] [Server thread/WARN]: Found invalid structure reference [ EndCity @ [103, 46] ] for chunk [95, 55].
[09:01:24] [Server thread/WARN]: Found invalid structure reference [ EndCity @ [105, 60] ] for chunk [96, 51].
[09:01:24] [Server thread/WARN]: Found invalid structure reference [ EndCity @ [105, 60] ] for chunk [96, 52].
[09:01:24] [Server thread/WARN]: Found invalid structure reference [ EndCity @ [105, 60] ] for chunk [96, 53].
[09:01:24] [Server thread/WARN]: Found invalid structure reference [ EndCity @ [105, 60] ] for chunk [96, 54].
[09:01:24] [Server thread/WARN]: Found invalid structure reference [ EndCity @ [103, 46] ] for chunk [96, 55].
[09:01:24] [Server thread/WARN]: Found invalid structure reference [ EndCity @ [105, 60] ] for chunk [96, 55].
[09:01:24] [Server thread/WARN]: Found invalid structure reference [ EndCity @ [105, 60] ] for chunk [96, 56].
[09:01:24] [Server thread/WARN]: Found invalid structure reference [ EndCity @ [105, 60] ] for chunk [97, 51].
[09:01:24] [Server thread/WARN]: Found invalid structure reference [ EndCity @ [103, 46] ] for chunk [97, 55].
[09:01:24] [Server thread/WARN]: Found invalid structure reference [ EndCity @ [105, 60] ] for chunk [96, 57].
[09:01:30] [Server thread/INFO]: StalePhish has made the advancement [The City at the End of the Game]
Adrian ร–stergรฅrd

Is this still an issue in 1.16.3 or later?

migrated

No, It is fixed, you did wonderful job!

migrated

(Unassigned)

Confirmed

Crash

Minecraft 1.14.3, 1.14.4, 19w34a

Retrieved