Re: [sqlite] valgrind & WAL w/3.7.6.2

2011-05-14 Thread Steven Parkes
> Upgrading zlib to the latest release (1.2.5) fixed all of my valgrind
> warnings

Thanks. I'll try to replicate ...
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] valgrind & WAL w/3.7.6.2

2011-05-13 Thread Richard Hipp
Upgrading zlib to the latest release (1.2.5) fixed all of my valgrind
warnings in Fossil, including those that appeared to have been coming from
SQLite WAL.

On Fri, May 13, 2011 at 3:11 PM, Richard Hipp  wrote:

>
>
> On Fri, May 13, 2011 at 2:49 PM, Richard Hipp  wrote:
>
>>
>>
>> On Fri, May 13, 2011 at 2:42 PM, Steven Parkes wrote:
>>
>>> I'm getting conditional branch warnings from valgrind that all percolate
>>> up via a WAL path. Anybody know if these are known & benign?
>>>
>>
>> I noticed this myself just yesterday.
>>
>> On our pre-release checklist, we have a bullet to run a full branch
>> coverage test under valgrind with no unexplained warnings.  (Some of the
>> test cases in our test suite deliberately do things that upset valgrind -
>> but those cases are all well-marked.)  And we did this on the most recent
>> releases with no problems.  But, I've been running that test on 32-bit
>> linux.  And the valgrind warnings are only showing up on 64-bit linux.  At
>> least, they only show up on 64-bit linux for me.  I reran the test on 32-bit
>> linux just to double-check, and sure enough, there were no warnings.
>>
>
> Correction:  It wasn't the SQLite 100% branch cover test where I saw this
> problem yesterday; it was a test run of Fossil, specifically:
>
> valgrind ./fossil rebuild
>
> We also have a bullet to run fossil using valgrind as part of the
> pre-release testing.  And as I was doing a fossil release yesterday, that
> was the test I was running.  The errors are being reported out of the WAL
> code in SQLite, which is embedded in Fossil.  And the errors were only
> showing up on linux-64.  The 100% branch coverage tests for SQLite are
> coming up clean in valgrind on both 32-bit and 64-bit linux.
>
> Valgrind also gives a bunch of warnings on the zlib compression library on
> 64-bit linux that it is quiet about on 32-bit linux
>
>
>>
>> I have not yet figured out why valgrind warns on linux-64 but not on
>> linux-32 and whether or not this is anything to be concerned about.
>>
>>
>>>
>>> This is, admittedly, off a sqlcipher-patched version of 3.7.6.2. I don't
>>> think that should relate but I'll check if they shouldn't be occurring.
>>> ___
>>> sqlite-users mailing list
>>> sqlite-users@sqlite.org
>>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>>>
>>
>>
>>
>> --
>> D. Richard Hipp
>> d...@sqlite.org
>>
>
>
>
> --
> D. Richard Hipp
> d...@sqlite.org
>



-- 
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] valgrind & WAL w/3.7.6.2

2011-05-13 Thread Richard Hipp
On Fri, May 13, 2011 at 2:49 PM, Richard Hipp  wrote:

>
>
> On Fri, May 13, 2011 at 2:42 PM, Steven Parkes wrote:
>
>> I'm getting conditional branch warnings from valgrind that all percolate
>> up via a WAL path. Anybody know if these are known & benign?
>>
>
> I noticed this myself just yesterday.
>
> On our pre-release checklist, we have a bullet to run a full branch
> coverage test under valgrind with no unexplained warnings.  (Some of the
> test cases in our test suite deliberately do things that upset valgrind -
> but those cases are all well-marked.)  And we did this on the most recent
> releases with no problems.  But, I've been running that test on 32-bit
> linux.  And the valgrind warnings are only showing up on 64-bit linux.  At
> least, they only show up on 64-bit linux for me.  I reran the test on 32-bit
> linux just to double-check, and sure enough, there were no warnings.
>

Correction:  It wasn't the SQLite 100% branch cover test where I saw this
problem yesterday; it was a test run of Fossil, specifically:

valgrind ./fossil rebuild

We also have a bullet to run fossil using valgrind as part of the
pre-release testing.  And as I was doing a fossil release yesterday, that
was the test I was running.  The errors are being reported out of the WAL
code in SQLite, which is embedded in Fossil.  And the errors were only
showing up on linux-64.  The 100% branch coverage tests for SQLite are
coming up clean in valgrind on both 32-bit and 64-bit linux.

Valgrind also gives a bunch of warnings on the zlib compression library on
64-bit linux that it is quiet about on 32-bit linux


>
> I have not yet figured out why valgrind warns on linux-64 but not on
> linux-32 and whether or not this is anything to be concerned about.
>
>
>>
>> This is, admittedly, off a sqlcipher-patched version of 3.7.6.2. I don't
>> think that should relate but I'll check if they shouldn't be occurring.
>> ___
>> sqlite-users mailing list
>> sqlite-users@sqlite.org
>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>>
>
>
>
> --
> D. Richard Hipp
> d...@sqlite.org
>



-- 
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] valgrind & WAL w/3.7.6.2

2011-05-13 Thread Steven Parkes
> I have not yet figured out why valgrind warns on linux-64 but not on
> linux-32 and whether or not this is anything to be concerned about.

Thanks for letting me know. This is x86_64 for me as well, though on OS X.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] valgrind & WAL w/3.7.6.2

2011-05-13 Thread Richard Hipp
On Fri, May 13, 2011 at 2:42 PM, Steven Parkes wrote:

> I'm getting conditional branch warnings from valgrind that all percolate up
> via a WAL path. Anybody know if these are known & benign?
>

I noticed this myself just yesterday.

On our pre-release checklist, we have a bullet to run a full branch coverage
test under valgrind with no unexplained warnings.  (Some of the test cases
in our test suite deliberately do things that upset valgrind - but those
cases are all well-marked.)  And we did this on the most recent releases
with no problems.  But, I've been running that test on 32-bit linux.  And
the valgrind warnings are only showing up on 64-bit linux.  At least, they
only show up on 64-bit linux for me.  I reran the test on 32-bit linux just
to double-check, and sure enough, there were no warnings.

I have not yet figured out why valgrind warns on linux-64 but not on
linux-32 and whether or not this is anything to be concerned about.


>
> This is, admittedly, off a sqlcipher-patched version of 3.7.6.2. I don't
> think that should relate but I'll check if they shouldn't be occurring.
> ___
> 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


[sqlite] valgrind & WAL w/3.7.6.2

2011-05-13 Thread Steven Parkes
I'm getting conditional branch warnings from valgrind that all percolate up via 
a WAL path. Anybody know if these are known & benign?

This is, admittedly, off a sqlcipher-patched version of 3.7.6.2. I don't think 
that should relate but I'll check if they shouldn't be occurring.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users