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

Re: Segfault recipe

From: Jani Averbach <jaa_at_cc.jyu.fi>
Date: 2002-10-17 18:54:13 CEST

On 17 Oct 2002, Philip Martin wrote:

> Yes, please. No need for a break point, just run it under gdb until
> it crashes, then do bt and show us the stack trace.
>

Sorry for line breaks.

I am on irc, and I have still process attached to gdb.

BR, Jani

(gdb) run co http://localhost:2401/repos/test-2/opiskelu
Starting program: /usr/bin/svn co
http://localhost:2401/repos/test-2/opiskelu
A opiskelu/fys104
A opiskelu/fys104/fys101-2
A opiskelu/fys104/fys101-2/kulma35.gnumeric
A opiskelu/fys104/fys101-2/kulma23.gnumeric
A opiskelu/fys104/fys101-2/G.tex
A opiskelu/fys104/fys101-2/kulma30.gnumeric
A opiskelu/fys104/fys101-2/v0.tex
A opiskelu/fys104/fys101-2/abstract.txt
A opiskelu/fys104/fys101-2/kulma35.tex
A opiskelu/fys104/fys101-2/kulma23.tex
A opiskelu/fys104/fys101-2/Makefile
A opiskelu/fys104/fys101-2/valokenno.ps
A opiskelu/fys104/fys101-2/tykki.ps
A opiskelu/fys104/fys101-2/kulma30.tex
A opiskelu/fys104/fys101-2/heittoliike.tex
A opiskelu/fys104/fys101-2/valokenno.sk
A opiskelu/fys104/fys101-2/tykki.sk
A opiskelu/fys104/fys101-2/G.gnumeric
A opiskelu/fys104/fys101-2/v0.gnumeric
Checked out revision 3.

Program received signal SIGSEGV, Segmentation fault.
0x4018abbe in svn_path_is_child (path1=0x80a0c60 "opiskelu", path2=0x2
<Address 0x2 out of bounds>, pool=0x809f168)
    at subversion/libsvn_subr/path.c:622
622 if (path1[0] != '/' && path2[0] == '/')
gdb) bt
#0 0x4018abbe in svn_path_is_child (path1=0x80a0c60 "opiskelu", path2=0x2
<Address 0x2 out of bounds>, pool=0x809f168)
    at subversion/libsvn_subr/path.c:622
#1 0x4003f3d8 in do_close (adm_access=0x80a0c40, preserve_lock=0) at
subversion/libsvn_wc/lock.c:465
#2 0x4003f5ad in svn_wc_adm_close (adm_access=0x80a0c40) at
subversion/libsvn_wc/lock.c:510
#3 0x4004d4cf in close_edit (edit_baton=0x8089ef0) at
subversion/libsvn_wc/update_editor.c:1869
#4 0x4015be4a in wrap_close_edit (edit_baton=0x8088288) at
subversion/libsvn_delta/default_editor.c:507
#5 0x4016e85f in svn_ra_dav__do_checkout (session_baton=0x8088228,
revision=-1, recurse=1, editor=0x8089eb0, edit_baton=0x8089ef0)
    at subversion/libsvn_ra_dav/fetch.c:1339
#6 0x40019b21 in svn_client_checkout (notify_func=0x804bd50 <notify>,
notify_baton=0x8060230, auth_baton=0x8087ea8,
    URL=0x80601a0 "http://localhost:2401/repos/test-2/opiskelu",
path=0x8060220 "opiskelu", revision=0xbffff804, recurse=1,
    xml_src=0x0, pool=0x8087dd8) at
subversion/libsvn_client/checkout.c:111
#7 0x804af7f in svn_cl__checkout (os=0x805fdd0, baton=0xbffff804,
pool=0x805fc70) at subversion/clients/cmdline/checkout-cmd.c:132
#8 0x804e883 in main (argc=3, argv=0xbffff8f4) at
subversion/clients/cmdline/main.c:833

--
Jani Averbach
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 17 18:54:54 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.