I'm getting an assertion failed error while running my application that utilizes the latest published version of the library. I cannot determine the exact scenario of getting this error. It looks like it happens randomly time to time while reading from the database. I encountered this issue on arm and x64 devices as well.
My investigation leads to a file:
https://github.com/mbrit/sqlite-metrostyle/blob/master/FromSqliteOrg/tsrc/mem2.c
sqlite3MemsysGetHeader
Line: 159
I attach a screenshot.

I'm getting an assertion failed error while running my application that utilizes the latest published version of the library. I cannot determine the exact scenario of getting this error. It looks like it happens randomly time to time while reading from the database. I encountered this issue on arm and x64 devices as well.
My investigation leads to a file:
https://github.com/mbrit/sqlite-metrostyle/blob/master/FromSqliteOrg/tsrc/mem2.c
sqlite3MemsysGetHeader
Line: 159
I attach a screenshot.