On Fri, Jun 29, 2012 at 12:01 PM, Stephan Beal <sgb...@googlemail.com>wrote:
> On Fri, Jun 29, 2012 at 5:45 PM, Stephan Beal <sgb...@googlemail.com> > wrote: > > > sqliteInt.h: sqlite4_env: > > > > sqlite4_mutex *pFactoryMutex; /* Mutex for pFactory */ > > > > is missing from the definition in global.c, line 172. Adding a NULL > > there resolves "excess initializer" warnings and the follow-up errors > such > > as "braces around scalar initializer" in nowValue[]. > > > > Make test fails, but it "might" be related to my local SQLITE4_ > > replacements. > > > > With the SQLITE4_ trunk and the addition of the NULL pFactoryMutex, make > test now runs but fails at the end with a massive list of leaks in > memleak.txt. Have i caused that with the null factory or might that somehow > be a side-effect of the 7-vs-8 strlen change? > No. It has been leaking memory for a while now. I need to get to the bottom of that.... > > ... > Memory used: now 13991544 max 118078336 max-size 67108864 > Allocation count: now 15078 max 100119 > 5 errors out of 34621 tests > Failures on these tests: fkey2-6.1 where8-4.3.9.2 where8-4.4.9.2 > where8-4.5.9.2 where8-4.6.9.2 > Unfreed memory: 13991696 bytes in 15079 allocations > Writing unfreed memory log to "./memleak.txt" > Memory used: now 13991696 max 118078336 max-size 67108864 > Allocation count: now 15079 max 100119 > Maximum memory usage: 118078336 bytes > Current memory usage: 13991696 bytes > Number of malloc() : 4814608 calls > make: *** [test] Error 1 > > > -- > ----- stephan beal > http://wanderinghorse.net/home/stephan/ > http://gplus.to/sgbeal > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users