Re: [sqlite] sqlite3_close( ) error

2011-03-24 Thread Marian Cascaval
From: Simon Slavin <slav...@bigfraud.org> To: General Discussion of SQLite Database <sqlite-users@sqlite.org> Sent: Thu, March 24, 2011 5:39:58 AM Subject: Re: [sqlite] sqlite3_close( ) error On 24 Mar 2011, at 3:06am, Zaryab M. Munir wrote:

Re: [sqlite] sqlite3_close( ) error

2011-03-23 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/23/2011 08:06 PM, Zaryab M. Munir wrote: > I am consistently observing this error in Linux envrionment. > Wondering what can be wrong. By far the best thing to do is use valgrind. You'll immediately see who allocates and frees memory and

Re: [sqlite] sqlite3_close( ) error

2011-03-23 Thread Simon Slavin
On 24 Mar 2011, at 3:06am, Zaryab M. Munir wrote: > Also, I must mention that if I call a different callback function which > doesn't do many calloc() etc. I don't see this error. Very good diagnostic. Can you compare your code with the C example on this page:

[sqlite] sqlite3_close( ) error

2011-03-23 Thread Zaryab M. Munir
Hi, I am consistently observing this error in Linux envrionment. I have sqlite3 library linked with my DLL. The program links/loads my DLL as well as a second DLL which includes the code to open and close db connections. Wondering what can be wrong. Below is description: sqlite3 *db; 1)