"bzr index" crashes; "Somehow we ended up with too much compressed data"

Bug #1187961 reported by Mike Doherty
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned
bzr search plugin
New
Undecided
Unassigned

Bug Description

mike@charron:~/code/mysql-server
$ bzr index -v
bzr: ERROR: exceptions.AssertionError: Somehow we ended up with too much compressed data, 4157 > 4096

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 930, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1141, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/search/commands.py", line 41, in run
    _mod_index.index_url(trans.base)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/search/index.py", line 171, in index_url
    index.index_branch(branch, _last_revid)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/search/index.py", line 348, in index_branch
    self.index_revisions(branch, revs_to_index)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/search/index.py", line 363, in index_revisions
    outer_bar)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/search/index.py", line 411, in _index_revisions
    self._add_index(builder)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/search/index.py", line 426, in _add_index
    self._upload_transport)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/search/index.py", line 1154, in upload_index
    "terms", writer)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/search/index.py", line 1041, in _add_index_to_pack
    index_file = index.finish()
  File "/usr/lib/python2.7/dist-packages/bzrlib/btree_index.py", line 449, in finish
    return self._write_nodes(self.iter_all_entries())[0]
  File "/usr/lib/python2.7/dist-packages/bzrlib/btree_index.py", line 398, in _write_nodes
    self._add_key(string_key, line, rows, allow_optimize=allow_optimize)
  File "/usr/lib/python2.7/dist-packages/bzrlib/btree_index.py", line 333, in _add_key
    rows[-1].finish_node()
  File "/usr/lib/python2.7/dist-packages/bzrlib/btree_index.py", line 75, in finish_node
    byte_lines, _, padding = self.writer.finish()
  File "/usr/lib/python2.7/dist-packages/bzrlib/chunk_writer.py", line 144, in finish
    % (self.bytes_out_len, self.chunk_size))
AssertionError: Somehow we ended up with too much compressed data, 4157 > 4096

bzr 2.6b2 on python 2.7.3 (Linux-3.5.0-32-generic-x86_64-with-
    Ubuntu-12.10-quantal)
arguments: ['/usr/bin/bzr', 'index', '-v']
plugins: bash_completion[2.6b2], changelog_merge[2.6b2], etckeeper[unknown],
    launchpad[2.6b2], netrc_credential_store[2.6b2], news_merge[2.6b2],
    po_merge[2.6b2], search[1.7.0dev], weave_fmt[2.6b2]
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_CA.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.

[4]

Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
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.