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

Re: Crash of svn during checkout

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-06-04 15:15:40 CEST

Patrick Mayweg <mayweg@qint.de> writes:

> Hi,
> I have a crash svn during a checkout. I am checking out through ra_dav
> and in file libsvn_ra_dav\fetch.c and the function start_element the
> crash happens in the following part of code:

> else
> {
> name = get_attr(atts, "name"); <<<<<<<<<< this returns NULL
> /* ### verify we got it. punt on error. */
> svn_stringbuf_set(rb->namestr, name); <<<<<<<<<<< this crashes

> This crash happens in the current svn trunk (r6139). I have a crash at
> the same place during merging. I susppect the crash originates in a
> trunkcated server reply.

Sounds like a good guess.

This part of libsvn_ra_dav is parsing an <update-report> coming from
the server, in particular, the <open-directory> tag. The xml "name"
attribute is not optional in the report language... so either the
report is very messed up, or the server truncated something.

What we need from you is:

 1. a reproduction recipe, if possible

 2. an ethereal trace of the http session, so we can see the xml in
    the protocol. (Make sure that you set "http-compression" to "no"
    in your ~/.subversion/servers file before doing the capture.)

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 4 15:17:31 2003

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.