[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Breakage on trunk?

From: John Beranek <john_at_redux.org.uk>
Date: Fri, 04 Mar 2011 13:10:12 +0000

On 04/03/11 12:45, Philip Martin wrote:
> John Beranek <john_at_redux.org.uk> writes:
>
>> On 04/03/11 11:52, Philip Martin wrote:
>>> John Beranek <john_at_redux.org.uk> writes:
>>>
>>>> Is there a recommended way to get -O0 into the compilation in Subversion
>>>> build land?
>>>
>>> You can "configure --enable-debug" or "make EXTRA_CFLAGS=-O0".
>>
>> OK, the test does indeed pass when the tree is built with just "make
>> EXTRA_CFLAGS=-O0".
>
> That could be tricky. You are using 64-bit Fedora 14, what version of
> gcc and APR are you using? I can't reproduce it on my Debian/oldstable
> box. Fedora 14 is a cutting edge distribution, could it be a compiler
> bug?

Oh, and my results with valgrind:

PASS: lt-client-test 1: test svn_client__elide_mergeinfo_catalog
PASS: lt-client-test 2: test svn_client_args_to_target_array
PASS: lt-client-test 3: test svn_client_patch
==4509== Use of uninitialised value of size 8
==4509== at 0x30A020F957: ??? (in /usr/lib64/libapr-1.so.0.3.9)
==4509== by 0x30A020FCAE: apr_hash_set (in /usr/lib64/libapr-1.so.0.3.9)
==4509== by 0x50F34C4: svn_wc__db_drop_root (wc_db_pdh.c:595)
==4509== by 0x509766A: integrate_nested_wc_as_copy (adm_ops.c:992)
==4509== by 0x5097CD7: svn_wc_add4 (adm_ops.c:1137)
==4509== by 0x50A1094: svn_wc_add3 (deprecated.c:813)
==4509== by 0x4033CB: test_wc_add_scenarios (client-test.c:486)
==4509== by 0x4C119B3: do_test_num (svn_test_main.c:274)
==4509== by 0x4C123F8: main (svn_test_main.c:543)
==4509==
==4509== Conditional jump or move depends on uninitialised value(s)
==4509== at 0x30A020F977: ??? (in /usr/lib64/libapr-1.so.0.3.9)
==4509== by 0x30A020FCAE: apr_hash_set (in /usr/lib64/libapr-1.so.0.3.9)
==4509== by 0x50F34C4: svn_wc__db_drop_root (wc_db_pdh.c:595)
==4509== by 0x509766A: integrate_nested_wc_as_copy (adm_ops.c:992)
==4509== by 0x5097CD7: svn_wc_add4 (adm_ops.c:1137)
==4509== by 0x50A1094: svn_wc_add3 (deprecated.c:813)
==4509== by 0x4033CB: test_wc_add_scenarios (client-test.c:486)
==4509== by 0x4C119B3: do_test_num (svn_test_main.c:274)
==4509== by 0x4C123F8: main (svn_test_main.c:543)
==4509==
PASS: lt-client-test 4: test svn_wc_add3 scenarios
PASS: lt-client-test 5: test a crash in svn_client_copy5

John.

-- 
John Beranek                         To generalise is to be an idiot.
http://redux.org.uk/                                 -- William Blake
Received on 2011-03-04 14:10:46 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.