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

'svn cp URL@REV .' gives segfault

From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: Wed, 7 May 2008 12:54:52 -0500

This is using today's trunk client:

$ svn checkout http://louisianasurvey.googlecode.com/svn/wiki
$ cd wiki
$ svn cp http://louisianasurvey.googlecode.com/svn/wiki/foodways.wiki@248 .
Segmentation fault

The googlecode server is 1.4.0, FWIW.

Backtrace shows something wrong with
libsvn_client/copy.c(repos_to_wc_copy_single), where it calls
extend_wc_mergeinfo:

#0 0xf7fee195 in propget_walk_cb (path=0x80bc868 "foodways.wiki", entry=0x0,
    walk_baton=0xffffd310, pool=0x80ca7c8)
    at subversion/libsvn_client/prop_commands.c:592
#1 0xf7fee842 in svn_client__get_prop_from_wc (props=0x80ad2f0,
    propname=0xf7ff9b20 "svn:mergeinfo", target=0x80bc868 "foodways.wiki",
    pristine=0, entry=0x0, adm_access=0x80bacf0, depth=svn_depth_empty,
    changelists=0x0, ctx=0x807f3a0, pool=0x80ca7c8)
    at subversion/libsvn_client/prop_commands.c:806
#2 0xf7fea6b3 in svn_client__parse_mergeinfo (mergeinfo=0xffffd3b8, entry=0x0,
    wcpath=0x80bc868 "foodways.wiki", pristine=0, adm_access=0x80bacf0,
    ctx=0x807f3a0, pool=0x80ca7c8) at subversion/libsvn_client/mergeinfo.c:60
#3 0xf7fcdc4b in extend_wc_mergeinfo (target_wcpath=0x80bc868 "foodways.wiki",
    entry=0x0, mergeinfo=0x0, adm_access=0x80bacf0, ctx=0x807f3a0,
pool=0x80ca7c8)
    at subversion/libsvn_client/copy.c:152
#4 0xf7fd134f in repos_to_wc_copy_single (pair=0x80b9788, same_repositories=1,
    ra_session=0x80b9900, adm_access=0x80bacf0, ctx=0x807f3a0, pool=0x80ca7c8)
    at subversion/libsvn_client/copy.c:1461
#5 0xf7fd1ca4 in repos_to_wc_copy (copy_pairs=0x80b9768, make_parents=0,
    ctx=0x807f3a0, pool=0x80b9720) at subversion/libsvn_client/copy.c:1668
#6 0xf7fd27ab in setup_copy (commit_info_p=0xffffd6a0, sources=0x80bc768,
    dst_path_in=0x80bc868 "foodways.wiki", is_move=0, force=1, make_parents=0,
    ctx=0x807f3a0, pool=0x80b9720) at subversion/libsvn_client/copy.c:1936
#7 0xf7fd29da in svn_client_copy4 (commit_info_p=0xffffd6ec,
sources=0x80bc768,
    dst_path=0x80bc758 "", copy_as_child=1, make_parents=0, ctx=0x807f3a0,
    pool=0x807ec40) at subversion/libsvn_client/copy.c:1992
#8 0x0804fca1 in svn_cl__copy (os=0x807ede0, baton=0xffffd844, pool=0x807ec40)
    at subversion/svn/copy-cmd.c:136

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-07 19:55:07 CEST

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