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

[BUG] svnsync segfault

From: Lieven Govaerts <svnlgo_at_mobsol.be>
Date: Fri, 22 Jul 2011 10:16:07 +0200

Hi,

when syncing the first ~200 revisions from the asf repository over
ra_serf to ra_local, svnsync segfaults when invoking the
pre-revprop-change hook of the local target repo.

Not really at home in this part of the code, so if anyone can point me
in the right direction that would be appreciated.

Lieven

#0 0x00000001006b7d04 in apr_file_name_get ()
#1 0x000000010051ce29 in stringbuf_from_aprfile
(result=0x7fff5fbfe7b0, filename=0x0, file=0x0, check_size=1,
pool=0x104541028) at subversion/libsvn_subr/io.c:2027
#2 0x000000010051d18a in svn_stringbuf_from_aprfile
(result=0x7fff5fbfe7b0, file=0x0, pool=0x104541028) at
subversion/libsvn_subr/io.c:2106
#3 0x000000010003bfc4 in check_hook_result (name=0x100054eaa
"pre-revprop-change", cmd=0x104541438
"/tmp/asfrepo/hooks/pre-revprop-change", cmd_proc=0x7fff5fbfe860,
read_errhandle=0x0, pool=0x104541028) at
subversion/libsvn_repos/hooks.c:71
#4 0x000000010003c47f in run_hook_cmd (result=0x0, name=0x100054eaa
"pre-revprop-change", cmd=0x104541438
"/tmp/asfrepo/hooks/pre-revprop-change", args=0x7fff5fbfe900,
stdin_handle=0x104541548, pool=0x104541028) at
subversion/libsvn_repos/hooks.c:210
#5 0x000000010003d057 in svn_repos__hooks_pre_revprop_change
(repos=0x10107e590, rev=199, author=0x101095c08 "lgo",
name=0x1044e61d8 "svn:author", new_value=0x104555040, action=77 'M',
pool=0x104541028) at subversion/libsvn_repos/hooks.c:516
#6 0x000000010003aecf in svn_repos_fs_change_rev_prop4
(repos=0x10107e590, rev=199, author=0x101095c08 "lgo",
name=0x1044e61d8 "svn:author", old_value_p=0x0, new_value=0x104555040,
use_pre_revprop_change_hook=1, use_post_revprop_change_hook=1,
authz_read_func=0, authz_read_baton=0x0, pool=0x104541028) at
subversion/libsvn_repos/fs-wrap.c:352
#7 0x000000010002350a in svn_ra_local__change_rev_prop
(session=0x10107e4c8, rev=199, name=0x1044e61d8 "svn:author",
old_value_p=0x0, value=0x104555040, pool=0x104541028) at
subversion/libsvn_ra_local/ra_plugin.c:587
#8 0x00000001000164b8 in svn_ra_change_rev_prop2
(session=0x10107e4c8, rev=199, name=0x1044e61d8 "svn:author",
old_value_p=0x0, value=0x104555040, pool=0x104541028) at
subversion/libsvn_ra/ra_loader.c:661
#9 0x000000010000162b in write_revprops
(filtered_count=0x7fff5fbfec5c, session=0x10107e4c8, rev=199,
rev_props=0x10454a438, pool=0x10454a028) at
subversion/svnsync/main.c:569
#10 0x0000000100002f93 in replay_rev_finished (revision=199,
replay_baton=0x10282b5f0, editor=0x103bda7a0, edit_baton=0x103bda820,
rev_props=0x1044e60a0, pool=0x1044e6028) at
subversion/svnsync/main.c:1168
#11 0x0000000100168abf in end_replay (parser=0x103d77a38,
userData=0x103d776a0, name={namespace = 0x103d716c0 "svn:", name =
0x1009042e2 "editor-report"}) at
subversion/libsvn_ra_serf/replay.c:489
Received on 2011-07-22 10:17:21 CEST

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.