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

valgrind warning in FSX tests

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 19 Jan 2015 12:37:10 +0000

Running fs-test 33 for FSX with pool debugging enabled gives various
errors:

$ ./fs-test --fs-type fsx 33
libsvn: Out of memory - terminating application.
Aborted

$ ./fs-test --fs-type fsx 33
../src/subversion/tests/libsvn_fs/fs-test.c:4782,
../src/subversion/tests/libsvn_fs/fs-test.c:127: (apr_err=SVN_ERR_FS_NO_SUCH_REVISION)
svn_tests: E160006: commit failed due to something other than a conflict
../src/subversion/libsvn_fs/fs-loader.c:856,
../src/subversion/libsvn_fs_x/tree.c:2264,
../src/subversion/libsvn_fs_x/transaction.c:3501,
../src/subversion/libsvn_fs_x/transaction.c:438,
../src/subversion/libsvn_fs_x/transaction.c:309,
../src/subversion/libsvn_fs_x/transaction.c:297,
../src/subversion/libsvn_fs_x/transaction.c:3434,
../src/subversion/libsvn_fs_x/transaction.c:3087,
../src/subversion/libsvn_fs_x/tree.c:4457,
../src/subversion/libsvn_fs_x/tree.c:4404,
../src/subversion/libsvn_fs_x/tree.c:4404,
../src/subversion/libsvn_fs_x/tree.c:4387,
../src/subversion/libsvn_fs_x/cached_data.c:2669,
../src/subversion/libsvn_fs_x/cached_data.c:2599,
../src/subversion/libsvn_subr/stream.c:1457,
../src/subversion/libsvn_subr/stream.c:193,
../src/subversion/libsvn_fs_x/cached_data.c:2107,
../src/subversion/libsvn_fs_x/cached_data.c:1253,
../src/subversion/libsvn_fs_x/cached_data.c:809,
../src/subversion/libsvn_fs_x/cached_data.c:702,
../src/subversion/libsvn_fs_x/cached_data.c:208,
../src/subversion/libsvn_fs_x/fs_x.c:689: (apr_err=SVN_ERR_FS_NO_SUCH_REVISION)
svn_tests: E160006: No such revision 4702111234474983745
FAIL: lt-fs-test 33: test dir prop preservation in unordered txns

Test 43 gives similare errors. valgrind reports:

==27302== Conditional jump or move depends on uninitialised value(s)
==27302== at 0x402EAA3: bcmp (mc_replace_strmem.c:935)
==27302== by 0x40B3C08: combine_long_key (cache-membuffer.c:2548)
==27302== by 0x40B3F20: combine_key (cache-membuffer.c:2637)
==27302== by 0x40B3FEB: svn_membuffer_cache_get (cache-membuffer.c:2677)
==27302== by 0x40B5D0C: svn_cache__get (cache.c:84)
==27302== by 0x50B3873: create_rep_state_body (cached_data.c:659)
==27302== by 0x50B3DAB: create_rep_state (cached_data.c:788)
==27302== by 0x50B4820: build_rep_list (cached_data.c:1252)
==27302== by 0x50B6AB6: rep_read_contents (cached_data.c:2105)
==27302== by 0x40F38E0: svn_stream_read_full (stream.c:193)
==27302== by 0x40F642E: svn_stringbuf_from_stream (stream.c:1457)
==27302== by 0x50B7C73: get_dir_contents (cached_data.c:2599)
==27302== by 0x50B7E90: svn_fs_x__rep_contents_dir (cached_data.c:2668)
==27302== by 0x50BD311: svn_fs_x__dag_dir_entries (dag.c:495)
==27302== by 0x50FBB37: verify_node (tree.c:4386)
==27302== by 0x50FBE72: svn_fs_x__verify_root (tree.c:4457)
==27302== by 0x50F08C5: verify_as_revision_before_current_plus_plus (transaction.c:3087)
==27302== by 0x50F1904: commit_body (transaction.c:3433)
==27302== by 0x50E9BE6: with_some_lock_file (transaction.c:291)
==27302== by 0x50E9C83: with_lock (transaction.c:309)
==27302== by 0x50E9F61: svn_fs_x__with_write_lock (transaction.c:435)
==27302== by 0x50F1B53: svn_fs_x__commit (transaction.c:3501)
==27302== by 0x50F6BD9: svn_fs_x__commit_txn (tree.c:2234)
==27302== by 0x4048896: svn_fs_commit_txn (fs-loader.c:842)
==27302== by 0x403F7B: test_commit_txn (fs-test.c:83)
==27302== by 0x419B8F: unordered_txn_dirprops (fs-test.c:4724)
==27302== by 0x403C18E: do_test_num (svn_test_main.c:428)
==27302== by 0x403D39D: svn_test_main (svn_test_main.c:927)
==27302== by 0x425FD6: main (fs-test.c:6831)

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2015-01-19 13:38:25 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.