Your application is crashing with the message “Data corruption: Malformed Mach message or kernel bug”. Either that means what it says (in which case the bug is most likely not yours), or (more likely IMO) you’re tramping on memory you don’t own. Finding memory overwrites is hard, but Apple provides tools to help you — see TN2124.
I’d try enabling MallocGuardEdges
et al in the simulator and see if you crash (you can do this from Xcode in the Scheme configuration.) Alternatively, you could try enabling Guard Malloc and that might also help.