bzr crashed with SubversionException in send_svn_file_text_delta(): ("Cannot write to the prototype revision file of transaction '294-95' because a previous representation is currently being written by this process", 160044)

Bug #948619 reported by Hobson Lane
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-svn (Ubuntu)
New
Medium
Unassigned

Bug Description

Description: Ubuntu 11.10
Release: 11.10

Bzr transmission packets may have been corrupted by intermittent WiFi connection dropouts on an internet cafe proxy that requires web login (spoofs HTTP responses).

bzr: ERROR: subvertpy.SubversionException: ("Cannot write to the prototype revision file of transaction '294-95' because a previous representation is currently being written by this process", 160044)

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 946, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1150, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 699, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 721, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 3316, in run
    lossy=lossy)
  File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 217, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/workingtree_4.py", line 209, in commit
    result = WorkingTree.commit(self, message, revprops, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 217, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/mutabletree.py", line 210, in commit
    *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commit.py", line 289, in commit
    lossy=lossy)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 131, in run
    self.cleanups, self.func, self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commit.py", line 457, in _commit
    self.branch, new_revno, self.rev_id, lossy=lossy)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/branch.py", line 546, in import_last_revision_info_and_tags
    revno, revid, lossy=lossy)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/branch.py", line 541, in import_last_revision_info
    overwrite=False, push_metadata=not lossy, append_revisions_only=True)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/push.py", line 354, in push_todo
    push_metadata=push_metadata)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/push.py", line 391, in push_revision_series
    project=project, layout=layout)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/push.py", line 409, in push_revision_inclusive
    base_foreign_info=base_foreign_info)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/push.py", line 439, in push_single_revision
    root_action=root_action)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/push.py", line 175, in push_revision_tree
    revid = builder.commit(rev.message)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/errors.py", line 141, in convert
    return unbound(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/commit.py", line 795, in commit
    self.branch_path, self.modified_files, self._visit_dirs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/commit.py", line 383, in dir_editor_send_changes
    child_editor, branch_path, modified_files, visit_dirs) or changed
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/commit.py", line 383, in dir_editor_send_changes
    child_editor, branch_path, modified_files, visit_dirs) or changed
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/commit.py", line 383, in dir_editor_send_changes
    child_editor, branch_path, modified_files, visit_dirs) or changed
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/commit.py", line 383, in dir_editor_send_changes
    child_editor, branch_path, modified_files, visit_dirs) or changed
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/commit.py", line 383, in dir_editor_send_changes
    child_editor, branch_path, modified_files, visit_dirs) or changed
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/commit.py", line 321, in dir_editor_send_changes
    modified_files[child_ie.file_id](child_editor)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/commit.py", line 1066, in <lambda>
    file_id, ie, editor)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/commit.py", line 1058, in send_svn_file_text_delta
    editor.close()
SubversionException: ("Cannot write to the prototype revision file of transaction '294-95' because a previous representation is currently being written by this process", 160044)

You can report this problem to Bazaar's developers by running
    apport-bug /var/crash/bzr.1000.2012-03-07T01:22.crash
if a bug-reporting window does not automatically appear.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: bzr 2.4.1-1ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-16.28-generic-pae 3.0.17
Uname: Linux 3.0.0-16-generic-pae i686
NonfreeKernelModules: wl
ApportVersion: 1.23-0ubuntu4
Architecture: i386
BzrDebugFlags: set()
BzrVersion: 2.4.1
CheckboxSubmission: 9cfd7e7d0fc35e47e4d2c2b47ed4f762
CheckboxSystem: d00f84de8a555815fa1c4660280da308
CommandLine:
 ['/usr/bin/bzr',
  'commit',
  '-m',
  'freegeoip geocoder now working in geocode extension']
CrashDb: bzr
Date: Wed Mar 7 09:22:29 2012
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
InterpreterPath: /usr/bin/python2.7
Locale: en_US.UTF-8
PackageArchitecture: all
Platform: Linux-3.0.0-16-generic-pae-i686-with-Ubuntu-11.10-oneiric
ProcCmdline: /usr/bin/python /usr/bin/bzr commit -m freegeoip\ geocoder\ now\ working\ in\ geocode\ extension
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LANGUAGE=en_US: en
PythonVersion: 2.7.2
SourcePackage: bzr
Title: bzr crashed with SubversionException in send_svn_file_text_delta(): ("Cannot write to the prototype revision file of transaction '294-95' because a previous representation is currently being written by this process", 160044)
UpgradeStatus: Upgraded to oneiric on 2011-10-20 (138 days ago)
UserEncoding: UTF-8
UserGroups: adm admin audio cdrom dialout dip fax fuse lpadmin mlocate netdev plugdev sambashare sudo tape video www-data

Revision history for this message
Hobson Lane (hobs) wrote :
tags: removed: need-duplicate-check
Changed in bzr (Ubuntu):
importance: Undecided → Medium
Jelmer Vernooij (jelmer)
affects: bzr (Ubuntu) → bzr-svn (Ubuntu)
information type: Private → Public
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.