View Ticket
Not logged in
Ticket UUID: c56156282342a51b8ec2f54e271907f05a63f468
Title: database corruption error on amd64
Status: Closed Type: Code_Defect
Severity: Important Priority:
Subsystem: Resolution: Open
Last Modified: 2011-05-23 20:30:06
Version Found In: seems all?
Description & Comments:
1) While trying to open existing or cloned repo (tried 3 last versions for amd64 and 32bit systems on amd64 mashine):
fossil open noviasmoda.fossil
fossil: SQLITE_CORRUPT: database corruption at line 49437 of [f55156c519]
fossil: SQLITE_CORRUPT: statement aborts at 1: [BEGIN EXCLUSIVE] database disk image is malformed
fossil: SQLITE_CORRUPT: database corruption at line 49437 of [f55156c519]
fossil: SQLITE_CORRUPT: database disk image is malformed
fossil: database disk image is malformed

If you have recently updated your fossil executable, you might need to run "fossil all rebuild" to bring the repository schemas up to date. -------------------------------------------------------------------------------

2) While trying open just created repo (last amd64 version):

fossil new noviasmoda.fossil
project-id: 8377c5d189cb99dc8619419aaaaad08e573f213e
server-id:  561f83674fa3a95f096eccee8344395c85b3fa95
admin-user: alexey (initial password is "79f998")
alexey@alexey-desktop:~/www/noviasmoda/www$ fossil open noviasmoda.fossil
fossil: SQLITE_CORRUPT: database corruption at line 49437 of [f55156c519]
fossil: SQLITE_CORRUPT: statement aborts at 1: [BEGIN EXCLUSIVE] database disk image is malformed
fossil: SQLITE_CORRUPT: database corruption at line 49437 of [f55156c519]
fossil: SQLITE_CORRUPT: database disk image is malformed
fossil: database disk image is malformed

If you have recently updated your fossil executable, you might need to run "fossil all rebuild" to bring the repository schemas up to date.

Braked my brain #(


drh added on 2011-05-18 11:44:06 UTC:
The error reports above indicate that the SQLite database file that contains the repository is being truncated.

What operating system are you using? And what filesystem?


anonymous added on 2011-05-20 17:38:54 UTC:
I'm on Ubuntu 10.04/amd64 and Lubuntu 11.04/i686. FS both are ext4. Phrase "database corruption at line 49437" is the same, regardless the repo file. It's different only if fossil version is different. So, the problem isn't so clear like it looks. Any other suggestions?


anonymous added on 2011-05-20 18:13:06 UTC:
I wasn;t clear above - error appears only on amd64. The same version of fossil on Lubuntu i686 is OK.


anonymous added on 2011-05-22 19:26:06 UTC:
Somebody on amd64: are your fossil work properly? Is it my CPU?


drh added on 2011-05-23 15:18:20 UTC:
One of three primary development platforms on which Fossil is coded:

Linux amd2008 2.6.24-19-generic #1 SMP Wed Jun 18 14:15:37 UTC 2008 x86_64 GNU/Linux

anonymous added on 2011-05-23 20:30:06 UTC:
OK, seems like it's my personal problem. Will think more. ;(