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

Re: svn commit: rev 2346 - trunk/subversion/include trunk/subversion/libsvn_wc trunk/subversion/libsvn_client trunk/subversion/tests/clients/cmdline

From: Blair Zajac <blair_at_orcaware.com>
Date: 2002-06-27 17:52:31 CEST

Ben Collins-Sussman wrote:
>
> Blair Zajac <blair@orcaware.com> writes:
>
> > sussman@tigris.org wrote:
> > >
> > > Author: sussman
> > > Date: Wed, 26 Jun 2002 23:34:31 -0500
> > > New Revision: 2346
> > >
> > > Issue #742: fix commits of replaced files that have props.
> > > Really, this a collection of logic fixes for property-handling when
> > > replacing files.
> >
> > This appears to break trans_tests.py. Backing down to revision 2345
> > passes trans_tests.py.
>
> Weird... I ran 'make check' before committing!
>
> And indeed, I'm running r2346 now, and all trans_tests pass for me.
>
> > % python2 ./trans_tests.py
> > * Node name: __SVN_ROOT_NODE
> > Path: __SVN_ROOT_NODE
> > Contents: None
> > Properties: {}
> > Attributes: {}
> > Children: is a file.
> > * Node name: __SVN_ROOT_NODE
> > Path: __SVN_ROOT_NODE
> > Contents: None
> > Properties: {}
> > Attributes: {}
> > Children: 1
>
> This is a "classic" output that almost always happens when svn
> segfaults in the middle of the test. Do you see a segfault message
> anywhere? Can anyone else reproduce?

Yes, there was a core file in the directory. Below is the stack trace.

Shouldn't the test suite check for core dumps and non-zero exit status
from svn commands? Or can this not be done in a OS portable way?

Blair

-- 
Blair Zajac <blair@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
#0  svn_io_check_path (path=0x13 <Address 0x13 out of bounds>, kind=0x80574e0,
pool=0x80574e0) at subversion/libsvn_subr/io.c:59
59        if (path[0] == '\0')
(gdb) bt
#0  svn_io_check_path (path=0x13 <Address 0x13 out of bounds>, kind=0x80574e0,
pool=0x80574e0) at subversion/libsvn_subr/io.c:59
#1  0x400320a3 in svn_wc__load_prop_file (propfile_path=0x13 <Address 0x13 out
of bounds>, hash=0x8081028, pool=0x80574e0) at subversion/libsvn_wc/props.c:234
#2  0x40028ba1 in svn_wc_transmit_prop_deltas (path=0x8062510
"/export/amanda/blair/s/subversion/tests/clients/cmdline/working_copies/trans_tests-1/embd_author_rev_exp",
    entry=0x8080388, editor=0x80636b0, baton=0x8083980, tempfile=0xbfffee50,
pool=0x80574e0) at subversion/libsvn_wc/adm_crawler.c:648
#3  0x4001b2d3 in do_item_commit (url=0x8062fa0 "embd_author_rev_exp",
    item=0x80624f8, editor=0x80636b0, db_stack=0x80638e0, stack_ptr=0xbfffeef8,
    file_mods=0x8063808, tempfiles=0x8063868, notify_func=0x804ae24 <notify>,
    notify_baton=0x80590d0, notify_path_offset=-1073746504, pool=0x80574e0)
    at subversion/libsvn_client/commit_util.c:863
#4  0x4001b6d1 in svn_client__do_commit (base_url=0x8062f08
"file:///export/amanda/blair/s/subversion/tests/clients/cmdline/repositories/current-repo",
    commit_items=0x80624c0, editor=0x80636b0, edit_baton=0x805e5d8,
    notify_func=0x804ae24 <notify>, notify_baton=0x80590d0,
    notify_path_offset=56, tempfiles=0xbfffef6c, pool=0x80574e0)
    at subversion/libsvn_client/commit_util.c:1025
#5  0x4001a089 in svn_client_commit (commit_info=0x0, notify_func=0x804ae24
    <notify>, notify_baton=0x80590d0, auth_baton=0x80577d0, targets=0x80624c0,
    log_msg_func=0x804e644 <svn_cl__get_log_message>, log_msg_baton=0x80590e8,
    xml_dst=0x0, revision=-1, nonrecursive=0, pool=0x80574e0)
    at subversion/libsvn_client/commit.c:895
#6  0x0804a7c9 in svn_cl__commit (os=0x8057640, opt_state=0xbffff140,
    pool=0x80574e0) at subversion/clients/cmdline/commit-cmd.c:100
#7  0x0804c87c in main (argc=0, argv=0xbffff234) at
    subversion/clients/cmdline/main.c:1152
#8  0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 27 17:53:33 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.