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

Strange buffer overwrite bug

From: Peter Davis <peter_at_pdavis.cx>
Date: 2002-10-15 05:46:00 CEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've been getting this error lately. It appears to happen completely
randomly. Sometimes it doesn't happen at all, sometimes it happens right
away, and sometimes it happens at the very end of the checkout or update. In
this example, it happened pretty quickly:

$ svn co http://repository.pediddle.net/www.pediddle.net/ .
A trunk
A trunk/index.html
A trunk/template.html
A trunk/dtd
A trunk/dtd/xhtml
A trunk/dtd/xhtml/1
A trunk/dtd/xhtml/1/0
A trunk/dtd/xhtml/1/0/strict.dtd
A trunk/calendar
A trunk/security
A trunk/security/cryptography
subversion/libsvn_ra_dav/fetch.c:1386: (apr_err=175002, src_err=0)
svn: RA layer request failed
svn: could not fetch directory entries
subversion/libsvn_ra_dav/util.c:81: (apr_err=175002, src_err=0)
svn: PROPFIND of /www.pediddle.net/!svn/bc/5/trunk/security/cryptography:
Invalid HTTP status line in status element at line 57 of response:
Status line was: Hline1.1 200 OK

                  ^^^^
Every time this happens, these four characters are replaced with something
else, apparantly random. That's why I suspect a bad pointer somewhere. I
think I can rule out a hardware/memory problem, because this only happens
with SVN.

There's nothing unusual in the apache logs, and nothing at all in the error
log.

I've attached the relevant packet from an Ethereal log.

I'm using Apache httpd from October 8 at about 17:30PST, and svn 3370.

You can hit my repository yourself if you want, and I'll be happy to help gdb
anything if someone can tell me what to set and give some general
instructions (I'm program mostly Java; gdb is pretty new and different,
sorry).

Let me know if anyone has any ideas or needs anything. Thanks!

BTW, this bug sure has made me wish for resumable checkouts :)

- --
Peter Davis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9q494hDAgUT1yirARAtm1AJ9TE2dmPQ71haYwZOY70HWif8I1MwCfe0uG
HI+F9RSAncLepzsy0DEtUgU=
=Rnuh
-----END PGP SIGNATURE-----

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

Received on Tue Oct 15 05:46:48 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.