bezoar
An intestinal obstruction, usually in goats or cattle, but sometimes in humans. A trichobezoar is a ball of hair, and a phytobezoar forms around an undigestible object, like rocks or chewing gum.
"The autopsy revealed the presence of a trichobezoar in the girl's intestine... she had been eating her long fringe."