Running the attached script (which consists of the schema of
| Skrooge] following by a single query)
results in a segfault.  The original bug report can be seen
at and the report
on the SQLite mailing list is at

Bisecting suggests that the problem was inserted by
check-in [430bb59d798286a86c351].