Crash on MacOSX 10.9 while using a ps3 controller

Yes, that’s one of things patch I mentioned does. real cause of crash was failed IOHIDManagerOpen call. It needs to be moved to right after IOHIDManagerOpen to succeed. But your change is a good workaround.