Does that trade close crash only happen when you connect it to MT4, or also in the backtest? If it happens only with MT4, can you set Verbose to 14 and post the diag.txt?