The crash is caused by calling UIGraphicsBeginImageContextWithOptions() with a size where either the width or height is 0. e.g. (0,0). The tricky part is that it somehow crashes completely and doesn't give you a full stack trace so you can track down the source of the problem.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: