The following script causes a segfault in the CLI:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2),(99,100),(4,3);
SELECT * FROM t1;
This problem appears to be a case of using a prepared statement
after it has been finalized. The problem was introduced by
check-in [ae34edb7f4fa7b37] on 2018-03-20 and first appeared in
the version 3.23.0 release.
To be clear: This is a problem with the command-line shell auxiliary
program that uses SQLite. It is not a defect in SQLite itself.
This problem was discovered during internal testing and has not been
reported in the wild.