Fixes Bug 862826: bad raw crash integer values shouldn't derail processing

places some try-catch blocks around conversions to int.  if the conversion fails, it shouldn't derail the continuation of processing the crash.