mojira.dev
MC-100098

Blocks do not render, cpu hits ~100%

Firstly this problem happens with a map that I have generated through another program that I've written. There is the possibility that the problem is due to how I have written the region files and not a MC bug at all. However, given the behaviour, it could be a MC bug.

I have a map which is 100kmx100km (about 117 billions blocks in total). Regularly when I walk or teleport around the map, MC stops drawing blocks other than those a short distance around me. When this happens, the CPU usage rises to about 95%. the "pC" count on the debug screen rises up between 200 and 2000 and does not decrease again.

You can walk over the areas that haven't rendered and the terrain is the expected height. If you destroy a block near the un-rendered area then the blocks around it then get displayed.

If I generate a subsection of this map (10kmx10km), I still get the same problem but it seems to happen less frequently

I can only reproduce the problem in single player mode. If I run it on a server then it works ok, at least as far as my testing as gone.

The server logs do not report any errors.

If this was a problem with the way I'd written the region files then I would expect MC to fail on the same regions every time. Instead it fails in different areas at different times. I've tried various 3rd party programs to read the map (eg MCEdit, NBTExplorer) and they all read the maps without any problems. To me the problem looks like a timing/threading issue in the MC software.

To reproduce:

I have attached screenshots of how it looks when it doesn't render properly and how another area looks when it is working.

(In case you're wondering, this is a 1:1 scale map of north east Scotland, to be extended to cover all of the UK if I can ever get this issue sorted out)

Attachments

Comments 6

Please force a crash by pressing F3 + C for 10 seconds while in-game and attach the crash report ([minecraft/crash-reports/crash-<DATE>-client.txt|http://hopper.minecraft.net/help/finding-minecraft-data-folder]) to this ticket.

The crash dump doesn't get produced when MC gets into this state. I have checked that a crash report is produced correctly when the game is playing normally (and it is) but when I produce a crash report when the problem happens, the MC screen goes brown and nothing is written. I've attached a screenshot for you to see what it looks like. I've also attached the log file.

Please force a crash in that world prior to the state.

Nothing spectacular to see in the crash report, except that your NVIDIA graphics driver is outdated.
Update to V364.51 from http://www.geforce.com/drivers/results/99512 and retry..

Third party tools are not supported.

Matt Helliwell

(Unassigned)

Unconfirmed

Minecraft 1.9

Retrieved