- sqlite3: table prevented pst gc unless close-on-exec - statement cache wrongly disabled close-on-exec (not a leak, just gc'd very slowly) - limit statement cache size
This "fixes" the segfault in the test program, but it seems like there must be another underlying problem.