On 08/16/2012 11:19 AM, Richard Hipp wrote:
On Thu, Aug 16, 2012 at 1:52 PM, Tal Tabakman <tal.tabak...@gmail.com>wrote:
Hi.
we are writing an application that in runtime produces a sqlite database.
we get the following error:*Error: database disk image is malformed
Extended Error code: 11*
*
*
*what can cause this error ? how can I recover from it ? *
Have you read the http://www.sqlite.org/howtocorrupt.html document?
Have you tried running your application using valgrind?
Also, you might read this thread:
http://comments.gmane.org/gmane.comp.db.sqlite.general/71856
I'm having this same issue on a very active 30GB sqlite database. The
main process has no trouble whatsoever, but when I attempt to
simultaneously access the database via the sqlite3 command-line tool, it
occasionally reports a corrupt database. Often re-running the command
works, and it always works when I shut down the main process.
Similarly, analyzing an idle database shows it's never actually corrupt.
-david
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users