Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-152977

Server hangs while "preparing spawn area" with older Java 8 JRE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.14.2 Pre-Release 3, Minecraft 1.14.2 Pre-Release 4, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 1
    • None
    • FreeBSD 10.1-RELEASE-p45

      openjdk8-jre 1.8.0_25

      startup:
      java -Xmx3072M -Xms3072M -XX:+UseG1GC -XX:MaxGCPauseMillis=50 -jar minecraft_server.$curver.jar --eraseCache
    • Unconfirmed
    • (Unassigned)

      Server hangs during startup of 1.14.2_Pre-Release_3 or 1.14.2_Pre-Release_4, however, it starts up normally with 1.14.2_Pre-Release_2.

      The crash is on a relatively old map with a long history of Minecraft version upgrades, chunk corruptions and so on in the past years, which might have lead to the problem.

      Java process does not react on any signals, CPU usage is 0%, and only four files are open (which is where the spawn point is):

      world/region/r.-1.0.mca
      world/region/r.-1.-1.mca
      world/poi/r.-1.0.mca
      world/poi/r.-1.-1.mca

      I've made a smaller copy of the world, truncating region and poi to the above files. The effect of 1.14.2_Pre-Release_4 hanging and 1.14.2_Pre-Release_2 not hanging persists.

      Unfortunately, it is still above 10MB allowed for attachment. I'm uploading it as a RAR multi-part archive, hope it's OK.

       

      UPD! Changed task description as it became clear that old Java version is to blame, while eraseCache is unrelated.

        1. world-crashtest.part1.rar
          9.52 MB
          Alexander Melkov
        2. world-crashtest.part2.rar
          9.50 MB
          Alexander Melkov
        3. mc-start-msg.txt
          2 kB
          Alexander Melkov

            Unassigned Unassigned
            melkov Alexander Melkov
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: