A long-standing gastric ulcer can cause life-threatening problems such as perforation, obstruction or cancer.