On 10 Mar 2017, at 2:05pm, Anthrathodiyil, Sabeel (S.) <[hidden email]> wrote:
> Stack trace is as below
> The sequence of SQLite operations being followed which lead to crash is in the following order
> Any probable reasons in term of the SQLite operations that are done wrong or out of order?
Please check to see that the parameter you’re passing to sqlite3_db_release_memory() is the connection, not the statement.
If that’s not the problem, then for debugging purposes can you try reversing the order of the last two steps ? Finalize the statement before you release memory for the connection.
In reply to this post by Anthrathodiyil, Sabeel (S.)
On 3/10/17, Anthrathodiyil, Sabeel (S.) <[hidden email]> wrote:
> I am facing a crash while invoking "sqlite3_db_release_memory" the crash is
> from pcache1RemoveFromHash. SQLite 3.7.10 is running on ARM A5 with
> Freescale MQX as OS.
> Any probable reasons in term of the SQLite operations that are done wrong or
> out of order?
The usual reason for this is that some other part of your application
has corrupted the heap and SQLite has stumbled over the damage.