On 03/05/2013 07:19 PM, Μάριος Φραγκούλης wrote:
Hi All,

I have compiled SQLite as part of a Linux kernel module
(Linux version 3.2.0.35-generic)
having set SQLITE_OMIT_FLOATING_POINT,
SQLITE_THREADSAFE=0, SQLITE_OMIT_LOAD_EXTENSION,
SQLITE_OMIT_BUILTIN_TEST and NDEBUG.
I have configured SQLite to operate in-memory at all times by setting
:memory: as database name and by turning off the main and temp
journals.
SQLite behaves as expected but /var/log/syslog registers
mem1.zMalloc == 0 assertion failures during queries.
At the assertion point in sqlite3.c it is documented that mem1 is never
malloced, hence the assertion. However, browsing the code
I see various places where zMalloc is indeed set.

Am I missing sth?
If zMalloc is never malloced, are there any ideas
about the root cause?

Did the VVA_ONLY() macro get defined correctly? Was NDEBUG
defined at build time?

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to