Also:

==14673== Invalid read of size 4
==14673==    at 0x80534F9: sqlite3OsWrite (os.c:38)
==14673==    by 0x8050A17: sqlite3BtreeBeginTrans (btree.c:1850)
==14673==    by 0x807E068: sqlite3VdbeExec (vdbe.c:2519)
==14673==    by 0x805C209: sqlite3_step (vdbeapi.c:328)
==14673==    by 0x8060951: sqlite3_exec (legacy.c:77)
==14673==    by 0x8048FD9: sqlite3_execute (thrd35.c:122)
==14673==    by 0x8049566: testthread (thrd35.c:240)
==14673==    by 0x403A561: start_thread (in /lib/i686/libpthread-2.4.so)
==14673==    by 0x418D4DD: clone (in /lib/i686/libc-2.4.so)
==14673==  Address 0xC is not stack'd, malloc'd or (recently) free'd
==14673==
==14673== Process terminating with default action of signal 11 (SIGSEGV)
==14673==  Access not within mapped region at address 0xC
==14673==    at 0x80534F9: sqlite3OsWrite (os.c:38)
==14673==    by 0x8050A17: sqlite3BtreeBeginTrans (btree.c:1850)
==14673==    by 0x807E068: sqlite3VdbeExec (vdbe.c:2519)
==14673==    by 0x805C209: sqlite3_step (vdbeapi.c:328)
==14673==    by 0x8060951: sqlite3_exec (legacy.c:77)
==14673==    by 0x8048FD9: sqlite3_execute (thrd35.c:122)
==14673==    by 0x8049566: testthread (thrd35.c:240)
==14673==    by 0x403A561: start_thread (in /lib/i686/libpthread-2.4.so)
==14673==    by 0x418D4DD: clone (in /lib/i686/libc-2.4.so)
==14673==    by 0xA: ???
==14673==    by 0x38134192: (within /usr/lib/valgrind/x86-linux/memcheck)
==14673==    by 0x2: ???

--- Joe Wilson <[EMAIL PROTECTED]> wrote:

> I also see random crashes with sources from CVS as of 
> Thu Aug 30 12:20:43 EDT 2007 using Ken's program below.
> 
>   http://marc.info/?l=sqlite-users&m=118848741522192&w=2
> 
> It's timing dependent.
> On a single core Pentium4 machine it crashes once in 10 runs.
> 
> Sometimes it produces this valgrind error:
> 
> ==14637== Thread 4:
> ==14637== Invalid read of size 4
> ==14637==    at 0x804D951: balance_nonroot (btree.c:4774)
> ==14637==    by 0x804E840: balance (btree.c:5469)
> ==14637==    by 0x805013B: sqlite3BtreeInsert (btree.c:5601)
> ==14637==    by 0x807EAC1: sqlite3VdbeExec (vdbe.c:3506)
> ==14637==    by 0x805C209: sqlite3_step (vdbeapi.c:328)
> ==14637==    by 0x8060951: sqlite3_exec (legacy.c:77)
> ==14637==    by 0x8048FD9: sqlite3_execute (thrd35.c:122)
> ==14637==    by 0x80495B7: testthread (thrd35.c:251)
> ==14637==    by 0x403A561: start_thread (in /lib/i686/libpthread-2.4.so)
> ==14637==    by 0x418D4DD: clone (in /lib/i686/libc-2.4.so)
> ==14637==  Address 0x4C is not stack'd, malloc'd or (recently) free'd
> ==14637==
> ==14637== Process terminating with default action of signal 11 (SIGSEGV)
> ==14637==  Access not within mapped region at address 0x4C
> ==14637==    at 0x804D951: balance_nonroot (btree.c:4774)
> ==14637==    by 0x804E840: balance (btree.c:5469)
> ==14637==    by 0x805013B: sqlite3BtreeInsert (btree.c:5601)
> ==14637==    by 0x807EAC1: sqlite3VdbeExec (vdbe.c:3506)
> ==14637==    by 0x805C209: sqlite3_step (vdbeapi.c:328)
> ==14637==    by 0x8060951: sqlite3_exec (legacy.c:77)
> ==14637==    by 0x8048FD9: sqlite3_execute (thrd35.c:122)
> ==14637==    by 0x80495B7: testthread (thrd35.c:251)
> ==14637==    by 0x403A561: start_thread (in /lib/i686/libpthread-2.4.so)
> ==14637==    by 0x418D4DD: clone (in /lib/i686/libc-2.4.so)
> ==14637==    by 0x38134192: (within /usr/lib/valgrind/x86-linux/memcheck)
> ==14637==    by 0x3: ???



       
____________________________________________________________________________________
Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to