unhandled exception: SysErr: Invalid argument [inval] Nonzero exit status.