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

Trading with cartographer will crash the vanilla 1.15.2 server


    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.15.2
    • Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-48-generic x86_64)
      Oracle JRE
      java version "1.8.0_241"
      Java(TM) SE Runtime Environment (build 1.8.0_241-b07)
      Java HotSpot(TM) 64-Bit Server VM (build 25.241-b07, mixed mode)
    • Unconfirmed
    • Survival
    • (Unassigned)

      The bug

      Trading with cartographer will crash the vanilla 1.15.2 server

      To reproduce

      Not clear how to reproduce. Please refer to the description below.

      Our world was generated at v1.10 about 3 years ago, then gradually updated to 1.15.2. Plan to update to 1.16 as soon as possible.

      Some days earlier one of players told me when he trades with a group of cartographer, the server would crash. Several attempts, several crashes.

      Today I have cured two villagers and make them become cartographers. It seems at first I have successfully done a round of trading(paper to emerald, the first slot). He went to resupply, then I tried to trade again. After the first slot is sold out, server crashed. Tried again and crashed again.

      This happens in two different location, one is near to world spawn, another one is about thousands of blocks away.

      Not sure if other villagers with different jobs would cause the crash or not, but we can just normally trade with them. Cartographer always causes the crash.


      Archive is greater than 4GB so I may not want to try it on the latest snapshot. No local test is done. BTW our server has insufficient performance and sometimes crashes for ticking too long. But I don't think this is the case.

            Unassigned Unassigned
            SalimTerryLi SalimTerryLi
            0 Vote for this issue
            3 Start watching this issue