Could you expand a little on this? What exactly happened?
I'm using SDL2 to make the game, and I have run into some problems in the past in which the game crashed if I had a gamepad plugged in that SDL2 didn't recognize. Unplugging/disabling the gamepad fixed it 99% of the time.