You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Dietrich Epp <di...@zdome.net> on 2003/11/27 07:21:00 UTC

Bus Error in 0.33.1

I'm using Subversion 0.33.1.  I mistyped a command and Subversion gave 
a bus error.  I was in a working copy and I typed "svn st ..".  The 
parent directory was not a working copy.  I reproduced this in a few 
cases, always where I was in a working copy and tried to get the status 
of the parent directory which wasn't.

It looks like dereferencing a NULL pointer to me, but I'm not very 
familiar with the project.

The end of the backtrace looks funny, when I got this error in 0.33.0 
it ended in 'main'.

#0  handle_dir_entry (eb=0x1824240, adm_access=0x1812be8, 
name=0x1819e68 "..", dir_entry=0x1812ef8, entry=0x0, ignores=0x18245f8, 
descend=0, get_all=0, no_ignore=1, status_func=0x217408 <tweak_status>, 
status_baton=0xbffff8f0, cancel_func=0x53d8 <svn_cl__check_cancel>, 
cancel_baton=0x0, pool=0x1815a18) at subversion/libsvn_wc/status.c:623
#1  0x00282e88 in get_dir_status (eb=0x1824240, parent_entry=0x0, 
adm_access=0x1812be8, entry=0x1812a30 "..", ignores=0x18245f8, 
descend=0, get_all=0, no_ignore=1, skip_this_dir=1, 
status_func=0x217408 <tweak_status>, status_baton=0xbffff8f0, 
cancel_func=0x53d8 <svn_cl__check_cancel>, cancel_baton=0x0, 
pool=0x1811218) at subversion/libsvn_wc/status.c:777
#2  0x00283f58 in close_edit (edit_baton=0x1824240, pool=0x1811218) at 
subversion/libsvn_wc/status.c:1547
#3  0x000a0cb0 in close_edit (edit_baton=0x18246c8, pool=0x1811218) at 
subversion/libsvn_delta/cancel.c:335
#4  0x00217880 in svn_client_status (youngest=0xbffff9f4, 
path=0x1805010 "..", revision=0xbffff9d0, status_func=0x8ff0 
<print_status>, status_baton=0xbffff9e0, descend=1, get_all=0, 
update=0, no_ignore=0, ctx=0xbffffb10, pool=0x1811218) at 
subversion/libsvn_client/status.c:230
#5  0x00009140 in xmlInitParserCtxt (ctxt=0xbffffa60) at 
parserInternals.c:1538
#6  0x000062b8 in __xmlRaiseError (schannel=0, channel=0, data=0x0, 
ctx=0x0, nod=0x0, domain=0, code=0, level=XML_ERR_NONE, file=0x0, 
line=0, str1=0x0, str2=0x0, str3=0x0, int1=0, int2=0, msg=0x0) at 
error.c:462


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Bus Error in 0.33.1

Posted by Ben Collins-Sussman <su...@collab.net>.
On Thu, 2003-11-27 at 01:21, Dietrich Epp wrote:
> I'm using Subversion 0.33.1.  I mistyped a command and Subversion gave 
> a bus error.  I was in a working copy and I typed "svn st ..".  The 
> parent directory was not a working copy.  I reproduced this in a few 
> cases, always where I was in a working copy and tried to get the status 
> of the parent directory which wasn't.

Thanks, I was able to reproduce this bug easily, and filed it as issue
1617.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org