I have been able to determine that at present it is the inout parameters that is causing the compiler to crash