Trading with cartographer will crash the vanilla 1.15.2 server
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.