20.02.2017, 15:57
Use the "wolf fence" debugging method. Comment out half of the code. If it still crashes it's in the part that isn't commented and else it is in the part that is commented. Repeat with ever smaller chunks until you find the culprit.