[Bug 829552] Re: Pulling large branches with bzr fails in grand fashion (sefgaults, tracebacks, oh my!)

Jelmer Vernooij 829552 at bugs.launchpad.net
Fri Aug 19 15:04:48 UTC 2011


The subject mentions "branches" - can you reproduce this with more than
just lp:checkbox?

This might be a dupe of bug 598572.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/829552

Title:
  Pulling large branches with bzr fails in grand fashion (sefgaults,
  tracebacks, oh my!)

Status in “bzr” package in Ubuntu:
  New

Bug description:
  While looking into something, I tried pulling  a branch of checkbox
  using bzr.  This started creating a local branch of the current
  checkbox trunk, however, after a certain point, bzr crashed with a
  traceback and a partially filled directory.

  bladernr at klaatu:~/development$ bzr branch lp:checkbox
  bzr: failed to report crash using apport:nserting stream:Estimate 16286/20950                                                                      
       OSError(13, 'Permission denied')
  bzr: ERROR: zlib.error: Error -3 while decompressing data: incorrect data check

  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 924, in exception_to_return_code
      return the_callable(*args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1124, in run_bzr
      ret = run(*run_argv)
    File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 689, in run_argv_aliases
      return self.run(**all_cmd_args)
    File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 711, 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 1227, in run
      source_branch=br_from)
    File "/usr/lib/python2.7/dist-packages/bzrlib/controldir.py", line 374, in sprout
      create_tree_if_local=create_tree_if_local)
    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/controldir.py", line 427, in _sprout
      result_repo.fetch(source_repository, fetch_spec=fetch_spec)
    File "/usr/lib/python2.7/dist-packages/bzrlib/repository.py", line 1777, in fetch
      find_ghosts=find_ghosts, fetch_spec=fetch_spec)
    File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 194, in write_locked
      result = unbound(self, *args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/bzrlib/repository.py", line 3433, in fetch
      find_ghosts=find_ghosts)
    File "/usr/lib/python2.7/dist-packages/bzrlib/fetch.py", line 72, in __init__
      self.__fetch()
    File "/usr/lib/python2.7/dist-packages/bzrlib/fetch.py", line 98, in __fetch
      self._fetch_everything_for_search(search)
    File "/usr/lib/python2.7/dist-packages/bzrlib/fetch.py", line 126, in _fetch_everything_for_search
      stream, from_format, [])
    File "/usr/lib/python2.7/dist-packages/bzrlib/repository.py", line 4093, in insert_stream
      src_format, is_resume)
    File "/usr/lib/python2.7/dist-packages/bzrlib/repository.py", line 4157, in insert_stream_without_locking
      self.target_repo.texts.insert_record_stream(substream)
    File "/usr/lib/python2.7/dist-packages/bzrlib/groupcompress.py", line 1617, in insert_record_stream
      for _ in self._insert_record_stream(stream, random_id=False):
    File "/usr/lib/python2.7/dist-packages/bzrlib/groupcompress.py", line 1734, in _insert_record_stream
      bytes = record.get_bytes_as('fulltext')
    File "/usr/lib/python2.7/dist-packages/bzrlib/groupcompress.py", line 462, in get_bytes_as
      self._manager._prepare_for_extract()
    File "/usr/lib/python2.7/dist-packages/bzrlib/groupcompress.py", line 562, in _prepare_for_extract
      self._block._ensure_content(self._last_byte)
    File "/usr/lib/python2.7/dist-packages/bzrlib/groupcompress.py", line 155, in _ensure_content
      self._content = zlib.decompress(z_content)
  error: Error -3 while decompressing data: incorrect data check

  bzr 2.3.4 on python 2.7.1 (Linux-2.6.38-10-generic-x86_64-with-
      Ubuntu-11.04-natty)
  arguments: ['/usr/bin/bzr', 'branch', 'lp:checkbox']
  plugins: bash_completion[2.3.4], builddeb[2.7.0dev], bzrtools[2.3.1],
      launchpad[2.3.4], netrc_credential_store[2.3.4], news_merge[2.3.4],
      qbzr[0.20.0]
  encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'

  *** Bazaar has encountered an internal error.  This probably indicates a
      bug in Bazaar.  You can help us fix it by filing a bug report at
          https://bugs.launchpad.net/bzr/+filebug
      including this traceback and a description of the problem.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: bzr 2.3.4-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
  Uname: Linux 2.6.38-10-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Fri Aug 19 10:37:02 2011
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=en_US:en
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: bzr
  UpgradeStatus: Upgraded to natty on 2011-06-03 (77 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bzr/+bug/829552/+subscriptions




More information about the foundations-bugs mailing list