-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/08/12 18:42, Rittick Gupta wrote:
> I have a program with multiple threads.

You should run under valgrind/helgrind.

> This may or may not anything to do with the problem

I'd bet that your underlying problem is that some other part of your code
is freeing memory it shouldn't or trampling over SQLite's memory.  However
you won't see the crash in the bad code, only in the victim (SQLite).

> my question why is sqlite trying to close the database ?

It is discarding stale information it has cached, detected on starting a
new transaction.

Roger

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAlAlxPUACgkQmOOfHg372QS6mACgpLiAwk1+s1VWw0GYWMo2O3Jq
jU4AnRQS2W1tgqcfzq30stylhRcEyHlj
=B0Lb
-----END PGP SIGNATURE-----
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to