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? Memory management in the described environment relies on kmalloc, kfree and krealloc. These are called through defined macros in place of malloc, free and realloc respectively. Thanks a lot, Marios _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users