bzr chrashes with large data file (3.7 GB)

Bug #1554078 reported by Burkhard Redeker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

bzr chrashes with large data file (3.7 GB). ERROR: exceptions.OverflowError: size does not fit in an int

backup database database.dump...
Committing to: /mnts/sysdb/database/
Hinzugefügt database.sql
bzr: ERROR: exceptions.OverflowError: size does not fit in an int

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 1121, 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/builtins.py", line 3687, in run
    lossy=lossy)
  File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 218, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/workingtree_4.py", line 218, in commit
    result = WorkingTree.commit(self, message, revprops, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 218, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/mutabletree.py", line 211, in commit
    *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commit.py", line 290, in commit
    lossy=lossy)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 132, in run
    self.cleanups, self.func, self, *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/commit.py", line 432, in _commit
    self._update_builder_with_changes()
  File "/usr/lib/python2.7/dist-packages/bzrlib/commit.py", line 693, in _update_builder_with_changes
    self.work_tree, self.basis_revid, iter_changes):
  File "/usr/lib/python2.7/dist-packages/bzrlib/vf_repository.py", line 770, in record_iter_changes
    file_id, text, heads, nostore_sha)
  File "/usr/lib/python2.7/dist-packages/bzrlib/vf_repository.py", line 839, in _add_text_to_weave
    nostore_sha=nostore_sha, random_id=self.random_revid)[0:2]
  File "/usr/lib/python2.7/dist-packages/bzrlib/groupcompress.py", line 1301, in _add_text
    nostore_sha=nostore_sha))[0]
  File "/usr/lib/python2.7/dist-packages/bzrlib/groupcompress.py", line 1838, in _insert_record_stream
    flush()
  File "/usr/lib/python2.7/dist-packages/bzrlib/groupcompress.py", line 1702, in flush
    bytes_len, chunks = self._compressor.flush().to_chunks()
  File "/usr/lib/python2.7/dist-packages/bzrlib/groupcompress.py", line 320, in to_chunks
    self._create_z_content()
  File "/usr/lib/python2.7/dist-packages/bzrlib/groupcompress.py", line 316, in _create_z_content
    self._create_z_content_from_chunks(chunks)
  File "/usr/lib/python2.7/dist-packages/bzrlib/groupcompress.py", line 303, in _create_z_content_from_chunks
    compressed_chunks = map(compressor.compress, chunks)
OverflowError: size does not fit in an int

bzr 2.7.0dev1 on python 2.7.6 (Linux-3.13.0-79-generic-x86_64-with-
    Ubuntu-14.04-trusty)
arguments: ['/usr/bin/bzr', 'commit', '-m', '06.03.2016']
plugins: bash_completion[2.7.0dev1], changelog_merge[2.7.0dev1],
    grep[2.7.0dev1], launchpad[2.7.0dev1], netrc_credential_store[2.7.0dev1],
    news_merge[2.7.0dev1], po_merge[2.7.0dev1], weave_fmt[2.7.0dev1]
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'de_DE.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.

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.