I am having trouble with an app where the SQLite database is getting corrupted. There was the odd case of this previously, but it seems to have become a lot more common after t
I had this problem too on iOS 7.0.6 using FMDB. I repaired it by copying to the Mac and using these commands:
http://www.dosomethinghere.com/2013/02/20/fixing-the-sqlite-error-the-database-disk-image-is-malformed/
My database dump was rather large at 200MB so I used Hexfiend to cut the transaction and rollback commands.
sqlite: database disk image is malformed
In your case, you may consider checking your Integrity Check results. That's how I've solved my problem.