When you respawn you no longer get damage immunity. This can cause an infinite death cycle with no escaping. This is likely caused from a patch to no damage after reloading a world, MC-212.
Steps to Reproduce:
Set your spawn point at a bed with lava nearby
Jump in the lava to die
Jump into the lava after respawning
❌ You do not have spawn immunity and take damage
Related issues
relates to
Attachments
Comments


Can confirm.

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.
Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.
Full Version History – Snapshot Version History – The official Minecraft feedback site
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki