SQLite Forum

Timeline
Login

25 forum posts by user 0xjnml

2021-11-19
15:52 Reply: Possible data race in os.unix.c:5805:unixTempFileDir (artifact: 5df0c6ca22 user: 0xjnml)

Thank you very much for taking care of this.

10:52 Post: Possible data race in os.unix.c:5805:unixTempFileDir (artifact: f670d7ae20 user: 0xjnml)

Hi.

A user of the Go transpiled SQLite library is reporting a data race.

It seems that at L5819 and L5819 the unixTempFileDir function is performing a lazy initialization of the first two items in the azDirs array.

This initialization is not protected by a mutex. Meaning unixTempFileDir is not thread safe per se. I was not able to quickly find if calls to unixTempFileDir are synchronized somewhere else, up the call stack.

I'll probably for now attempt a quick fix by a local patch adding a mutex around the lazy initialization, but I'd like to ask if someone more competent can verify if it is - or is not a bug in the SQLite3 code base. If that's the case it would save me from chasing a bug on my side.

Thanks in advance for anyone's kind help.

2021-09-13
15:46 Reply: Q shrink.test (artifact: 42837ffd0b user: 0xjnml)

Fantastic, thanks a lot.

09:27 Reply: Q shrink.test (artifact: 3df9e02b7e user: 0xjnml)

Gentle ping after a week has passed.

2021-09-06
09:14 Post: Q shrink.test (artifact: 90a74bd618 user: 0xjnml)

Hi all,

while debugging I noticed something that might be a bug - or my misunderstanding of the Tcl language.

https://github.com/sqlite/sqlite/blob/e7e9539d99b2cdc63d354bc31933f3be7b4bbc4c/test/shrink.test#L27 reads

set ::baseline sqlite3_memory_used

I think that it might actually be

set ::baseline [sqlite3_memory_used]

instead, analogically to lines 35 and 42.

Reporting it here in case it's a bug. Sorry for the noise otherwise.

-j

2021-01-21
14:46 Reply: windows: tester.tcl question (artifact: c561a7fa10 user: 0xjnml)

Thank you very much!

I'll report back the outcome here in a few days. The Windows port maintainer is located in a different time zone, our communications are slowed down a bit because of that.

-j

14:43 Reply: windows: tester.tcl question (artifact: 3003fd87ad user: 0xjnml)

Thanks for the suggestion. It's what we tried to do and it seems to work for us.

-j

10:48 Reply: windows: tester.tcl question (artifact: 39e4586ed3 user: 0xjnml)

I have sadly missed your reply and it seems to have been meanwhile deleted.

I'd still like to know what's the proper resolution of the issue. In particular, if the bug is in SQLite's tester.tcl, Tcl per se, or it is actually us doing something wrong. In the last case we have to fix it.

Thanks in advance for your kind cooperation.

-j

2021-01-18
13:56 Reply: windows: tester.tcl question (artifact: 5b2e0eb14d user: 0xjnml)

The Windows port maintainer did a test with Tcl binary on Windows and reported the observations:

%  string trim [exec -- $::env(ComSpec) /c %CD% ]
'"%"CD"%"' is not recognized as an internal or external command, operable program or batch file.
%

It seems to me like a bug in Tcl per se.

We fixed out local copy of tester.tcl here and it appears to work for us.

I'm aware of at least two places in SQLite repository that use the same [exec -- $::env(ComSpec) /c %CD% ] approach on Windows that may need updating and retesting.

  • A recent patch, fixing danp128's report of a different issue the Go port ran into.

  • Here it seems to be used in tester.tcl at tip.

2021-01-16
18:53 Reply: windows: tester.tcl question (artifact: f8a5429efc user: 0xjnml)

tester.tcl works fine on all *nix targets for us. The problem manifests only on Windows.

tester.tcl seems to work fine on every machine we run it on here.

No disrespect intended, but may I ask if there are also Windows machines in "every machine"?

I presume they are and that would imply there's something to fix on Go side. I'm just trying to clarify this so we know which area to look into before digging into it more.

Thank you for your kind cooperation!

16:31 Post: windows: tester.tcl question (artifact: 1568190ddf user: 0xjnml)

Hi there.

There's a transpiler-produced port of SQLite for Go - as some of you may have already noticed. The maintainer of the Windows target posted at the issue tracker a proposed fix for proc get_pwd, which seems to work for him.

I'm no Tcl expert. Can someone more familiar with the tester.tcl code please take a look and provide some insight? In particular it would be good to know if we're doing something wrong or if it might be an upstream bug.

Thanks in advance.

-j

2020-10-04
09:39 Post: Building testfixture for Windows on Linux using mingw (artifact: 0a93e9c310 user: 0xjnml)

My development system is Linux/amd64 and I would like to produce testfixture.exe for Windows/amd64 using mingw.

I tried like this:

