Hi, and thanks for your medical question on eHealth forum!
It is difficult to say whether the ulcer was there earlier or developed now. Since you fainted possibility of Dumping Syndrome or rapid gastric emptying following gastric bypass surgery should be ruled out. Symptoms include nausea, vomiting, dizziness, shivering etc. This is treated by taking small frequent meals, drinking fluids in between meals, taking more of proteins and less of carbohydrates and simple sugars (total no). Please discuss with your surgeon. Take care!