[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: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-10-17 19:58:21 CEST

Jani Averbach <jaa@cc.jyu.fi> writes:

> 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

Something looks really broken, the access baton hash appears to
contain junk. Do the Subversion regression tests pass? They use this
code extensively. If they do pass, and they should, can you try
repeating this checkout with the subversion executable in the build
area.

> #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

I note you said earlier that it works when run from a script, can you
go into more details. Do you mean that the exact same commands work
when run from a script? Which commands do you put in the script? How
do you run the script?

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 17 19:59:00 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.