program is crash when executing the detach database statement

View: New views
1 Messages — Rating Filter:   Alert me  

program is crash when executing the detach database statement

by Joanne Pham :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,
Our application  is crashed when it executed the sql statement to detach the database.
Below is the stack trace which is crashed on sqlite database function and I don't know why it is crashed.
We have sqlite version 3.5.9.
Any help is greatly appreciated.
Thanks,
JP
Program terminated with signal 11, Segmentation fault.
#0  sqlite3VdbeExec (p=0x40133b40) at ../src/vdbe.c:1272
1272    ../src/vdbe.c: No such file or directory.
        in ../src/vdbe.c
(gdb) bt
#0  sqlite3VdbeExec (p=0x40133b40) at ../src/vdbe.c:1272
#1  0xb5d96948 in sqlite3_step (pStmt=0x40133b40) at ../src/vdbeapi.c:477
#2  0xb5da0c38 in sqlite3_exec (db=0x4010a958, zSql=0xb639bda1 " DETACH DATABASE  CDB ; ", xCallback=0, pArg=0x0,
    pzErrMsg=0x4013e428) at ../src/legacy.c:72
#3  0xb637b29e in MonDb::attachDetachDB (this=0x4013d55c, cStmt=0xb639bda1 " DETACH DATABASE  CDB ; ")
    at /builds/JWOS/BLD_6.0R2.6/SRC/phoenix/src/wx/MonAgt/util/MonDb.cpp:146
#4  0xb6388d86 in CompReport::readTable (this=0x4013d558, reportParams=@0xb52da848, bCurPeriod=true, iNumRec=@0xb52d9d58,
    reportType=@0xb52d9ee4)


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