I had created a new beta world that was a hardcore world and had been playing for a couple days and set my spawn point at a bed inside a villagers house. Today when I logged in it spawned me under a bunch of stone and I couldn't move and my health rapidly depleted as if I was taking hits and I died.
This issue should be fixed in 26.50.54. Is your game updated to the latest beta version?