This sounds like gallstones to me, apparently they cause excruitiating pain.