Giter Club home page Giter Club logo

Comments (4)

wooster avatar wooster commented on August 24, 2024

Hi @eaceto. We're sorry this is happening! We have one other report of this, and are trying to narrow down how it happens.

Some questions that will help us figure this out:

  • Was the app upgraded from a previous version? Which version of apptentive-ios did the previous version have?
  • Which iOS versions does this happen on?
  • Do you have any other third party libraries in the app? Which ones?
  • Do you use Core Data yourself in the app at all?
  • Are you able to reproduce this yourself?

If you can reproduce this yourself, I'd love to get a copy of the files of the app from the device you can reproduce the problem on.

At this point, it seems like the problem is resolved if users delete and reinstall the app. We're working hard to figure out a fix and will get it out as soon as we can!

from apptentive-ios.

wooster avatar wooster commented on August 24, 2024

We think this was caused by SQLite on iOS 7 now using write ahead logging (WAL) by default, which is similar to the issue here:

http://pablin.org/2013/05/24/problems-with-core-data-migration-manager-and-journal-mode-wal/

We have a candidate fix available here:

https://github.com/apptentive/apptentive-ios/tree/MigrationFix

This fix does two things, it switches our Core Data database from WAL to the previous default (DELETE mode) on migration. So, any databases that get migrated from here on out won't use WAL. (I haven't been able to reliably move a database from WAL to DELETE without a migration.)

It also performs a sanity check on the database at startup and tries to detect the corruption we're seeing. If so, it deletes our database and starts over.

If this looks good, you may want to use it for your fix release. If you see any issues with it, please let me know. We're going to continue pounding on it on our end.

from apptentive-ios.

pkamb avatar pkamb commented on August 24, 2024

By the way, @eaceto, is this happening in a live app? If so, email me: [email protected] and we can use some over-the-air measures to reduce the likelyhood of this crash in your current live app.

from apptentive-ios.

wooster avatar wooster commented on August 24, 2024

We've just released v1.2.3, which we believe fixes these problems:

https://github.com/apptentive/apptentive-ios/releases/tag/v1.2.3

If it doesn't fix them for you, please let us know!

from apptentive-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.