I've got a database file that somehow got corrupted. This is a dev system so I'm not overly concerned, but if the SQLite team would like to take a look you can. I'm using 3.5.6 on Windows. I'm using PRAGMA SYNCHRONOUS=1, so I'm not quite sure how this happened.
Sqlite3_analyzer crashes immediately when run against the file, sqlite3 returns "database disk image is malformed" when I do a SELECT COUNT(*) FROM Directory, and it crashes after returning a bunch of rows if I use a SELECT with a WHERE (that probably uses an index). If this is too old to worry about, or too random an error to worry about, no problem. I need to get on the 3.6 series anyway. Doug Call stack (not for sqlite3, but from my app): sqlite3.dll!sqlite3GetVarint(const unsigned char * p=0x052c4227, unsigned __int64 * v=0x043b13f8) Line 14895 + 0x3 bytes sqlite3.dll!sqlite3BtreeParseCellPtr(MemPage * pPage=0x052b43c8, unsigned char * pCell=0x052c4227, CellInfo * pInfo=0x043b13f0) Line 28049 + 0x13 bytes sqlite3.dll!sqlite3BtreeParseCell(MemPage * pPage=0x052b43c8, int iCell=0x00000044, CellInfo * pInfo=0x043b13f0) Line 28103 + 0x48 bytes sqlite3.dll!getCellInfo(BtCursor * pCur=0x043b13c8) Line 30347 + 0x1a bytes sqlite3.dll!sqlite3BtreeDataSize(BtCursor * pCur=0x043b13c8, unsigned int * pSize=0x03f3e114) Line 30405 + 0x9 bytes sqlite3.dll!sqlite3VdbeExec(Vdbe * p=0x044695c8) Line 40831 + 0x13 bytes sqlite3.dll!sqlite3Step(Vdbe * p=0x044695c8) Line 38215 + 0x9 bytes sqlite3.dll!sqlite3_step(sqlite3_stmt * pStmt=0x044695c8) Line 38279 + 0x9 bytes CoreLib.dll!SQLCmdSQLite::ExecSQLDirect(const wchar_t * origIncomingSQL=0x013eb7f0, bool bWrapInTransaction=true) Line 1128 + 0x9 bytes _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users