SQLite Forum

Help needed! Database corruption on embedded system
Due to a momentary hunch, I changed the GCC's sysroot to _NewLib_ instead of _EWL_ and it works.  
I was able to do 10000 inserts and the DB is not corrupted.  
I suspect that a system function corrupts somehow the memory. But the fix could be also a side effect of the variable placement after the sysroot was changed.  
I will continue the investigation and let you know if I find any root cause for this.  
Best regards,