Skip to content

Crash: NSInternalInconsistencyException', reason: 'FIRESTORE INTERNAL ASSERTION FAILED: Enqueue methods cannot be called when we are already running on target executor  #6909

@mpalczew

Description

@mpalczew

[REQUIRED] Step 1: Describe your environment

  • Xcode version: 12.1
  • Firebase SDK version: 7.0.0
  • Installation method: Carthage
  • Firebase Component: Auth, Core

[REQUIRED] Step 2: Describe the problem

Steps to reproduce:

Observing a crash when trying to delete a FirebaseApp object.

calling

app.delete {
}

where app is a FirebaseApp

Seeing this

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'FIRESTORE INTERNAL ASSERTION FAILED: Enqueue methods cannot be called when we are already running on target executor (this queue's executor: 'com.google.firebase.firestore.httpsinstacartfirebaseiocomv1', current executor: 'com.google.firebase.firestore.httpsinstacartfirebaseiocomv1') (expected !is_operation_in_progress_ || !executor_->IsCurrentExecutor())'

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions