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

segfault on commit

From: Kevin Pilch-Bisson <kevin_at_pilch-bisson.net>
Date: 2001-03-29 16:46:37 CEST

Here is what I did:

svnadmin create repos
svn co file:///home/kevin/projects/svn-test/repos -d wc-local
cd wc-local
echo "blah" > foo
svn add foo
svn ci

And I get a segfault:

some gdb output
Program received signal SIGSEGV, Segmentation fault.
0x4025d796 in decrement_dir_ref_count (db=0x0)
    at ../../../subversion/subversion/libsvn_fs/editor.c:89
89 db->ref_count--;

and a backtrace:
#0 0x4025d796 in decrement_dir_ref_count (db=0x0)
    at ../../../subversion/subversion/libsvn_fs/editor.c:89
#1 0x4025d7cc in decrement_dir_ref_count (db=0x8072434)
        at ../../../subversion/subversion/libsvn_fs/editor.c:102
#2 0x4025dd6f in close_file (file_baton=0x8074444)
        at ../../../subversion/subversion/libsvn_fs/editor.c:293
#3 0x400a524e in close_file (file_baton=0x8058084)
        at ../../../subversion/subversion/libsvn_delta/compose_editors.c:201
#4 0x400a524e in close_file (file_baton=0x8052254)
        at ../../../subversion/subversion/libsvn_delta/compose_editors.c:201
#5 0x4008c382 in do_postfix_text_deltas (affected_targets=0x8051fd4, editor=0x8051f9c,
        pool=0x805171c) at ../../../subversion/subversion/libsvn_wc/adm_crawler.c:413
#6 0x4008d268 in svn_wc_crawl_local_mods (root_directory=0x805188c, edit_fns=0x8051f9c,
        edit_baton=0x8051f84, pool=0x805171c)
        at ../../../subversion/subversion/libsvn_wc/adm_crawler.c:1071
#7 0x40019b65 in send_to_repos (before_editor=0x0, before_edit_baton=0x0, after_editor=0x80518ac,
        after_edit_baton=0x80518a4, path=0x805188c, url=0x8051c1c, new_entry=0x0, log_msg=0x8051e2c,
        xml_dst=0x0, revision=-1, pool=0x805171c)
        at ../../../subversion/subversion/libsvn_client/commit.c:483
#8 0x40019cd4 in svn_client_commit (before_editor=0x0, before_edit_baton=0x0,
        after_editor=0x80518ac, after_edit_baton=0x80518a4, path=0x805188c, log_msg=0x0, xml_dst=0x0,
        revision=-1, pool=0x805171c) at ../../../subversion/subversion/libsvn_client/commit.c:541
#9 0x8049a8d in svn_cl__commit (os=0x805181c, opt_state=0xbffffa60, pool=0x805171c)
        at ../../../subversion/subversion/client/commit-cmd.c:64
#10 0x80495a7 in main (argc=2, argv=0xbffffb04)
        at ../../../subversion/subversion/client/main.c:255

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • application/pgp-signature attachment: stored
Received on Sat Oct 21 14:36:26 2006

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