Hi all,
I'm using the latest sqlite3 v3.6.14.
I noticed that when using virtual tables (with the R*TREE extension),
I'm getting sporadic core dumps. After some digging around, I traced
this to the sqlite3MemFree function (during a call to disconnect):
static void sqlite3MemFree(void *pPrior){
sqlite3_int64 *p = (sqlite3_int64*)pPrior;
assert( pPrior!=0 );
p--;
free(p);
}
Here, the call to free() is core dumping. My C skills aren't sharp
enough to figure out why the pointer is decremented, but it seems this
is causing core dumps only with virtual tables.
Did anybody else see this? Am I doing something wrong?
Thanks,
--Ala
PS. I'm unable to create a simple test case as I'm using this through
Perl's DBD::SQLite module, but I can try if you really need one.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users