On Apr 7, 2009, at 1:11 AM, Joanne Pham wrote:

> Hi all,
> I have the application is used sqlite 3.5.9 and the program is  
> crashed with the following strack trace:
> #0  0x46b35300 in pthread_mutex_lock () from /lib/libpthread.so.0
> #1  0xb6def162 in sqlite3_mutex_enter (p=0x9aca00b6) at ../src/ 
> mutex_unix.c:192
> #2  0xb6e1ab96 in sqlite3_exec (db=0xb621a8f3,
>     zSql=0xb74117e9 " DETACH DATABASE  CDB ; ", xCallback=0, pArg=0x0,
>     pzErrMsg=0xb62219d0) at ../src/legacy.c:50
> #3  0xb73eef5e in MonDb::attachDetachDB (this=0xb6220b04,
>     cStmt=0xb74117e9 " DETACH DATABASE  CDB ; ")
>  ..
> I don't know why it crashed on sqlite3_exec and why the pArg=0x0. Do  
> you have any suggestion that I need to look at in the codes to able  
> to nail down the problem.

Probably the database handle (first arg to sqlite3_exec) is
invalid.

> Thanks,
> JP
>
>
>
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to