Re: [sqlite] sqlite4: type decl/def discrepancy (w/ fix)

2012-07-02 Thread Niall O'Reilly

On 29 Jun 2012, at 17:17, Stephan Beal wrote:

> If i can be of any assistance, i'm free to help this weekend. i feel kinda
> bad about spamming the user list so much, though :/.

No need to feel bad.
It helps us to see "over the horizon".

> Should we try to
> convince the admin ;) to set to a v4-specific list

Unless v4 isn't intended to be ready for a really long time, I would
hope that the admin won't be minded to build its own reservation
for it.  8-)

> (or i can alternately move to the dev list (subscribing now))?

May make sense.  Please don't forget to let us mere users have a
trickle of news about v4.

Best regards,
Niall O'Reilly

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


Re: [sqlite] sqlite4: type decl/def discrepancy (w/ fix)

2012-06-29 Thread Stephan Beal
On Fri, Jun 29, 2012 at 6:04 PM, Richard Hipp  wrote:

> No.  It has been leaking memory for a while now.  I need to get to the
> bottom of that
>

If i can be of any assistance, i'm free to help this weekend. i feel kinda
bad about spamming the user list so much, though :/. Should we try to
convince the admin ;) to set to a v4-specific list (or i can alternately
move to the dev list (subscribing now))?

-- 
- 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


Re: [sqlite] sqlite4: type decl/def discrepancy (w/ fix)

2012-06-29 Thread Richard Hipp
On Fri, Jun 29, 2012 at 12:01 PM, Stephan Beal wrote:

> On Fri, Jun 29, 2012 at 5:45 PM, Stephan Beal 
> 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


Re: [sqlite] sqlite4: type decl/def discrepancy (w/ fix)

2012-06-29 Thread Stephan Beal
On Fri, Jun 29, 2012 at 5:45 PM, Stephan Beal  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?

...
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


[sqlite] sqlite4: type decl/def discrepancy (w/ fix)

2012-06-29 Thread Stephan Beal
Hiho,

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.

...
-o testfixture -ltcl8.5 -lm -lpthread -ldl -lz -ldl -lpthread libsqlite4.a
../sqlite4/test/test_mutex.c: In function ‘getDbPointer’:
../sqlite4/test/test_mutex.c:369:10: warning: cast to pointer from integer
of different size [-Wint-to-pointer-cast]
/tmp/cc4rUyGN.o: In function `Sqlitetest1_Init':
/home/stephan/cvs/fossil/sqlite4/../sqlite4/test/test_main.c:4544:
undefined reference to `sqlite4_search_count'
/home/stephan/cvs/fossil/sqlite4/../sqlite4/test/test_main.c:4546:
undefined reference to `sqlite4_found_count'
/home/stephan/cvs/fossil/sqlite4/../sqlite4/test/test_main.c:4548:
undefined reference to `sqlite4_sort_count'
/home/stephan/cvs/fossil/sqlite4/../sqlite4/test/test_main.c:4550:
undefined reference to `sqlite4_max_blobsize'
/home/stephan/cvs/fossil/sqlite4/../sqlite4/test/test_main.c:4552:
undefined reference to `sqlite4_like_count'
/home/stephan/cvs/fossil/sqlite4/../sqlite4/test/test_main.c:4554:
undefined reference to `sqlite4_interrupt_count'
/home/stephan/cvs/fossil/sqlite4/../sqlite4/test/test_main.c:4563:
undefined reference to `sqlite4_xferopt_count'
/tmp/cc64DmC7.o: In function `test_translate_selftest':
/home/stephan/cvs/fossil/sqlite4/../sqlite4/test/test_utf.c:196: undefined
reference to `sqlite4UtfSelfTest'
/tmp/ccpAUrm8.o: In function `sqlite4test_install_test_functions':
/home/stephan/cvs/fossil/sqlite4/../sqlite4/test/test_func.c:577: undefined
reference to `Md5_Register'
/tmp/ccfFgLtO.o: In function `utf8_to_utf8':
/home/stephan/cvs/fossil/sqlite4/../sqlite4/test/test_hexio.c:311:
undefined reference to `sqlite4Utf8To8'
collect2: ld returned 1 exit status

-- 
- 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