Re: [sqlite] php: src/auth.c:128: sqliteAuthRead: Assertion `pStack!=0' failed.
D. Richard Hipp wrote: > This cannot be the case since in the latest code from > CVS, there is no assert() on line 128, either in version 2.8 > or version 3.0. You must still be using an older version > of the library by mistake. > > Please check your work and try again. Thanks - I discovered I'd rebuilt version 3 instead of version 2. It does indeed work again now. Many thanks for your patience. /Per -- Per Jessen, Zurich Let your spam stop here -- http://www.spamchek.com
Re: [sqlite] php: src/auth.c:128: sqliteAuthRead: Assertion `pStack!=0' failed.
Per Jessen wrote: I've now rebuilt a copy from the CVS and I still get the: php: src/auth.c:128: sqliteAuthRead: Assertion `pStack!=0' failed. I didn't rebuild the database though - is it needed? This cannot be the case since in the latest code from CVS, there is no assert() on line 128, either in version 2.8 or version 3.0. You must still be using an older version of the library by mistake. Please check your work and try again. -- D. Richard Hipp -- [EMAIL PROTECTED] -- 704.948.4565
[sqlite] php: src/auth.c:128: sqliteAuthRead: Assertion `pStack!=0' failed.
D. Richard Hipp wrote: > Per Jessen wrote: >> I'm running a small php-script in command-line mode - initially everything >> goes fine until a table in the db reaches around 8700 rows, then I see the >> assert failing. >> >> This is 2.8.15, which I'm using with PHP4.3.8/SQLite-1.0.3. I don't believe >> I'm doing anything overly complicated - lots of inserts, the occasional >> update. >> > > This is probably the same as ticket #896 which is fixed in the CVS tree. I've now rebuilt a copy from the CVS and I still get the: php: src/auth.c:128: sqliteAuthRead: Assertion `pStack!=0' failed. I didn't rebuild the database though - is it needed? thanks, Per -- Per Jessen, Zurich Let your spam stop here -- http://www.spamchek.com
Re: [sqlite] php: src/auth.c:128: sqliteAuthRead: Assertion `pStack!=0' failed.
Per Jessen wrote: FYI, I tried building from CVS - btree.c doesn't compile with -DNDEBUG. We have just begun work on some major enhancements to the library. So issues like this will come up from time to time in CVSHEAD for the next couple of months. You can either fall back to the previous version or wait a few hours for the problem to be fixed. The particular issue you describe has already been fixed (just a few minutes ago) so I think if you do a "cvs update" and try again it might just work for you. -- D. Richard Hipp -- [EMAIL PROTECTED] -- 704.948.4565
Re: [sqlite] php: src/auth.c:128: sqliteAuthRead: Assertion `pStack!=0' failed.
Per Jessen wrote: > D. Richard Hipp wrote: > >> This is probably the same as ticket #896 which is fixed in the CVS tree. >> See: > > FYI, I tried building from CVS - btree.c doesn't compile with -DNDEBUG. > And when I edited the Makefile.in to remove -DNDEBUG, I ended up with: Did another checkout, now builds fine. Any chance of having eg. a daily CVS snapshot available as download? I usually don't bother with a CVS checkout, but the snapshots have been a great help with apache projects such as xalan and xerces. -- Per Jessen, Zurich Let your spam stop here -- http://www.spamchek.com
Re: [sqlite] php: src/auth.c:128: sqliteAuthRead: Assertion `pStack!=0' failed.
D. Richard Hipp wrote: > This is probably the same as ticket #896 which is fixed in the CVS tree. > See: FYI, I tried building from CVS - btree.c doesn't compile with -DNDEBUG. And when I edited the Makefile.in to remove -DNDEBUG, I ended up with: ./libtool --mode=link gcc -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1 -I. -I./src -DHAVE_READLINE=1 -I/usr/include/readline \ -o sqlite3 ./src/shell.c libsqlite3.la -lreadline -lreadline gcc -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1 -I. -I./src -DHAVE_READLINE=1 -I/usr include/readline -o .libs/sqlite3 ./src/shell.c ./.libs/libsqlite3.so -lreadline ./.libs/libsqlite3.so: undefined reference to `sqlite3pager_refdump' collect2: ld returned 1 exit status make: *** [sqlite3] Error 1 /Per -- Per Jessen, Zurich Let your spam stop here -- http://www.spamchek.com
Re: [sqlite] php: src/auth.c:128: sqliteAuthRead: Assertion `pStack!=0' failed.
Per Jessen wrote: I'm running a small php-script in command-line mode - initially everything goes fine until a table in the db reaches around 8700 rows, then I see the assert failing. This is 2.8.15, which I'm using with PHP4.3.8/SQLite-1.0.3. I don't believe I'm doing anything overly complicated - lots of inserts, the occasional update. This is probably the same as ticket #896 which is fixed in the CVS tree. See: http://www.sqlite.org/cvstrac/tktview?tn=896 -- D. Richard Hipp -- [EMAIL PROTECTED] -- 704.948.4565
[sqlite] php: src/auth.c:128: sqliteAuthRead: Assertion `pStack!=0' failed.
I'm running a small php-script in command-line mode - initially everything goes fine until a table in the db reaches around 8700 rows, then I see the assert failing. This is 2.8.15, which I'm using with PHP4.3.8/SQLite-1.0.3. I don't believe I'm doing anything overly complicated - lots of inserts, the occasional update. any help appreciated! /Per -- regards, Per Jessen, Zurich http://www.spamchek.com - let your spam stop here!