Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Crash] Corrupt data in SQLite/Core Data – Unresolved error Error Domain=NSSQLiteErrorDomain Code=11 #13874

Open
joshheald opened this issue Sep 6, 2024 · 5 comments
Labels
type: crash The worst kind of bug.

Comments

@joshheald
Copy link
Contributor

Description

We have a number of crash logs spiking in Sentry over the last few releases.

They appear to all be related to Code 11 SQLite database errors, which indicate data corruption.

Suggested remedy so far:

  • Try @pmusolino‘s Core Data improvement PR: Enhance Thread Safety in Core Data Management #12805
  • Try rebuilding the database when we find corrupt data. This might need to be a project, or at least some time carved out for one or more engineers to focus on getting it right. Probably requires further investigation to find out which.
  • Have each team take a close look at their contributions to 19.7, 19.8 and 20.0 releases, to see whether anything might have increased the crash rates here that I’ve missed.

See this CUW post for full context: peaMlT-Rx-p2

@joshheald joshheald added the type: crash The worst kind of bug. label Sep 6, 2024
@dangermattic
Copy link
Collaborator

🚫 Please add a type label (e.g. type: enhancement) and a feature label (e.g. feature: stats) to this issue.

Copy link

sentry-io bot commented Sep 6, 2024

Sentry Issue: WOOCOMMERCE-IOS-1MTX

Copy link

sentry-io bot commented Sep 6, 2024

Sentry Issue: WOOCOMMERCE-IOS-1MTQ

Copy link

sentry-io bot commented Nov 11, 2024

Sentry Issue: WOOCOMMERCE-IOS-1NNC

Copy link

sentry-io bot commented Nov 11, 2024

Sentry Issue: WOOCOMMERCE-IOS-1NMZ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: crash The worst kind of bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants