Before I was playing normally, after 1h30 playing, simply Minecraft closed, and now, every time I enter my favorite Minigame (Prison) Minecraft closes alone.
I also experienced that. Maybe u were playing a modded singleplayer and then you went to the server. I tried that when I was playing Singleplayer with CustomNPC mod for 2 hours. After putting so much NPCs it made my MC crash 5 minutes after I launch xD . But I just restarted my PC and its fine again