add release compile, add testin crash reporter and fix out of index crash