Merge "Fix issues crashing with Fatal signal when calling getFormat"