Pain while pooping is a common symptom of conditions as minor as constipation and as serious as anal cancer.