A Facebook bug incorrectly flagged people’s profiles with a message saying the user was dead.