You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Olaf Hering <ol...@suse.de> on 2003/05/02 16:12:42 UTC

svn diff with svn:// gives Network connection closed unexpectedly

Hi,

I get this since a while. Is this still supposed to work with the
latest svn? I'm not sure what version is used on the remote side, but I
guess its 0.21.*:

olaf@smirnow:~/ieee1394> svn --version
svn, version 0.22.0 (dev build)
   compiled May  2 2003, 15:15:45

Copyright (C) 2000-2003 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
  - handles 'http' schema
  - handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' schema

olaf@smirnow:~/ieee1394> svn info
Path:
Url: svn://svn.linux1394.org/ieee1394
Revision: 920
Node Kind: directory
Schedule: normal
Last Changed Author: bencollins
Last Changed Rev: 920
Last Changed Date: 2003-05-02 15:38:44 +0200 (Fri, 02 May 2003)

olaf@smirnow:~/ieee1394> svn diff -r 1:2
svn: Network connection closed unexpectedly
svn: Connection closed unexpectedly



-- 
USB is for mice, FireWire is for men!

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

Re: svn diff with svn:// gives Network connection closed unexpectedly

Posted by mark benedetto king <mb...@boredom.org>.
On Tue, May 06, 2003 at 11:01:21AM -0400, mark benedetto king wrote:
> On Fri, May 02, 2003 at 10:07:14PM -0500, John Goerzen wrote:
> > I reported it earlier today as issue #1281 at
> > http://subversion.tigris.org/issues/show_bug.cgi?id=1281.
> > 
> > -- John
> > 
> 
> I can reproduce this problem in a few easy steps:
> 
> svnadmin create f
> svn mkdir -m "message" file://$PWD/f
> perl -e 'print "A"x4502355' > big-message
> svn ps --revprop svn:log -r 1 -F big-message file://$PWD/f
> svnserve -X  #or gdb it
> svn log -r 1 svn://localhost$PWD/
> 
> 
> I believe it to be a pools/vformatter bug.  It appears (to me) to be the
> same one that was reported as a potential buffer-overflow a few months
> ago.
> 
> It is proving to be very difficult to track down; I will try building
> APR without -O2 to see if that makes the debugging easier.

Update: removing -O2 did not make the debugging easier.  Still working
on tracking the problem down.  I may give in and build statically.

Note: for my test case, configuring APR with "--enable-pool-debug" fixes
the problem.  That might be a reasonable work-around for you for right now.

--ben


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

Re: svn diff with svn:// gives Network connection closed unexpectedly

Posted by mark benedetto king <mb...@boredom.org>.
On Fri, May 02, 2003 at 10:07:14PM -0500, John Goerzen wrote:
> Olaf Hering <ol...@suse.de> writes:
> 
> > I get this since a while. Is this still supposed to work with the
> > latest svn? I'm not sure what version is used on the remote side, but I
> > guess its 0.21.*:
> 
> I've been seeing the same with svn log, and like you, using svnserve.
> For me, it happens more when the data to be returned by svn log is
> large.  Does that agree with your experiences with svn diff?
> 
> I reported it earlier today as issue #1281 at
> http://subversion.tigris.org/issues/show_bug.cgi?id=1281.
> 
> -- John
> 

I can reproduce this problem in a few easy steps:

svnadmin create f
svn mkdir -m "message" file://$PWD/f
perl -e 'print "A"x4502355' > big-message
svn ps --revprop svn:log -r 1 -F big-message file://$PWD/f
svnserve -X  #or gdb it
svn log -r 1 svn://localhost$PWD/


I believe it to be a pools/vformatter bug.  It appears (to me) to be the
same one that was reported as a potential buffer-overflow a few months
ago.

It is proving to be very difficult to track down; I will try building
APR without -O2 to see if that makes the debugging easier.

--ben


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

Re: svn diff with svn:// gives Network connection closed unexpectedly

Posted by John Goerzen <jg...@complete.org>.
Olaf Hering <ol...@suse.de> writes:

> I get this since a while. Is this still supposed to work with the
> latest svn? I'm not sure what version is used on the remote side, but I
> guess its 0.21.*:

I've been seeing the same with svn log, and like you, using svnserve.
For me, it happens more when the data to be returned by svn log is
large.  Does that agree with your experiences with svn diff?

I reported it earlier today as issue #1281 at
http://subversion.tigris.org/issues/show_bug.cgi?id=1281.

-- John


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