Hello! Recently I've got plenty strange crashes

I can't reproduce this issue by myself but there are some app users faced this issue. I receive this crashlytics report and also checked xcode crash logs. It crashes exactly when we're trying to force unwrap this optional:
loadThumbnailCGImage: { (maxPixelSize) -> CGImage in
return ImageTool.makeResizedCGImage(
from: image.cgImage!,
maxPixelSizeHint: maxPixelSize
)!
Its kind of rare bug but some users're continuously facing this issue. May you please make some suggestions what could it be? I just pass UIImage chosen from gallery to this initialiser. Almost all the time it works fine but not always.. Thank you!
Hello! Recently I've got plenty strange crashes

I can't reproduce this issue by myself but there are some app users faced this issue. I receive this crashlytics report and also checked xcode crash logs. It crashes exactly when we're trying to force unwrap this optional:
Its kind of rare bug but some users're continuously facing this issue. May you please make some suggestions what could it be? I just pass UIImage chosen from gallery to this initialiser. Almost all the time it works fine but not always.. Thank you!