Skip to content

SDK 7.5.0 crash when client calls iOS Vision framework #7400

@hingarn

Description

@hingarn

Step 1: Describe your environment

  • Xcode version: 12.4
  • Firebase SDK version: 7.5.0
  • Installation method: CocoaPods
  • Firebase Component: Crashlytics

Step 2: Describe the problem

SDK crashes when attempting to calculate saliency using iOS Vision framework calling VNGenerateAttentionBasedSaliencyImageRequest(). The issue is not present in Firebase SDK 7.4.0.

Screen Shot 2021-01-28 at 2 22 53 PM

Screen Shot 2021-01-28 at 2 12 25 PM

Screen Shot 2021-01-28 at 2 17 42 PM

Steps to reproduce:

The crash happens whenever the client tries to calculate saliency. It happens on any image 100% of the time. Removing the call to VNGenerateAttentionBasedSaliencyImageRequest() or switching to Firebase SDK 7.4.0 avoids the issue and Firebase SDK no longer crashes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions