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

Jeff Lane jeffrey.lane at canonical.com
Fri Aug 19 19:07:16 UTC 2011


On 08/19/2011 11:04 AM, Jelmer Vernooij wrote:
> The subject mentions "branches" - can you reproduce this with more than
> just lp:checkbox?
>
> This might be a dupe of bug 598572.
>

I also saw this when trying to branch lp:launchpad as well, but ONLY on 
my main workstation.  I tried these on a different machine and had no 
issues, so now i'm starting to wonder if maybe something's been broken 
in an update on this machine, or if I have some questionable hardware 
instead that could be causing this weirdness.

Also of note on this machine is that over the last week or so, every 
time something crashes and creates a core dump in /var/crash, apport 
errors out saying that the core dump is corrupted and can't be recovered.

So perhaps that's a clue.  Either way, I've pinned this to one machine, 
and am unable to reproduce it on my other machine after further 
investigation.

-- 
Jeff Lane - Hardware Certification Engineer and Test Tools Developer
Ubuntu Ham: W4KDH
Freenode IRC: bladernr or bladernr_
gpg: 1024D/3A14B2DD 8C88 B076 0DD7 B404 1417  C466 4ABD 3635 3A14 B2DD

-- 
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