** $Id: btree.c,v 1.420 2007/08/30 01:19:59 drh Exp $

Compilation:
../configure --enable-threadsafe  --disable-tcl --enable-tempstore 
make 
 gcc -g -O2 -I. -I../src -DNDEBUG -DTHREADSAFE=1 
-DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -c 
../src/alter.c -o alter.o >/dev/null 2>&1


--So this is a  configure or makefile issue? Since DTHREADSAFE should be 
SQLITE_THREADSAFE ... 

I'll set the CFLAGS to set up SQLITE_THREADSAFE




[EMAIL PROTECTED] wrote: Joe Wilson  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.
> 

Compiled with or without -DSQLITE_DEBUG=1?  We have a bazillion
assert()s in place that are suppose to catch this kind of thing.
I'm wondering if the problem slipped through, or if you have
the assert()s turned off.  (Assert()s in SQLite are off by default.
You have to turn them on explicitly using -DSQLITE_DEBUG=1.)

--
D. Richard Hipp 


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




[EMAIL PROTECTED] wrote: Joe Wilson  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.
> 

Compiled with or without -DSQLITE_DEBUG=1?  We have a bazillion
assert()s in place that are suppose to catch this kind of thing.
I'm wondering if the problem slipped through, or if you have
the assert()s turned off.  (Assert()s in SQLite are off by default.
You have to turn them on explicitly using -DSQLITE_DEBUG=1.)

--
D. Richard Hipp 


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


Reply via email to