Crash in bzr-svn trying to branch python trunk

Bug #196043 reported by Paul Moore
4
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Incomplete
Undecided
Unassigned

Bug Description

>bzr branch http://svn.python.org/projects/python/trunk python
bzr: ERROR: libsvn._core.SubversionException: ("PROPFIND request failed on '/projects/python/trunk'", 175002)

Traceback (most recent call last):
  File "bzrlib\commands.pyc", line 806, in run_bzr_catch_errors
  File "bzrlib\commands.pyc", line 762, in run_bzr
  File "bzrlib\commands.pyc", line 492, in run_argv_aliases
  File "bzrlib\builtins.pyc", line 907, in run
  File "C:/Documents and Settings/Gustav/Application Data/bazaar/2.0/plugins\svn\remote.py", line 75, in sprout
  File "bzrlib\repository.pyc", line 916, in fetch
  File "C:/Documents and Settings/Gustav/Application Data/bazaar/2.0/plugins\svn\fetch.py", line 716, in fetch
  File "C:/Documents and Settings/Gustav/Application Data/bazaar/2.0/plugins\svn\fetch.py", line 673, in _fetch_switch
  File "C:/Documents and Settings/Gustav/Application Data/bazaar/2.0/plugins\svn\errors.py", line 112, in convert
SubversionException: ("PROPFIND request failed on '/projects/python/trunk'", 175002)

bzr 1.1.0 on python 2.5.1.final.0 (win32)
arguments: ['bzr', 'branch', 'http://svn.python.org/projects/python/trunk', 'python']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  launchpad C:\Apps\Bazaar\lib\library.zip\bzrlib\plugins\launchpad [unknown]
  multiparent C:\Apps\Bazaar\lib\library.zip\bzrlib\plugins\multiparent.pyc [unknown]
  svn C:\Documents and Settings\Gustav\Application Data\bazaar\2.0\plugins\svn [0.4.7]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

Revision history for this message
Paul Moore (pmoore) wrote :

This is a memory leak. As the bzr-svn operation proceeds, memory used by the bzr process increases slowly but steadily, until all physical memory is used, at which point the crash occurs.

Similar behaviour occurs with bzr pull from a svn branch.

Revision history for this message
Paul Moore (pmoore) wrote :

This is related to the bzr-svn plugin, rather than to bzr core.

Revision history for this message
Adrian Wilkins (adrian-wilkins) wrote :

The memory leak errors produce relevant MemoryError exceptions, this looks more like a dupe of the broken http:// support bug.

Revision history for this message
Paul Moore (pmoore) wrote :

I don't believe it is. Jelmer claimed that bug 190832 "is a known issue in the http(s) support in the 0.4 branch at the moment. It should work fine in any releases". I'm using a released version (0.4.7) so I don't think it applies (unless I'm misreading Jelmer's comment - but if so, I don't see what it *does* mean).

The bug is certainly an issue of running out of memory - RAM use increases until physical memory is all used, and then the program crashes. Frankly, as things stand, the plugin is unusable for me on large trees. I have given up with it until this issue is fixed.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

It's probably a memory error in python-subversion. Are you using a recent version of Subversion 1.5? If not, this bug should probably be reassigned to Subversion.

Changed in bzr-svn:
status: New → Incomplete
Revision history for this message
Paul Moore (pmoore) wrote :

I am using the binary build provided by Kevin Light, which claims to include the patches to the python-subversion bindings to fix the memory leak. I cannot build Subversion (or the Python bindings) myself, so I have to rely on Kevin's binary.

So, either:
1. Kevin's binaries don't actually contain patched python-svn bindings,
2. The python-svn patch doesn't work, or
3. This is an unrelated bug

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 196043] Re: Crash in bzr-svn trying to branch python trunk

Am Mittwoch, den 12.03.2008, 17:56 +0000 schrieb Paul Moore:
> I am using the binary build provided by Kevin Light, which claims to
> include the patches to the python-subversion bindings to fix the memory
> leak. I cannot build Subversion (or the Python bindings) myself, so I
> have to rely on Kevin's binary.
>
> So, either:
> 1. Kevin's binaries don't actually contain patched python-svn bindings,
> 2. The python-svn patch doesn't work, or
I'm very sure it at least fixes some memory issues.

> 3. This is an unrelated bug
It may well be this, but at least I can't reproduce it here locally
then. It may also be windows-specific in some way.

Cheers,

Jelmer

--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Marking as duplicate of #191731 because both appear to involve memory problems on Windows that are unreproducible on Linux.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This should've improved now that bzr-svn has its own bindings.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.