Hello,
I use SQLite 3.5.2 on ARM9 embedded system. ( Linux 2.4 )
My program sometimes meets segmentation fault ! ( randomly, maybe several 
hours, maybe several days ! )
Here is a clip from GDB:
-- snip --
(gdb) backtrace
#0  syncJournal (pPager=0x102028) at src/pager.c:2417
#1  0x0007cbbc in sqlite3PagerCommitPhaseOne (pPager=0x102028, zMaster=0x0, 
    nTrunc=0) at src/pager.c:3948
#2  0x00065354 in sqlite3BtreeCommitPhaseOne (p=0x0, zMaster=0x0)
    at src/btree.c:2074
#3  0x0005e698 in vdbeCommit (db=0x101ec8) at src/vdbeaux.c:1103
#4  0x0005ece0 in sqlite3VdbeHalt (p=0x37ec98) at src/vdbeaux.c:1442
#5  0x0008794c in sqlite3VdbeExec (p=0x37ec98) at src/vdbe.c:686
#6  0x00101ec8 in ?? ()

It seems that the segmentation fault is occured in syncJournal 
(pPager=0x102028) at src/pager.c:2417.
Is there something wrong ? Such as the parameters of sqlite3BtreeCommitPhaseOne 
(p=0x0, zMaster=0x0)
    at src/btree.c:2074 ??
Or am I missing something to make this segmentation fault occured when I use 
SQLite ?

Thanks.

Sincerely Yours,

Joseph Hsu


Email : [EMAIL PROTECTED]

Reply via email to