Instabug / Instabug-iOS

In-app feedback and bug reporting tool for apps.
https://instabug.com/
Other
290 stars 67 forks source link

[Crash] NSPersistentStoreCoordinator has no persistent stores (unknown). #498

Open timothy-barnard opened 3 weeks ago

timothy-barnard commented 3 weeks ago

Fatal Exception: NSInternalInconsistencyException This NSPersistentStoreCoordinator has no persistent stores (unknown). It cannot perform a save operation.

Steps to Reproduce the Problem

This happens on initialise.

Expected Behavior

No crash.

Actual Behavior

Crash happens, not 100% of the time and unreproducible locally.

Instabug integration code

Instabug.start(withToken: token, invocationEvents: []) BugReporting.bugReportingOptions = [.emailFieldOptional] BugReporting.enabledAttachmentTypes = [.screenShot, .extraScreenShot, .galleryImage, .screenRecording] BugReporting.promptOptionsEnabledReportTypes = [.bug] CrashReporting.enabled = false APM.enabled = false Replies.enabled = false Surveys.enabled = false FeatureRequests.enabled = false Instabug.welcomeMessageMode = .disabled BugReporting.invocationEvents = [.shake] BugReporting.promptOptionsEnabledReportTypes = [.bug] Instabug.setReproStepsFor(.bug, with: .enable)

Instabug.enabled = true BugReporting.enabled = true

SDK Version

13.1.1

iOS Version

All Versions

Device Model

All Versions

[Optional] Project That Reproduces the Issue

AhmedAshraf605 commented 2 weeks ago

@timothy-barnard Could you share the stack trace

timothy-barnard commented 2 weeks ago

@AhmedAshraf605 Sorry the stacktrace is hidden, and we can't get it to crash in debug.

stale[bot] commented 6 days ago

This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.

timothy-barnard commented 6 days ago

HI Any update?

asamir0 commented 6 days ago

Hello @timothy-barnard
we are looking into it

timothy-barnard commented 10 hours ago

Hey team, any luck in finding the bug. This is one of our biggest crashes right now effecting our CFR.

timothy-barnard commented 10 hours ago

We are also seeing a lot of logs from debug console: [Instabug] - IBGCore: Coultn't find network log with task Id <TASK_ID> in CoreData