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

Segfault in 1.6.4: svn_wc_remove_from_revision_control

From: Nicolas Dumazet <nicdumz_at_gmail.com>
Date: Tue, 22 Dec 2009 17:31:30 +0900

Hello folks!

I encountered that nice baby today:

Program received signal SIGSEGV, Segmentation fault.
svn_wc_remove_from_revision_control (adm_access=0x96a2a98, name=0xb7f6c9cb "",
    destroy_wf=0, instant_error=0, cancel_func=0x8053640
<svn_cl__check_cancel>,
    cancel_baton=0x0, pool=0x96a69d0) at subversion/libsvn_wc/adm_ops.c:2634
2634 if (dir_entry->depth != svn_depth_exclude)
(gdb) bt
#0 svn_wc_remove_from_revision_control (adm_access=0x96a2a98,
name=0xb7f6c9cb "",
    destroy_wf=0, instant_error=0, cancel_func=0x8053640
<svn_cl__check_cancel>,
    cancel_baton=0x0, pool=0x96a69d0) at subversion/libsvn_wc/adm_ops.c:2634
#1 0xb7f34631 in svn_wc_delete3 (path=0x969d698
"unit_definition_interaction_workflow",
    adm_access=0x96a6a18, cancel_func=0x8053640 <svn_cl__check_cancel>,
    cancel_baton=0x0, notify_func=0x8056ff0 <notify>, notify_baton=0x969d6c0,
    keep_local=1, pool=0x96a69d0) at subversion/libsvn_wc/adm_ops.c:1220
#2 0xb7f8ea3c in svn_client__wc_delete (
    path=0x969d698 "unit_definition_interaction_workflow",
adm_access=0x96a6a18,
    force=0, dry_run=0, keep_local=1, notify_func=0x8056ff0 <notify>,
    notify_baton=0x969d6c0, ctx=0x9688e40, pool=0x96a69d0)
    at subversion/libsvn_client/delete.c:231
#3 0xb7f8eb85 in svn_client_delete3 (commit_info_p=0xbff523b0,
paths=0x969d4d0,
    force=0, keep_local=1, revprop_table=0x0, ctx=0x9688e40, pool=0x9688610)
    at subversion/libsvn_client/delete.c:277
#4 0x0804f014 in svn_cl__delete (os=0x96887b8, baton=0xbff525c4,
pool=0x9688610)
    at subversion/svn/delete-cmd.c:75

It appears in the context of a locked repository, when cleaning up
locks, and then removing an added but not yet committed directory.
(Mandriva 2009.1)

Is it something old/already fixed? I see a bunch of hits about issues
in 1.6.2, but I'm not sure about that one.

I was not able to backtrack enough to include steps to create a
locked/buggy repo, I'm attaching a small part of my repo, that
hopefully should be enough to reproduce the issue:

tar -xvzf segfault.tgz
cd foo/unit_definition_interaction_workflow
svn cleanup .
cd ..
svn cleanup .
svn rm --keep-local unit_definition_interaction_workflow # shabam

Please let me know if I can help more.
Please CC me as I'm not a subscriber here.

Thanks :)

-- 
Nicolas Dumazet — NicDumZ

Received on 2009-12-22 17:18:57 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.