[sqlite] Program is crashed on sqlite3_finalize(pStmt);

2008-09-17 Thread Joanne Pham
Hi All, I have c++ application which is used SQLite 3.5.9. Occasionally  the application is crash on      ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users sqlite3_finalize(pStmt); Is th

Re: [sqlite] Program is crashed on sqlite3_finalize(pStmt);

2008-09-18 Thread Joanne Pham
tabase Sent: Wednesday, September 17, 2008 10:14:18 AM Subject: [sqlite] Program is crashed on sqlite3_finalize(pStmt); Hi All, I have c++ application which is used SQLite 3.5.9. Occasionally  the application is crash on    sqlite3_finalize(pStmt); Is that true the sqlite3_finalize(pStmt) invoked

Re: [sqlite] Program is crashed on sqlite3_finalize(pStmt);

2008-09-18 Thread Robert Simpson
o: General Discussion of SQLite Database Sent: Wednesday, September 17, 2008 10:14:18 AM Subject: [sqlite] Program is crashed on sqlite3_finalize(pStmt); Hi All, I have c++ application which is used SQLite 3.5.9. Occasionally  the application is crash on    sqlite3_finalize(pStmt); Is that true

Re: [sqlite] Program is crashed on sqlite3_finalize(pStmt);

2008-09-18 Thread Mihai Limbasan
ber 18, 2008 8:44 AM To: General Discussion of SQLite Database Subject: Re: [sqlite] Program is crashed on sqlite3_finalize(pStmt); Hi All, How to check if the pStmt is not finalize so sqlite3_finalize(pStmt) can be call again. I think I called sqlite3_finalize(pStmt) twice so my application is

Re: [sqlite] Program is crashed on sqlite3_finalize(pStmt);

2008-09-18 Thread Joanne Pham
cussion of SQLite Database Sent: Thursday, September 18, 2008 8:54:49 AM Subject: Re: [sqlite] Program is crashed on sqlite3_finalize(pStmt); You can't.  The memory pStmt points to is freed and invalid after the call to finalize.  Worse, that freed memory could've already been reallocated fo