Astonishingly, the problem went away when I switched from using "clang" to using "gcc", on Linux 32 bit.
The actual problem was a 'memcpy' crash, due to incorrect stack alignment. Normally, this is a gcc problem on 64-bit, but here it turned up on Linux 32 bit. Perhaps something to do with compiler flags, though I don't set the 'arch' or 'tune' to anything. So. Problem solved, and nothing really to do with sqlite per se; but I do wish compilers would do less on my behalf... -- Ron Aaron, CTO Aaron High-Tech, Ltd. +972.52.652.5543 <http://8th-dev.com>