While walking through double doors, villagers sometimes leave one of them open, potentially creating a death trap for them at night.
To reproduce, create a house with at least a double door, and place at least two villagers in them and watch them walk. It helps to have more than a double door and/or have the villagers collide with each other or the player while walking through it.
Single doors seem to be unaffected.
Duplicate of MC-145769