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

Re: valgrind warning in FSX tests

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 19 Jan 2015 23:33:51 +0000

Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com> writes:

> I beefed up my apr pools patch today such that it detected
> all the problems reported today. The FSX tests all pass now
> (with 1 XPASSED).

valgrind and asan both still report problems in most of the tests in
repos-test, typically:

==2370== Conditional jump or move depends on uninitialised value(s)
==2370== at 0x402EAA3: bcmp (mc_replace_strmem.c:935)
==2370== by 0x40FDC08: combine_long_key (cache-membuffer.c:2548)
==2370== by 0x40FDF20: combine_key (cache-membuffer.c:2637)
==2370== by 0x40FDFEB: svn_membuffer_cache_get (cache-membuffer.c:2677)
==2370== by 0x40FFD0C: svn_cache__get (cache.c:84)
==2370== by 0x50B3823: create_rep_state_body (cached_data.c:659)
==2370== by 0x50B3D5B: create_rep_state (cached_data.c:788)
==2370== by 0x50B47D0: build_rep_list (cached_data.c:1252)
==2370== by 0x50B6A66: rep_read_contents (cached_data.c:2105)
==2370== by 0x413D8E0: svn_stream_read_full (stream.c:193)
==2370== by 0x414042E: svn_stringbuf_from_stream (stream.c:1457)
==2370== by 0x50B7C23: get_dir_contents (cached_data.c:2599)
==2370== by 0x50B7E40: svn_fs_x__rep_contents_dir (cached_data.c:2668)
==2370== by 0x50BD2EF: svn_fs_x__dag_dir_entries (dag.c:496)
==2370== by 0x50FBD57: verify_node (tree.c:4386)
==2370== by 0x50FC092: svn_fs_x__verify_root (tree.c:4457)
==2370== by 0x50F0AC7: verify_as_revision_before_current_plus_plus (transaction.c:3105)
==2370== by 0x50F1B06: commit_body (transaction.c:3451)
==2370== by 0x50E9D6E: with_some_lock_file (transaction.c:291)
==2370== by 0x50E9E0B: with_lock (transaction.c:309)
==2370== by 0x50EA0E9: svn_fs_x__with_write_lock (transaction.c:435)
==2370== by 0x50F1D55: svn_fs_x__commit (transaction.c:3519)
==2370== by 0x50F6DF9: svn_fs_x__commit_txn (tree.c:2234)
==2370== by 0x40968A6: svn_fs_commit_txn (fs-loader.c:842)
==2370== by 0x405AD6A: svn_repos_fs_commit_txn (fs-wrap.c:90)
==2370== by 0x404604: node_tree_delete_under_copy (repos-test.c:415)
==2370== by 0x403C18E: do_test_num (svn_test_main.c:428)
==2370== by 0x403D39D: svn_test_main (svn_test_main.c:927)
==2370== by 0x410F93: main (repos-test.c:3621)
==2370==
==2370== Use of uninitialised value of size 8
==2370== at 0x40FAECA: is_group_initialized (cache-membuffer.c:769)
==2370== by 0x40FBB60: find_entry (cache-membuffer.c:1191)
==2370== by 0x40FD3C3: membuffer_cache_get_internal (cache-membuffer.c:2088)
==2370== by 0x40FD52A: membuffer_cache_get (cache-membuffer.c:2147)
==2370== by 0x40FE015: svn_membuffer_cache_get (cache-membuffer.c:2680)
==2370== by 0x40FFD0C: svn_cache__get (cache.c:84)
==2370== by 0x50B3823: create_rep_state_body (cached_data.c:659)
==2370== by 0x50B3D5B: create_rep_state (cached_data.c:788)
==2370== by 0x50B47D0: build_rep_list (cached_data.c:1252)
==2370== by 0x50B6A66: rep_read_contents (cached_data.c:2105)
==2370== by 0x413D8E0: svn_stream_read_full (stream.c:193)
==2370== by 0x414042E: svn_stringbuf_from_stream (stream.c:1457)
==2370== by 0x50B7C23: get_dir_contents (cached_data.c:2599)
==2370== by 0x50B7E40: svn_fs_x__rep_contents_dir (cached_data.c:2668)
==2370== by 0x50BD2EF: svn_fs_x__dag_dir_entries (dag.c:496)
==2370== by 0x50FBD57: verify_node (tree.c:4386)
==2370== by 0x50FBE63: verify_node (tree.c:4404)
==2370== by 0x50FC092: svn_fs_x__verify_root (tree.c:4457)
==2370== by 0x50F0AC7: verify_as_revision_before_current_plus_plus (transaction.c:3105)
==2370== by 0x50F1B06: commit_body (transaction.c:3451)
==2370== by 0x50E9D6E: with_some_lock_file (transaction.c:291)
==2370== by 0x50E9E0B: with_lock (transaction.c:309)
==2370== by 0x50EA0E9: svn_fs_x__with_write_lock (transaction.c:435)
==2370== by 0x50F1D55: svn_fs_x__commit (transaction.c:3519)
==2370== by 0x50F6DF9: svn_fs_x__commit_txn (tree.c:2234)
==2370== by 0x40968A6: svn_fs_commit_txn (fs-loader.c:842)
==2370== by 0x405AD6A: svn_repos_fs_commit_txn (fs-wrap.c:90)
==2370== by 0x404604: node_tree_delete_under_copy (repos-test.c:415)
==2370== by 0x403C18E: do_test_num (svn_test_main.c:428)
==2370== by 0x403D39D: svn_test_main (svn_test_main.c:927)

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2015-01-20 00:34:21 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.