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

Re: Hanging tests mergeinfo-test.exe 12, 15 and skel-test.exe 4 on WinXP with VS2010 release build

From: Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com>
Date: Tue, 6 Nov 2012 10:53:40 +0100

On Mon, Nov 5, 2012 at 2:00 AM, Johan Corveleyn <jcorvel_at_gmail.com> wrote:

> Before I look into this further, I'd like to know if anyone else has seen
> this or can reproduce this (or doesn't reproduce this with a similar
> environment) ...
>
> Tests 12 and 15 of mergeinfo-test.exe and test 4 of skel-test.exe hang on
> my machine (i.e. they don't do anything useful anymore, but do fully
> consume a cpu core until I kill them).
>
> This is with trunk_at_1405553. All other tests, except the above three, run
> successfully for me. I'm running Windows XP (32 bit).
>
> I only see this happening with a release build (shared; haven't tried with
> --disable-shared yet), when compiled with VS 2010.
>
> I do *not* see this (i.e. tests complete normally) with:
> - debug build made with VS 2010.
> - release or debug builds made with VSExpress 2008.
>
> Does anyone else have a release build on (any) Windows, made with VS 2010,
> and can run these tests?
>
> I'm using these dependencies:
> Httpd 2.2.22
> Apr 1.4.5
> Apr-Util 1.4.1
> Apr-Iconv 1.2.1
> OpenSSL 1.0.1c
> Serf 1.1.1
> SQLite 3.7.14.1
> ZLib 1.2.6
>

They don't hang for me but I'm using a slightly older SQLite version.
However, there has been a similar issue under Linux when running
the tests in parallel. Python 2.7.2(?) has a sync. issue. Maybe, try
updating your python installation.

But I did run across an assertion in mergeinfo.c, :line 1174
during merge_tests.py 125:

  SVN_ERR_ASSERT_NO_RETURN(IS_VALID_FORWARD_RANGE(first));

Stack trace below.

-- Stefan^2.

> libsvn_subr-1.dll!range_contains(const svn_merge_range_t *
first=0x01df18f8, const svn_merge_range_t * second=0x0016f488, int
consider_inheritance=0) Line 1174 + 0x29 bytes C
        first 0x01df18f8 {start=4 end=4 inheritable=1 } const
svn_merge_range_t *
        second 0x0016f488 {start=4 end=5 inheritable=1 } const
svn_merge_range_t *
        consider_inheritance 0 int

     libsvn_subr-1.dll!rangelist_intersect_or_remove(apr_array_header_t * *
output=0x0016f508, const apr_array_header_t * rangelist1=0x01df18d8, const
apr_array_header_t * rangelist2=0x00000000, int do_remove=1, int
consider_inheritance=0, apr_pool_t * pool=0x01e691f8) Line 1332 + 0xc
bytes C
        output 0x0016f508 apr_array_header_t * *
        rangelist1 0x01df18d8 {pool=0x01df1138 elt_size=4 nelts=1
...} const apr_array_header_t *
        rangelist2 0x00000000 {pool=??? elt_size=??? nelts=??? ...}
const apr_array_header_t *
        do_remove 1 int
        consider_inheritance 0 int
        pool 0x01e691f8 apr_pool_t *
        i2 0 int
        working_elt2 {start=4 end=5 inheritable=1 } svn_merge_range_t
        i1 0 int
        lasti2 0 int
        tmp_range {start=1860994357 end=0 inheritable=0 }
svn_merge_range_t
        tmp_range {start=1504396 end=31887864 inheritable=1766373840
} svn_merge_range_t
        tmp_range {start=1504832 end=1504400 inheritable=1766373899 }
