-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 junkJon wrote: > here is how I close my DB: > -------------------------------------------- > void MySqlite::Close() > { > sqlite3_stmt *stmt; > while((stmt = sqlite3_next_stmt(m_db, 0)) != 0) > { > sqlite3_finalize(stmt); > } > > sqlite3_close(m_db); > m_db = NULL; > }
That is generally not a good way to close things if other components are involved. Basically you finalized all prepared including those belonging to fts. Then when fts went to clean up after itself, it finalized its own statements again and you got the crash. Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFI3Y5YmOOfHg372QQRAt6KAKCNicX3foQM5Utl1+w0mlRd/+5vPACffrMe IRH1K8K2flpGH2w9ShV17iM= =2j6F -----END PGP SIGNATURE----- _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users