Thanks for the bug report. We are working the problem now. Just to be clear: This is a memory leak. It is not a problem that would cause a production application to crash or malfunction. When you compile SQLite with -DSQLITE_DEBUG, it raises an assert() if a memory leak is detected, and that is exactly the assert() that you are seeing here.