Fossil SCM
clone/sqlite error w/ latest trunk tip
3ca776a720d628b…
· opened 11 years, 4 months ago
- Type
- Code_Defect
- Priority
- —
- Severity
- Important
- Resolution
- Fixed
- Subsystem
- —
- Created
- Nov. 26, 2014 6:25 p.m.
kamloops$ mkdir jnkjnk kamloops$ cd jnkjnk/ kamloops$ ../fossil/fossil clone http://core.tcl.tk/tcl ./myrepo.fsl Round-trips: 23 Artifacts sent: 0 received: 36622 SQLITE_CORRUPT: database corruption at line 53693 of [4461bf045d] SQLITE_CORRUPT: statement aborts at 21: [UPDATE blob SET rcvid=1, size=167, content=:data WHERE rid=39319] ../fossil/fossil: SQL error: 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.
kamloops$ ../fossil/fossil version This is fossil version 1.30 [156ef9ec06] 2014-11-26 14:53:41 UTC
This does not happen w/ release 1.29
Comments (3)
kamloops$ mkdir jnkjnk kamloops$ cd jnkjnk/ kamloops$ ../fossil/fossil clone http://core.tcl.tk/tcl ./myrepo.fsl Round-trips: 23 Artifacts sent: 0 received: 36622 SQLITE_CORRUPT: database corruption at line 53693 of [4461bf045d] SQLITE_CORRUPT: statement aborts at 21: [UPDATE blob SET rcvid=1, size=167, content=:data WHERE rid=39319] ../fossil/fossil: SQL error: 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.
kamloops$ ../fossil/fossil version This is fossil version 1.30 [156ef9ec06] 2014-11-26 14:53:41 UTC
This does not happen w/ release 1.29
drh confirmed the bad behaviour and bisected, apparently identifying [6b2f0b209f9988153cfaf0ac5d5930bfa8d139fe] ("Update to 3.8.8 alpha of SQLite...") as culprit.
Fixed by reverting to SQLite 3.8.7.2. This is a bug in SQLite, not in Fossil.