Sorry, I use SQLite 3.4.2, NOT SQLite 3.5.2.
The code in pager.c:2417 (SQLite 3.4.2) is
for(pPg=pPager->pAll; pPg; pPg=pPg->pNextAll){
pPg->needSync = 0; // <===== line 2417
}
Is there something wrong to pPg ? why ??
And in general, pPager=0x102028 when segmentation fault was occured.
(pPager is the parameter of syncJournal (pPager=0x102028) )
Thanks to Richard to remind me the wrong SQLite version number.
Sincerely yours,
Joseph
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <sqlite-users@sqlite.org>
Sent: Thursday, November 29, 2007 10:48 PM
Subject: Re: [sqlite] Segmentation fault in syncJournal (pPager=0x102028) at
src/pager.c:2417
"Joseph Hsu" <[EMAIL PROTECTED]> wrote:
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
In SQLite 3.5.2, syncJournal begins on line 2748. Are you
really user your are running version 3.5.2? Have you
modified the sources?
--
D. Richard Hipp <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------