When I am playing in my offline survival world (sometimes LAN) and meanwhile trading with my villagers...
After traded with one villager the whole screen/objects started freezing and then after 1.5 min. the screen/objects moved again and immediately it freezed again after 1.5 min. and after that I could continue playing but if I went continue trading with the villager I had the same story.
I started a debug and crash-report you can find those.