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

post-commit failure causes core dump

From: Blair Zajac <blair_at_orcaware.com>
Date: 2002-07-10 21:47:47 CEST

Today I upgraded my svn server to rev 2460 and HEAD of apr, apr-util
and httpd2 and forgot to copy commit-email.pl into the new server
directory tree.

When doing a commit into the tree, post-commit failed and then I
got a svn core dump. This happens over ra_rav or ra_local.

% svn ci -F ../msg
Sending orcallator/orcallator.se
Transmitting file data .//tmp/repos/hooks/post-commit: /opt/i386-linux/subversion/libexec/commit-email.pl: No such file or directory
Segmentation fault (core dumped)

Here's the backtrace:

#0 0x4008e24a in svn_fs__id_copy (id=0x0, pool=0x808c620) at
subversion/libsvn_fs/id.c:72
72 new_id->node_id = apr_pstrdup (pool, id->node_id);
(gdb) bt
#0 0x4008e24a in svn_fs__id_copy (id=0x0, pool=0x808c620) at
    subversion/libsvn_fs/id.c:72
#1 0x4008af64 in svn_fs__dag_get_node (node=0x0, fs=0x0, id=0x0,
    trail=0x8076b08) at subversion/libsvn_fs/dag.c:252
#2 0x4008c20d in svn_fs__dag_delete_if_mutable (fs=0x806c670, id=0x0,
    txn_id=0x8076b18 "5w", trail=0x8076b08) at subversion/libsvn_fs/dag.c:1062
#3 0x40094240 in txn_body_abort_txn (baton=0x0, trail=0x8076b08)
    at subversion/libsvn_fs/txn.c:229
#4 0x40090bbb in svn_fs__retry_txn (fs=0x806c670, txn_body=0x400941d8
    <txn_body_abort_txn>, baton=0xbfffeee0, pool=0x80765c8)
    at subversion/libsvn_fs/trail.c:127
#5 0x400942e4 in svn_fs_abort_txn (txn=0x808c780) at
    subversion/libsvn_fs/txn.c:254
#6 0x40074546 in close_edit (edit_baton=0x8070680) at
    subversion/libsvn_ra_local/commit_editor.c:478
#7 0x4001a800 in svn_client__do_commit (base_url=0x80692f8
    "file:////tmp/repos/trunk/orca/orcallator",
    commit_items=0x8069078,
    editor=0x8069798, edit_baton=0x8070680, notify_func=0x804af7c
    <notify>, notify_baton=0x80638f0, notify_path_offset=13,
    tempfiles=0xbffff00c, pool=0x8059aa0) at
    subversion/libsvn_client/commit_util.c:1089
#8 0x40019061 in svn_client_commit (commit_info=0x808c780,
    notify_func=0x804af7c <notify>, notify_baton=0x80638f0,
    auth_baton=0x805a288, targets=0x8069078,
    log_msg_func=0x804edd4 <svn_cl__get_log_message>,
    log_msg_baton=0x8063908, xml_dst=0x0, revision=-1,
    nonrecursive=0, pool=0x8059aa0)
    at subversion/libsvn_client/commit.c:892
#9 0x0804a903 in svn_cl__commit (os=0x8059c00, opt_state=0xbffff1e0,
    pool=0x8059aa0) at subversion/clients/cmdline/commit-cmd.c:101
#10 0x0804cce0 in main (argc=1, argv=0xbffff2d4) at
    subversion/clients/cmdline/main.c:1211
#11 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)

Best,
Blair

-- 
Blair Zajac <blair@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 10 21:48:18 2002

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.