trying to debug resins crash