Re: [sqlite] Crash if "sqlite3_db_release_memory" has no memory to release

2014-03-13 Thread Richard Hipp
On Thu, Mar 13, 2014 at 2:57 PM, Eduardo Morras wrote: > > Hi, I get app crash if sqlite3_db_release_memory(db) is called and Sqlite3 > has no memory to release, for example calling it twice. > > The backtrace is: > > #0 0x0042ab60 in sqlite3PcacheShrink

[sqlite] Crash if "sqlite3_db_release_memory" has no memory to release

2014-03-13 Thread Eduardo Morras
Hi, I get app crash if sqlite3_db_release_memory(db) is called and Sqlite3 has no memory to release, for example calling it twice. The backtrace is: #0 0x0042ab60 in sqlite3PcacheShrink (pCache=0x6f6c6f63207b2065) at /usr/home/gowen/clang/scgi/src/sqlite3.c:37835 #1