first,thanks for your answer. in my application, i port sqlite 3.3.12 base on the OS named OS20 supported by ST and a flash FS developed by our team. them i just open a DB(flash_db) and PRAGMA it,
PRAGMA temp_store = MEMORY; PRAGMA synchronous = NORMAL; after that,i creat table(flash_tabel) CREATE TABLE flash_table ( name, id INTEGER); (in here ,"id" is the task's id) and insert a hundred of row into it in a task.by now ,everything is ok. after that,in another task ,i delete all row insert previously. "DELETE FROM flash_table WHERE id=%d ;", task_id during do that,the memory dupli-free the memory error is occur. as above showing, i never call memory free function outside of sqlite. so ,i guess the most possible reason for that is something not correct in my interface between sqlite and my flash_fs. but what puzzle me is why everything is ok except DELETE row action happen. "dszhang" < [EMAIL PROTECTED]> wrote: > when i delete some row in my table ... i find the sqlite will free > some memory that have been free[d] previous[ly]. > my question is why that thing happen and how to solve it? > SQLite should never call free() on the same piece of memory twice. If it does, that is a bug. Please report the specific version number of SQLite that you are using and what SQL statements you invoke to get it to occur. But we test very carefully for this sort of thing and no such errors have appeared in a production release in a long time. I suspect that the error is in your application code, not in SQLite. -- D. Richard Hipp < [EMAIL PROTECTED]> ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------