svn_merge_range_t

     libsvn_subr-1.dll!svn_rangelist_remove(apr_array_header_t * *
output=0x0016f508, const apr_array_header_t * eraser=0x01df18d8, const
apr_array_header_t * whiteboard=0x01e69240, int consider_inheritance=0,
apr_pool_t * pool=0x01e691f8) Line 1492 + 0x1a bytes C
     libsvn_client-1.dll!record_mergeinfo_for_dir_merge(apr_hash_t *
result_catalog=0x00000000, const svn_merge_range_t *
merged_range=0x0016f590, const char * mergeinfo_fspath=0x01df23f8,
svn_depth_t depth=svn_depth_infinity, int
squelch_mergeinfo_notifications=0, notification_receiver_baton_t *
notify_b=0x0016f610, merge_cmd_baton_t * merge_b=0x0016f640, apr_pool_t *
scratch_pool=0x00000000) Line 7927 + 0x15 bytes C
     libsvn_client-1.dll!do_mergeinfo_aware_dir_merge(apr_hash_t *
result_catalog=0x00000000, const merge_source_t * source=0x01da8b80, const
char * target_abspath=0x0016f5c4, svn_depth_t depth=svn_depth_empty, int
squelch_mergeinfo_notifications=0, int abort_on_conflicts=0,
notification_receiver_baton_t * notify_b=0x0016f610, merge_cmd_baton_t *
merge_b=0x0016f640, apr_pool_t * scratch_pool=0x01df1138) Line 8859 + 0x1d
bytes C
     libsvn_client-1.dll!do_directory_merge(apr_hash_t *
result_catalog=0x00000000, const merge_source_t * source=0x01da8b80, const
char * target_abspath=0x01da80d8, svn_depth_t depth=svn_depth_infinity, int
squelch_mergeinfo_notifications=0, int abort_on_conflicts=0,
notification_receiver_baton_t * notify_b=0x0016f610, merge_cmd_baton_t *
merge_b=0x0016f640, apr_pool_t * scratch_pool=0x01df1138) Line 8918 + 0x1a
bytes C
     libsvn_client-1.dll!do_merge(apr_hash_t * *
modified_subtrees=0x00000000, apr_hash_t * result_catalog=0x00000000, const
apr_array_header_t * merge_sources=0x01da8630, const merge_target_t *
target=0x01da80c0, svn_ra_session_t * src_session=0x01daa150, int
sources_related=1, int same_repos=1, int ignore_ancestry=0, int force=0,
int dry_run=0, int record_only=0, apr_hash_t *
record_only_paths=0x00000000, int reintegrate_merge=0, int
squelch_mergeinfo_notifications=0, svn_depth_t depth=svn_depth_infinity,
const apr_array_header_t * merge_options=0x00000000, int *
use_sleep=0x0016f714, svn_client_ctx_t * ctx=0x00cdee18, apr_pool_t *
result_pool=0x01da8080, apr_pool_t * scratch_pool=0x01da8080) Line 9212 +
0x29 bytes C
     libsvn_client-1.dll!merge_peg_locked(const char *
source_path_or_url=0x00000000, const svn_opt_revision_t *
source_peg_revision=0x0016f7e0, const apr_array_header_t *
ranges_to_merge=0x00cddf98, const char * target_abspath=0x01d8ec30,
svn_depth_t depth=-2, int ignore_ancestry=0, int force=0, int
record_only=0, int dry_run=0, int allow_mixed_rev=0, const
apr_array_header_t * merge_options=0x00000000, svn_client_ctx_t *
ctx=0x00cdee18, apr_pool_t * scratch_pool=0x00cdde10) Line 11025 + 0x40
bytes C
     libsvn_client-1.dll!svn_client_merge_peg4(const char *
source_path_or_url=0x01d8ea38, const apr_array_header_t *
ranges_to_merge=0x01d8ec30, const svn_opt_revision_t *
source_peg_revision=0x0016f7e0, const char * target_wcpath=0x00cdf960,
svn_depth_t depth=-2, int ignore_ancestry=0, int force=0, int
record_only=0, int dry_run=0, int allow_mixed_rev=0, const
apr_array_header_t * merge_options=0x00000000, svn_client_ctx_t *
ctx=0x00cdee18, apr_pool_t * pool=0x00cdde10) Line 11067 + 0x4e bytes C
     svn.exe!svn_cl__merge(apr_getopt_t * os=0x00cddfb8, void *
baton=0x0016f8c0, apr_pool_t * pool=0x00cdde10) Line 497 + 0x49 bytes C
     svn.exe!sub_main(int argc=0, const char * * argv=0x00000000,
apr_pool_t * pool=) Line 2721 + 0x18 bytes C
     svn.exe!main(int argc=13, const char * * argv=0x01bf1be8) Line 2790 +
0xe bytes C
     svn.exe!__tmainCRTStartup() Line 555 + 0x17 bytes C

-- 
Certified & Supported Apache Subversion Downloads:
*
http://www.wandisco.com/subversion/download
*
Received on 2012-11-06 10:54:20 CET

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