You should provide a test case to get help from other people !
On Tue, Apr 8, 2014 at 11:28 AM, Ashok Pitambar <ashokpitam...@gmail.com>wrote: > Hi All, > > While executing query multiple times in a loop I encountered crash in > function sqlite3MallocSize() which is called from sqlite3_free(). I see > that > an invalid memory 0xFFFFFFFF is being freed here instead of > address range 0x81BD0C98-0x81BD0E50. Any idea what is happening > here? > > stack trace: > > -000|sqlite3MallocSize( > | pPrior = 0xFFFFFFFF) > > 001|sqlite3_free( > | p = 0xFFFFFFFF) > | > | > -002|releaseMemArray( > | p = 0x81BD0C98, > | ?) > | pEnd = 0x81BD0E50 > | db = 0x812AB798 > | malloc_failed = 0 = 0x00 > | > | > -003|closeAllCursors( > | p = 0x81BDB3C8) > | > | > -004|sqlite3VdbeHalt( > | p = 0x81BDB3C8) > | db = 0x812AB798 > | > | > -005|sqlite3VdbeExec( > | p = 0x81BDB3C8) > | db = 0x812AB798 > | pIn1 = 0x81BD0BF8 > | pIn2 = 0x812B38D8 > | pIn3 = 0x81BD0BF8 > | u = (aa = (pcDest = > -2118316664 = 0x81BD0D88), ab = (cnt = -2118316 > | and_logic = ( 0 = 0x00, 0 = 0x00, > 0 = 0x00, 0 = 0x00, 1 = 0x01, > | or_logic = ( 0 = 0x00, 1 = 0x01, > 2 = 0x02, 1 = 0x01, 1 = 0x01, > | > | > -006|sqlite3Step( > | ?) > | > | > -007|sqlite3_step( > | pStmt = 0x81BDB3C8) > | rc2 = 0 = 0x00000000 > | v = 0x81BDB3C8 > | cnt = 0 = 0x00000000 > | db = 0x812AB798 > | > | > -008|KN_Sqlite_DB_ExecQueryInSequence( > | ?) > | pVM = 0x81BDB3C8 > | mpDB = 0x812AB798 > > Regards, > Ashok > _______________________________________________ > 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