What version of SQLite are you using? Specifically, what is the output of this query:
SELECT sqlite_source_id(); On Mon, Mar 28, 2011 at 4:57 PM, ChingChang Hsiao < chingchang.hs...@overturenetworks.com> wrote: > The GDB report is shown as below. > > Program terminated with signal 7, Bus error. > #0 0x1009fcd4 in sqlite3WalRead (pOut=<value optimized out>, > nOut=<value optimized out>, pInWal=<value optimized out>, > pgno=<value optimized out>, pWal=<value optimized out>) at > sqlite3.c:43910 > 43910 sqlite3.c: No such file or directory. > in sqlite3.c > (gdb) bt > #0 0x1009fcd4 in sqlite3WalRead (pOut=<value optimized out>, > nOut=<value optimized out>, pInWal=<value optimized out>, > pgno=<value optimized out>, pWal=<value optimized out>) at > sqlite3.c:43910 > #1 readDbPage (pPg=0x107b8100) at sqlite3.c:37721 > #2 0x100a2858 in sqlite3PagerAcquire (pPager=0x102f81d0, pgno=82, > ppPage=0x392764d8, noContent=0) at sqlite3.c:39933 > #3 0x100c9efc in btreeGetPage (noContent=<value optimized out>, > ppPage=<value optimized out>, pgno=<value optimized out>, > pBt=<value optimized out>) at sqlite3.c:47038 > #4 getAndInitPage (pBt=0x102bd1a0, pgno=82, ppPage=0x39276508) > at sqlite3.c:47091 > #5 0x100cc7f0 in moveToChild (pCur=0x103f0e00, newPgno=82) at > sqlite3.c:49594 > #6 0x100cd53c in sqlite3BtreeMovetoUnpacked (pCur=0x103f0e00, pIdxKey=0x0, > intKey=1064, biasRight=0, pRes=0x39276798) at sqlite3.c:50054 > #7 0x10135f68 in sqlite3VdbeExec (p=<value optimized out>) at > sqlite3.c:64257 > #8 sqlite3Step (p=0x10374bf0) at sqlite3.c:59036 > #9 0x101462c0 in sqlite3_step (pStmt=0x10374bf0) at sqlite3.c:59101 > #10 0x10024bd0 in SqlQuery::step (this=0x39276c10, step_limit=0) > at SqlQuery.cpp:655 > #11 0x10053c54 in PmMlDlciCounts::updateRow (this=0x39329090) > at PmMlDlciCounts.cpp:231 > #12 0x10054304 in PmMlDlciCounts::writeDb (this=0x39329090) > at PmMlDlciCounts.cpp:115 > #13 0x100043fc in SyncWorker::run (this=0x38977008) at syncdb.cpp:123 > #14 0x10005fa0 in Thread::start_thread (arg=0x38977008) at thread.cpp:199 > #15 0x374db5cc in ?? () from /lib/libpthread.so.0 > #16 0x37865b88 in clone () from /lib/libc.so.6 > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users