Waking up during general surgery is *very* rare. There are three reasons why people may remember/wake up during general:
1) They didn't give you Versed
2) You were an idiot and decided to eat <24 hours before the surgery, thus changing the amount of medication needed to knock you out.
3)...