This project is archived and is in readonly mode.
SQLite3::CorruptException: database disk image is malformed
-
Sam Ruby
My status:
Fails on Ubuntu 10.04.1, SQLite3 version 3.6.22, AMD Athlon(tm) 64 Processor 3800+ (desktop)
Fails on Ubuntu 10.04.1, SQLite3 version 3.6.22, AMD Athlon(tm) Processor LE-1640 (desktop)
Passes on Ubuntu 10.04.1, SQLite3 version 3.6.22, AMD Athlon(tm) II X2 240 Processor (desktop)
Passes on RHEL 6,SQLite3 version 3.6.20, Intel Core 2 Duo (IBM Thinkpad)
Passes on Mac OSX 10.5.8, SQLite3 version 3.6.23.1, Intel Core 2 Duo (mac mini)
Failures cross Ruby versions (i.e., I see the same result with 1.8.7, 1.8.8, 1.9.2, and 1.9.3). If I find other environmental differences, I will report them back here.
-
Sam Ruby
- Assigned user set to José Valim
- Importance changed from Medium to High
ae44bf7c7ebb39d9a12d5253016f92617bee79c7 is the first bad commit commit ae44bf7c7ebb39d9a12d5253016f92617bee79c7 Author: Josh Kalderimis <josh.kalderimis@gmail.com> Date: Thu Nov 18 00:32:43 2010 +0100 bye bye extlib_inheritable_*, AS callbacks now using class_attribute Signed-off-by: José Valim <jose.valim@gmail.com>Reproduction instructions here: http://intertwingly.net/blog/2010/12/07/SQLite3-CorruptException-da...
-
Sam Ruby
- State changed from incomplete to open
- Tag set to corrupt sqlite3
-
Aaron Patterson
Hey Sam,
I was able to reproduce (yay). I haven't found a solution yet though.
I found that the database corruption would only happen if postfix was running. You can have postfix installed, but if you stop the process, the db corruption won't happen.
-
Sam Ruby
- State changed from open to resolved
- Assigned user changed from José Valim to Aaron Patterson
-
Aaron Patterson
Fuck ya!
Here are appropriate commits to Ruby and the mail gem that fix this problem.