jnml@3900x:~/src/modernc.org/sqlite/testdata/sqlite-src-3330000$ make distclean && ./configure --host=x86_64-w64-mingw32 && make testfixture 
rm -f *.lo *.la *.o sqlite3 libsqlite3.la
rm -f sqlite3.h opcodes.*
rm -rf .libs .deps
rm -f lemon.exe lempar.c parse.* sqlite*.tar.gz
rm -f mkkeywordhash.exe keywordhash.h
rm -f *.da *.bb *.bbg gmon.out
rm -rf tsrc .target_source
rm -f tclsqlite3
rm -f testfixture test.db
rm -f LogEst fts3view rollback-test showdb
rm -f showjournal showstat4 showwal speedtest1
rm -f wordcount changeset
rm -f sqlite3.dll sqlite3.lib sqlite3.exp sqlite3.def
rm -f sqlite3.c
rm -f sqlite3rc.h
rm -f shell.c sqlite3ext.h
rm -f sqlite3_analyzer sqlite3_analyzer.c
rm -f sqlite-*-output.vsix
rm -f mptester mptester.exe
rm -f rbu rbu.exe
rm -f srcck1 srcck1.exe
rm -f fuzzershell fuzzershell.exe
rm -f fuzzcheck fuzzcheck.exe
rm -f sqldiff sqldiff.exe
rm -f dbhash dbhash.exe
rm -f fts5.* fts5parse.*
rm -f config.h config.log config.status libtool Makefile sqlite3.pc
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-w64-mingw32
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-w64-mingw32-gcc accepts -g... yes
checking for x86_64-w64-mingw32-gcc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-w64-mingw32-gcc... /usr/bin/x86_64-w64-mingw32-ld
checking if the linker (/usr/bin/x86_64-w64-mingw32-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-w64-mingw32-nm -B
checking the name lister (/usr/bin/x86_64-w64-mingw32-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/x86_64-w64-mingw32-ld option to reload object files... -r
checking for x86_64-w64-mingw32-objdump... x86_64-w64-mingw32-objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar
checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip
checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-ranlib
checking command to parse /usr/bin/x86_64-w64-mingw32-nm -B output from x86_64-w64-mingw32-gcc object... ok
checking how to run the C preprocessor... x86_64-w64-mingw32-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... no
checking for objdir... .libs
checking if x86_64-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if x86_64-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if x86_64-w64-mingw32-gcc static flag -static works... yes
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... yes
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-w64-mingw32-gcc linker (/usr/bin/x86_64-w64-mingw32-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for intptr_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uintptr_t... yes
checking for sys/types.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for fdatasync... no
checking for gmtime_r... no
checking for isnan... yes
checking for localtime_r... no
checking for localtime_s... no
checking for malloc_usable_size... no
checking for strchrnul... no
checking for usleep... yes
checking for utime... yes
checking for pread... no
checking for pread64... no
checking for pwrite... no
checking for pwrite64... no
checking for tclsh8.7... no
checking for tclsh8.6... tclsh8.6
configure: Version set to 3.33
configure: Release set to 3.33.0
configure: Version number set to 3033000
checking for gcc... gcc
checking whether to support threadsafe operation... yes
checking for library containing pthread_create... -lpthread
checking for library containing pthread_mutexattr_init... none required
checking whether to support shared library linked as release mode or not... no
checking whether to use an in-ram database for temporary tables... no
checking if executables have the .exe suffix... unknown
checking for Tcl configuration... found /usr/lib/tclConfig.sh
checking for existence of /usr/lib/tclConfig.sh... loading
checking for library containing readline... no
checking for library containing tgetent... no
checking for readline in -lreadline... no
checking readline.h usability... no
checking readline.h presence... no
checking for readline.h... no
checking for library containing fdatasync... no
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking for library containing deflate... no
checking for library containing dlopen... no
checking whether to support MEMSYS5... no
checking whether to support MEMSYS3... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sqlite3.pc
config.status: creating config.h
config.status: executing libtool commands
gcc  -g -o mkkeywordhash.exe   /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/tool/mkkeywordhash.c
./mkkeywordhash.exe >keywordhash.h
gcc  -g -o lemon.exe /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/tool/lemon.c
cp /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/tool/lempar.c .
cp /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/parse.y .
./lemon.exe   -S parse.y
cat parse.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/vdbe.c | tclsh8.6 /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/tool/mkopcodeh.tcl >opcodes.h
tclsh8.6 /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/tool/mkopcodec.tcl opcodes.h >opcodes.c
tclsh8.6 /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/tool/mkshellc.tcl >shell.c
tclsh8.6 /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/tool/mksqlite3h.tcl /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000 >sqlite3.h
cp /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts5/fts5parse.y .
rm -f fts5parse.h
./lemon.exe  -S fts5parse.y
tclsh8.6 /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts5/tool/mkfts5c.tcl
cp /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts5/fts5.h .
rm -rf tsrc
mkdir tsrc
cp -f /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/alter.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/analyze.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/attach.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/auth.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/backup.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/bitvec.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/btmutex.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/btree.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/btree.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/btreeInt.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/build.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/callback.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/complete.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/ctime.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/date.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/dbpage.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/dbstat.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/delete.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/expr.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/fault.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/fkey.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/func.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/global.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/hash.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/hash.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/hwtime.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/insert.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/legacy.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/loadext.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/main.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/malloc.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/mem0.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/mem1.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/mem2.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/mem3.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/mem5.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/memdb.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/memjournal.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/msvc.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/mutex.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/mutex.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/mutex_noop.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/mutex_unix.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/mutex_w32.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/notify.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/os.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/os.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/os_common.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/os_setup.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/os_unix.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/os_win.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/os_win.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/pager.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/pager.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/parse.y /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/pcache.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/pcache.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/pcache1.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/pragma.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/pragma.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/prepare.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/printf.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/random.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/resolve.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/rowset.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/select.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/status.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/shell.c.in /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/sqlite.h.in /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/sqlite3ext.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/sqliteInt.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/sqliteLimit.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/table.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/tclsqlite.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/threads.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/tokenize.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/treeview.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/trigger.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/utf.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/update.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/upsert.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/util.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/vacuum.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/vdbe.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/vdbe.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/vdbeapi.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/vdbeaux.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/vdbeblob.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/vdbemem.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/vdbesort.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/vdbetrace.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/vdbevtab.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/vdbeInt.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/vtab.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/vxworks.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/wal.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/wal.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/walker.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/where.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/wherecode.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/whereexpr.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/whereInt.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/window.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts1/fts1.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts1/fts1.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts1/fts1_hash.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts1/fts1_hash.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts1/fts1_porter.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts1/fts1_tokenizer.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts1/fts1_tokenizer1.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts2/fts2.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts2/fts2.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts2/fts2_hash.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts2/fts2_hash.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts2/fts2_icu.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts2/fts2_porter.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts2/fts2_tokenizer.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts2/fts2_tokenizer.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts2/fts2_tokenizer1.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3/fts3.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3/fts3.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3/fts3Int.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3/fts3_aux.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3/fts3_expr.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3/fts3_hash.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3/fts3_hash.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3/fts3_icu.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3/fts3_porter.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3/fts3_snippet.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3/fts3_tokenizer.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3/fts3_tokenizer.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3/fts3_tokenizer1.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3/fts3_tokenize_vtab.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3/fts3_unicode.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3/fts3_unicode2.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3/fts3_write.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/icu/sqliteicu.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/icu/icu.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/rtree/rtree.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/rtree/rtree.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/rtree/geopoly.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/session/sqlite3session.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/session/sqlite3session.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/userauth/userauth.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/userauth/sqlite3userauth.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/rbu/sqlite3rbu.h /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/rbu/sqlite3rbu.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/json1.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/stmt.c keywordhash.h opcodes.c opcodes.h parse.c parse.h config.h shell.c sqlite3.h tsrc
rm tsrc/sqlite.h.in tsrc/parse.y
tclsh8.6 /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/tool/vdbe-compress.tcl  <tsrc/vdbe.c >vdbe.new
mv vdbe.new tsrc/vdbe.c
cp fts5.c fts5.h tsrc
touch .target_source
tclsh8.6 /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/tool/mksqlite3c.tcl
cp tsrc/sqlite3ext.h .
cp /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/session/sqlite3session.h .
./libtool --mode=link x86_64-w64-mingw32-gcc -g -O2 -DSQLITE_OS_UNIX=1 -I. -I/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src -I/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/rtree -I/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/icu -I/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3 -I/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/async -I/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/session -I/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/userauth -D_HAVE_SQLITE_CONFIG_H -DBUILD_sqlite -DNDEBUG -I/usr/include/tcl8.6 -DSQLITE_THREADSAFE=1       -DSQLITE_NO_SYNC=1 -DSQLITE_TEMP_STORE=1 -DSQLITE_TEST=1 -DSQLITE_CRASH_TEST=1 -DTCLSH_INIT_PROC=sqlite3TestInit -DSQLITE_SERVER=1 -DSQLITE_PRIVATE="" -DSQLITE_CORE -DBUILD_sqlite -DSQLITE_SERIES_CONSTRAINT_VERIFY=1 -DSQLITE_DEFAULT_PAGE_SIZE=1024 -DSQLITE_ENABLE_STMTVTAB -DSQLITE_ENABLE_DBPAGE_VTAB -DSQLITE_ENABLE_BYTECODE_VTAB -DSQLITE_ENABLE_DESERIALIZE \
	-o testfixture /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test1.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test2.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test3.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test4.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test5.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test6.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test7.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test8.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test9.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_autoext.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_async.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_backup.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_bestindex.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_blob.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_btree.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_config.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_delete.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_demovfs.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_devsym.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_fs.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_func.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_hexio.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_init.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_intarray.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_journal.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_malloc.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_md5.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_multiplex.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_mutex.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_onefile.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_osinst.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_pcache.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_quota.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_rtree.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_schema.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_server.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_superlock.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_syscall.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_tclsh.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_tclvar.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_thread.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_vdbecov.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_vfs.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_windirent.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_window.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_wsd.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3/fts3_term.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3/fts3_test.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/session/test_session.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/rbu/test_rbu.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/expert/sqlite3expert.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/expert/test_expert.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/amatch.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/carray.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/closure.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/csv.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/decimal.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/eval.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/explain.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/fileio.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/fuzzer.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts5/fts5_tcl.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts5/fts5_test_mi.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts5/fts5_test_tok.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/ieee754.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/mmapwarm.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/nextchar.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/normalize.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/percentile.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/prefixes.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/regexp.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/remember.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/series.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/spellfix.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/totype.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/unionvtab.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/wholenumber.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/zipfile.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/userauth/userauth.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/tclsqlite.c sqlite3.c -L/usr/lib/x86_64-linux-gnu -ltcl8.6 -lpthread  
libtool: link: x86_64-w64-mingw32-gcc -g -O2 -DSQLITE_OS_UNIX=1 -I. -I/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src -I/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/rtree -I/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/icu -I/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3 -I/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/async -I/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/session -I/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/userauth -D_HAVE_SQLITE_CONFIG_H -DBUILD_sqlite -DNDEBUG -I/usr/include/tcl8.6 -DSQLITE_THREADSAFE=1 -DSQLITE_NO_SYNC=1 -DSQLITE_TEMP_STORE=1 -DSQLITE_TEST=1 -DSQLITE_CRASH_TEST=1 -DTCLSH_INIT_PROC=sqlite3TestInit -DSQLITE_SERVER=1 -DSQLITE_PRIVATE= -DSQLITE_CORE -DBUILD_sqlite -DSQLITE_SERIES_CONSTRAINT_VERIFY=1 -DSQLITE_DEFAULT_PAGE_SIZE=1024 -DSQLITE_ENABLE_STMTVTAB -DSQLITE_ENABLE_DBPAGE_VTAB -DSQLITE_ENABLE_BYTECODE_VTAB -DSQLITE_ENABLE_DESERIALIZE -o .libs/testfixture /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test1.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test2.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test3.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test4.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test5.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test6.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test7.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test8.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test9.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_autoext.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_async.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_backup.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_bestindex.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_blob.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_btree.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_config.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_delete.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_demovfs.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_devsym.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_fs.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_func.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_hexio.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_init.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_intarray.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_journal.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_malloc.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_md5.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_multiplex.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_mutex.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_onefile.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_osinst.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_pcache.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_quota.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_rtree.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_schema.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_server.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_superlock.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_syscall.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_tclsh.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_tclvar.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_thread.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_vdbecov.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_vfs.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_windirent.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_window.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_wsd.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3/fts3_term.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts3/fts3_test.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/session/test_session.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/rbu/test_rbu.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/expert/sqlite3expert.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/expert/test_expert.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/amatch.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/carray.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/closure.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/csv.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/decimal.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/eval.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/explain.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/fileio.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/fuzzer.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts5/fts5_tcl.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts5/fts5_test_mi.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/fts5/fts5_test_tok.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/ieee754.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/mmapwarm.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/nextchar.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/normalize.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/percentile.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/prefixes.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/regexp.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/remember.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/series.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/spellfix.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/totype.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/unionvtab.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/wholenumber.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/zipfile.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/userauth/userauth.c /home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/tclsqlite.c sqlite3.c  -L/usr/lib/x86_64-linux-gnu -ltcl8.6 -lpthread
/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test1.c:6928:10: fatal error: sys/resource.h: No such file or directory
 #include <sys/resource.h>
          ^~~~~~~~~~~~~~~~
compilation terminated.
/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_demovfs.c: In function 'demoSync':
/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_demovfs.c:326:8: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration]
   rc = fsync(p->fd);
        ^~~~~
/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_quota.c: In function 'sqlite3_quota_fflush':
/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_quota.c:1087:10: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration]
     rc = fsync(fileno(p->f));
          ^~~~~
/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/src/test_syscall.c:93:10: fatal error: sys/mman.h: No such file or directory
 #include <sys/mman.h>
          ^~~~~~~~~~~~
compilation terminated.
/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/fileio.c: In function 'writefileFunc':
/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/fileio.c:491:9: warning: implicit declaration of function 'S_ISLNK'; did you mean 'S_ISBLK'? [-Wimplicit-function-declaration]
     if( S_ISLNK(mode) ){
         ^~~~~~~
         S_ISBLK
/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/fileio.c: At top level:
/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/fileio.c:545:3: error: unknown type name 'DIR'
   DIR *pDir;                 /* From opendir() */
   ^~~
/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/fileio.c: In function 'fsdirResetCursor':
/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/fileio.c:626:22: warning: implicit declaration of function 'closedir'; did you mean 'close'? [-Wimplicit-function-declaration]
     if( pLvl->pDir ) closedir(pLvl->pDir);
                      ^~~~~~~~
                      close
/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/fileio.c: In function 'fsdirNext':
/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/fileio.c:689:18: warning: implicit declaration of function 'opendir'; did you mean 'open'? [-Wimplicit-function-declaration]
     pLvl->pDir = opendir(pLvl->zDir);
                  ^~~~~~~
                  open
/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/fileio.c:689:16: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     pLvl->pDir = opendir(pLvl->zDir);
                ^
/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/fileio.c:698:29: warning: implicit declaration of function 'readdir'; did you mean 'read'? [-Wimplicit-function-declaration]
     struct dirent *pEntry = readdir(pLvl->pDir);
                             ^~~~~~~
                             read
/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/fileio.c:698:29: warning: initialization of 'struct DIRENT *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/fileio.c:700:17: error: dereferencing pointer to incomplete type 'struct DIRENT'
       if( pEntry->d_name[0]=='.' ){
                 ^~
/home/jnml/src/modernc.org/sqlite/testdata/sqlite-src-3330000/ext/misc/zipfile.c:33:10: fatal error: zlib.h: No such file or directory
 #include <zlib.h>
          ^~~~~~~~
compilation terminated.
sqlite3.c:33443:10: fatal error: sys/ioctl.h: No such file or directory
 #include <sys/ioctl.h>
          ^~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1242: testfixture] Chyba 1
jnml@3900x:~/src/modernc.org/sqlite/testdata/sqlite-src-3330000$ 

The presence of -DSQLITE_OS_UNIX=1 above seems to indicate an attempt to build the unix version of tesfixture instead.

I don't know if this scenario is not supported or if I'm making something wrong.

Any hints will be appreciated, thanks in advance.

2020-08-27
19:34 Reply: SQLITE_ENABLE_STAT4 triggers failures in analyze3.test (artifact: deb4c213a9 user: 0xjnml)

I concur that 2^87 is a bit of an overkill ;-)

But maybe considering all of those 87 options, one by one, would be a viable option?

2020-08-26
12:12 Post: SQLITE_ENABLE_STAT4 triggers failures in analyze3.test (artifact: a9f6bb5c78 user: 0xjnml)

Probably the tests just need to be adjusted for updated output of EXPLAIN (1.1.3.102 and 1.1.3.104). No idea about the other failures.


sqlite-src-3330000$ cat bug.sh
make distclean
./configure CFLAGS="-DSQLITE_ENABLE_STAT4"
make testfixture
cd test
../testfixture permutations.test prepare analyze3.test
sqlite-src-3330000$ ./bug.sh

...

prepare.analyze3-1.1.3.102...
! prepare.analyze3-1.1.3.102 expected: [/*SCAN TABLE t1*/]
! prepare.analyze3-1.1.3.102 got:      [4 0 0 {SEARCH TABLE t1 USING INDEX i1 (x>? AND x<?)}]
...
prepare.analyze3-1.1.3.104...
! prepare.analyze3-1.1.3.104 expected: [/*SCAN TABLE t1*/]
! prepare.analyze3-1.1.3.104 got:      [4 0 0 {SEARCH TABLE t1 USING INDEX i1 (x>? AND x<?)}]
...
prepare.analyze3-1.1.8...
! prepare.analyze3-1.1.8 expected: [999 999 499500]
! prepare.analyze3-1.1.8 got:      [2000 0 499500]
prepare.analyze3-1.1.9...
! prepare.analyze3-1.1.9 expected: [999 999 499500]
! prepare.analyze3-1.1.9 got:      [2000 0 499500]
...
prepare.analyze3-1.2.8...
! prepare.analyze3-1.2.8 expected: [999 999 text text 490555]
! prepare.analyze3-1.2.8 got:      [1981 0 text text 490555]
prepare.analyze3-1.2.9...
! prepare.analyze3-1.2.9 expected: [999 999 integer integer 490555]
! prepare.analyze3-1.2.9 got:      [1981 0 integer integer 490555]
...
prepare.analyze3-1.3.8...
! prepare.analyze3-1.3.8 expected: [999 999 499500]
! prepare.analyze3-1.3.8 got:      [2000 0 499500]
prepare.analyze3-1.3.9...
! prepare.analyze3-1.3.9 expected: [999 999 499500]
! prepare.analyze3-1.3.9 got:      [2000 0 499500]
...
prepare.analyze3-2.6...
! prepare.analyze3-2.6 expected: [102 0 100]
! prepare.analyze3-2.6 got:      [999 999 100]
...
prepare.analyze3-2.8...
! prepare.analyze3-2.8 expected: [102 0 0]
! prepare.analyze3-2.8 got:      [999 999 0]
prepare.analyze3-2.9...
! prepare.analyze3-2.9 expected: [12 0 0]
! prepare.analyze3-2.9 got:      [999 999 0]
prepare.analyze3-2.10...
! prepare.analyze3-2.10 expected: [3 0 1]
! prepare.analyze3-2.10 got:      [999 999 1]
prepare.analyze3-2.11...
! prepare.analyze3-2.11 expected: [102 0 10]
! prepare.analyze3-2.11 got:      [999 999 10]

...

SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f
13 errors out of 107 tests on e5-1650 Linux 64-bit little-endian
!Failures on these tests: prepare.analyze3-1.1.3.102 prepare.analyze3-1.1.3.104 prepare.analyze3-1.1.8 prepare.analyze3-1.1.9 prepare.analyze3-1.2.8 prepare.analyze3-1.2.9 prepare.analyze3-1.3.8 prepare.analyze3-1.3.9 prepare.analyze3-2.6 prepare.analyze3-2.8 prepare.analyze3-2.9 prepare.analyze3-2.10 prepare.analyze3-2.11
All memory allocations freed - no leaks
Memory used:          now          0  max     282208  max-size      65544
Allocation count:     now          0  max        319
Page-cache used:      now          0  max          0  max-size       1288
Page-cache overflow:  now          0  max      82952
Maximum memory usage: 282208 bytes
Current memory usage: 0 bytes
Number of malloc()  : -1 calls
sqlite-src-3330000$
11:35 Reply: SQLITE_OMIT_UTF16 triggers test failure in numcast.test (artifact: 63cc9a6232 user: 0xjnml)

trace3.test

trace3-8.7...
! trace3-8.7 expected: [{} {SELECT a, b FROM t1 WHERE b = 'hi' ORDER BY a;}]
! trace3-8.7 got:      [{} {SELECT a, b FROM t1 WHERE b = 123.0 ORDER BY a;}]
11:30 Reply: SQLITE_OMIT_UTF16 triggers test failure in numcast.test (artifact: 850d4d4cd0 user: 0xjnml)

And skipscan5.test

...

skipscan5-1.3.18... Ok
/tmp/sqlite-test-624677444/testfixture: invalid command name "add_test_collate"
    while executing
"add_test_collate db 0 0 1 "
    ("eval" body line 1)
    invoked from within
"eval $coll"
    ("foreach" body line 3)
    invoked from within
"foreach {tn dbenc coll} {
  1 UTF-8   { add_test_collate db 0 0 1 }
  2 UTF-16  { add_test_collate db 1 0 0 }
  3 UTF-8   { add_test_collate db 0 1 0 ..."
    (file "/tmp/sqlite-test-624677444/skipscan5.test" line 76)
    invoked from within
"source /tmp/sqlite-test-624677444/skipscan5.test"
    invoked from within
"interp eval tinterp $script"
    (procedure "slave_test_script" line 30)
    invoked from within
"slave_test_script [list source $zFile] "
    invoked from within
"time { slave_test_script [list source $zFile] }"
    (procedure "slave_test_file" line 23)
    invoked from within
"slave_test_file $file"
    (procedure "run_tests" line 19)
    invoked from within
"run_tests extraquick -presql {} -files {shared3.test writecrash.test vacuum5.test func4.test tkt3731.test upfrom1.test vacuum2.test tkt-2ea2425d34.tes..."
    ("eval" body line 1)
    invoked from within
"eval run_tests $suite $S $extra"
    (procedure "main" line 33)
    invoked from within
"main $argv"
    (file "permutations.test" line 1227)
    invoked from within
"source $argv0"
    invoked from within
"if {[llength $argv]>=1} {
set argv0 [lindex $argv 0]
set argv [lrange $argv 1 end]
source $argv0
} else {
set line {}
while {![eof stdin]} {
if {$line..."
    tcl_test.go:119: exit status 1
--- FAIL: TestTclTest (1.80s)
FAIL
exit status 1
FAIL	modernc.org/sqlite	1.801s
jnml@e5-1650:~/src/modernc.org/sqlite$
11:25 Reply: SQLITE_OMIT_UTF16 triggers test failure in numcast.test (artifact: 775ff5fe37 user: 0xjnml)

Same problem with pragma4.test

...

pragma4-1.12.1...
! pragma4-1.12.1 expected: [1]
! pragma4-1.12.1 got:      [0]

...
11:17 Post: SQLITE_OMIT_UTF16 triggers test failure in numcast.test (artifact: a0461eef7b user: 0xjnml)

The test is probably missing a constraint check.

sqlite-src-3330000$ cat bug.sh 
make distclean
./configure CFLAGS="-DSQLITE_OMIT_UTF16"
make testfixture
cd test
../testfixture permutations.test extraquick numcast.test
sqlite-src-3330000$ ./bug.sh 
rm -f *.lo *.la *.o sqlite3 libsqlite3.la

...

numcast-utf8.0...
! numcast-utf8.0 expected: [utf8]
! numcast-utf8.0 got:      []
numcast-utf8.1.1... Ok
numcast-utf8.1.2... Ok
numcast-utf8.2.1... Ok
numcast-utf8.2.2... Ok
numcast-utf8.3.1... Ok
numcast-utf8.3.2... Ok
numcast-utf8.4.1... Ok
numcast-utf8.4.2... Ok
numcast-utf8.5.1... Ok
numcast-utf8.5.2... Ok
numcast-utf8.6.1... Ok
numcast-utf8.6.2... Ok
numcast-utf8.7.1... Ok
numcast-utf8.7.2... Ok
numcast-utf8.8.1... Ok
numcast-utf8.8.2... Ok
numcast-utf16le.0...
! numcast-utf16le.0 expected: [utf16le]
! numcast-utf16le.0 got:      []
numcast-utf16le.1.1... Ok
numcast-utf16le.1.2... Ok
numcast-utf16le.2.1... Ok
numcast-utf16le.2.2... Ok
numcast-utf16le.3.1... Ok
numcast-utf16le.3.2... Ok
numcast-utf16le.4.1... Ok
numcast-utf16le.4.2... Ok
numcast-utf16le.5.1... Ok
numcast-utf16le.5.2... Ok
numcast-utf16le.6.1... Ok
numcast-utf16le.6.2... Ok
numcast-utf16le.7.1... Ok
numcast-utf16le.7.2... Ok
numcast-utf16le.8.1... Ok
numcast-utf16le.8.2... Ok
numcast-utf16be.0...
! numcast-utf16be.0 expected: [utf16be]
! numcast-utf16be.0 got:      []
numcast-utf16be.1.1... Ok
numcast-utf16be.1.2... Ok
numcast-utf16be.2.1... Ok
numcast-utf16be.2.2... Ok
numcast-utf16be.3.1... Ok
numcast-utf16be.3.2... Ok
numcast-utf16be.4.1... Ok
numcast-utf16be.4.2... Ok
numcast-utf16be.5.1... Ok
numcast-utf16be.5.2... Ok
numcast-utf16be.6.1... Ok
numcast-utf16be.6.2... Ok
numcast-utf16be.7.1... Ok
numcast-utf16be.7.2... Ok
numcast-utf16be.8.1... Ok
numcast-utf16be.8.2... Ok
numcast.test-closeallfiles... Ok
numcast.test-sharedcachesetting... Ok
Time: numcast.test 8 ms
Memory used:          now         24  max      57688  max-size      48000
Allocation count:     now          1  max         71
Page-cache used:      now          0  max          0  max-size       1032
Page-cache overflow:  now          0  max       1032
SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f
3 errors out of 54 tests on e5-1650 Linux 64-bit little-endian
!Failures on these tests: numcast-utf8.0 numcast-utf16le.0 numcast-utf16be.0
All memory allocations freed - no leaks
Memory used:          now          0  max      57688  max-size      48000
Allocation count:     now          0  max         71
Page-cache used:      now          0  max          0  max-size       1032
Page-cache overflow:  now          0  max       1032
Maximum memory usage: 57688 bytes
Current memory usage: 0 bytes
Number of malloc()  : -1 calls
sqlite-src-3330000$
2020-08-21
09:46 Edit reply: SQLITE_DEBUG, SQLITE_MAX_EXPR_DEPTH=0 triggers assertion failure (artifact: 00e03e785d user: 0xjnml)

Confirming the linked commit fixed the issue. Thank you.

What's the release policy of the project? Are there point releases after a couple of fixes like this accumulate?

09:46 Reply: SQLITE_DEBUG, SQLITE_MAX_EXPR_DEPTH=0 triggers assertion failure (artifact: 94bed55b5c user: 0xjnml)

Confirming the linked commit fixed the issue. Thank you.

What's the release policy of the project? Are there point releases after a couple of fixes like this accumulates?

2020-08-20
11:49 Post: SQLITE_DEBUG, SQLITE_MAX_EXPR_DEPTH=0 triggers assertion failure (artifact: 87b9262f66 user: 0xjnml)

Not sure if a bug or an illegal/unsupported compile time options combination.

Commit https://sqlite.org/src/info/3c5e63c22ffbfeb6


SQLite-3c5e63c2$ cat bug.sh 
make distclean
./configure CFLAGS="-DSQLITE_DEBUG -DSQLITE_MAX_EXPR_DEPTH=0"
make testfixture
cd test
../testfixture permutations.test extraquick misc1.test
SQLite-3c5e63c2$ ./bug.sh 
rm -f *.lo *.la *.o sqlite3 libsqlite3.la

...

misc1-20.1... Ok
misc1-21.1...testfixture: sqlite3.c:101599: sqlite3ExprListFlags: Assertion `pExpr!=0' failed.
./bug.sh: line 5:  7887 Aborted                 (core dumped) ../testfixture permutations.test extraquick misc1.test
SQLite-3c5e63c2$
11:36 Reply: SQLITE_DEBUG, DSQLITE_DEFAULT_MEMSTATUS=0, SQLITE_MEMDEBUG triggers assertion failure (artifact: 690ecbdfe6 user: 0xjnml)

I'm happy to confirm the linked commit fixed the issue, thank you.

10:34 Post: SQLITE_DEBUG, DSQLITE_DEFAULT_MEMSTATUS=0, SQLITE_MEMDEBUG triggers assertion failure (artifact: d8dfd47716 user: 0xjnml)

Not sure if this is a real memory corruption of just an "illegal" combination of compile time options. In the later case it should be probably documented and/or detected and rejected.


SQLite-d8e47382$ cat bug.sh 
make distclean
./configure CFLAGS="-DSQLITE_DEBUG -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_MEMDEBUG"
make testfixture
cd test
../testfixture permutations.test extraquick corrupt2.test
SQLite-d8e47382$ ./bug.sh 
rm -f *.lo *.la *.o sqlite3 libsqlite3.la

...

corrupt2-1.1... Ok
corrupt2-1.2... Ok
corrupt2-1.3... Ok
corrupt2-1.4... Ok
corrupt2-1.5... Ok
corrupt2-2.1... Ok
corrupt2-3.1... Ok
corrupt2-4.1... Ok
corrupt2-5.1... Ok
corrupt2-6.1... Ok
corrupt2-6.2... Ok
testfixture: sqlite3.c:24015: sqlite3MemsysGetHeader: Assertion `pU8[nReserve]==0x65' failed.
./bug.sh: line 5: 24738 Aborted                 (core dumped) ../testfixture permutations.test extraquick corrupt2.test
SQLite-d8e47382$
2020-08-19
13:47 Reply: Failing tests with -DSQLITE_MAX_MMAP_SIZE=8589934592 (artifact: f4a55e75b0 user: 0xjnml)

Ok, the change in the EXPLAIN QUERY PLAN output is not an issue, agreed.

The issue is then to adjust the tests so they pass after the change. The fix seems to be easy and small and I can try to contribute it - if that seems appropriate. (?)

12:00 Post: Failing tests with -DSQLITE_MAX_MMAP_SIZE=8589934592 (artifact: 96f692c93d user: 0xjnml)
I'm on Devuan 3 (Beowulf).

----

sqlite-src-3330000$ uname -a
Linux ... 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) x86_64 GNU/Linux
sqlite-src-3330000$ cat bug.sh 
make distclean
./configure CFLAGS=-DSQLITE_MAX_MMAP_SIZE=8589934592
make testfixture
cd test
../testfixture permutations.test extraquick bigmmap.test
sqlite-src-3330000$ ./bug.sh
rm -f *.lo *.la *.o sqlite3 libsqlite3.la

...

bigmmap-1.0... Ok
bigmmap-1.1... Ok
bigmmap-1.2... Ok
bigmmap-1.3... Ok
bigmmap-1.4... Ok
bigmmap-1.5... Ok
bigmmap-1.6... Ok
bigmmap-1.7... Ok
bigmmap-2.0.0... Ok
bigmmap-2.0.0.1... Ok
bigmmap-2.0.0.2... Ok
bigmmap-2.0.0.3...
! bigmmap-2.0.0.3 expected: [
  QUERY PLAN
  |--SCAN TABLE t0 AS o USING COVERING INDEX sqlite_autoindex_t0_1
  `--CORRELATED SCALAR SUBQUERY
     `--SEARCH TABLE t0 AS i USING INTEGER PRIMARY KEY (rowid=?)
]
! bigmmap-2.0.0.3 got:      [
  QUERY PLAN
  |--SCAN TABLE t0 AS o USING COVERING INDEX sqlite_autoindex_t0_1
  `--CORRELATED SCALAR SUBQUERY xxxxxx
     `--SEARCH TABLE t0 AS i USING INTEGER PRIMARY KEY (rowid=?)
]
bigmmap-2.0.1.1... Ok

...

bigmmap.test-closeallfiles... Ok
bigmmap.test-sharedcachesetting... Ok
Time: bigmmap.test 73 ms
Memory used:          now         24  max    1663896  max-size      87200
Allocation count:     now          1  max        543
Page-cache used:      now          0  max          0  max-size       4360
Page-cache overflow:  now          0  max    1508048
SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f
72 errors out of 236 tests on e5-1650 Linux 64-bit little-endian
!Failures on these tests: bigmmap-2.0.0.3 bigmmap-2.0.1.3 bigmmap-2.0.2.3 bigmmap-2.0.3.3 bigmmap-2.0.4.3 bigmmap-2.0.5.3 bigmmap-2.0.6.3 bigmmap-2.0.7.3 bigmmap-2.1.0.3 bigmmap-2.1.1.3 bigmmap-2.1.2.3 bigmmap-2.1.3.3 bigmmap-2.1.4.3 bigmmap-2.1.5.3 bigmmap-2.1.6.3 bigmmap-2.1.7.3 bigmmap-2.2.0.3 bigmmap-2.2.1.3 bigmmap-2.2.2.3 bigmmap-2.2.3.3 bigmmap-2.2.4.3 bigmmap-2.2.5.3 bigmmap-2.2.6.3 bigmmap-2.2.7.3 bigmmap-2.3.0.3 bigmmap-2.3.1.3 bigmmap-2.3.2.3 bigmmap-2.3.3.3 bigmmap-2.3.4.3 bigmmap-2.3.5.3 bigmmap-2.3.6.3 bigmmap-2.3.7.3 bigmmap-2.4.0.3 bigmmap-2.4.1.3 bigmmap-2.4.2.3 bigmmap-2.4.3.3 bigmmap-2.4.4.3 bigmmap-2.4.5.3 bigmmap-2.4.6.3 bigmmap-2.4.7.3 bigmmap-2.5.0.3 bigmmap-2.5.1.3 bigmmap-2.5.2.3 bigmmap-2.5.3.3 bigmmap-2.5.4.3 bigmmap-2.5.5.3 bigmmap-2.5.6.3 bigmmap-2.5.7.3 bigmmap-2.6.0.3 bigmmap-2.6.1.3 bigmmap-2.6.2.3 bigmmap-2.6.3.3 bigmmap-2.6.4.3 bigmmap-2.6.5.3 bigmmap-2.6.6.3 bigmmap-2.6.7.3 bigmmap-2.7.0.3 bigmmap-2.7.1.3 bigmmap-2.7.2.3 bigmmap-2.7.3.3 bigmmap-2.7.4.3 bigmmap-2.7.5.3 bigmmap-2.7.6.3 bigmmap-2.7.7.3 bigmmap-2.8.0.3 bigmmap-2.8.1.3 bigmmap-2.8.2.3 bigmmap-2.8.3.3 bigmmap-2.8.4.3 bigmmap-2.8.5.3 bigmmap-2.8.6.3 bigmmap-2.8.7.3
All memory allocations freed - no leaks
Memory used:          now          0  max    1663896  max-size      87200
Allocation count:     now          0  max        543
Page-cache used:      now          0  max          0  max-size       4360
Page-cache overflow:  now          0  max    1508048
Maximum memory usage: 1663896 bytes
Current memory usage: 0 bytes
Number of malloc()  : -1 calls
sqlite-src-3330000$