out-of-memory while packing causes AssertionError in groupcompress _populate_first_index

Bug #728854 reported by Vikash Madhow
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned

Bug Description

Bzr pack crashes with the following error:

F:\bazaar\coresys\main>bzr pack
bzr: ERROR: exceptions.AssertionError:

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 923, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1123, in run_bzr
  File "bzrlib\commands.pyo", line 691, in run_argv_aliases
  File "bzrlib\commands.pyo", line 710, in run
  File "bzrlib\cleanup.pyo", line 135, in run_simple
  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
  File "bzrlib\builtins.pyo", line 4558, in run
  File "bzrlib\decorators.pyo", line 194, in write_locked
  File "bzrlib\repofmt\pack_repo.pyo", line 2421, in pack
  File "bzrlib\repofmt\pack_repo.pyo", line 1578, in pack
  File "bzrlib\repofmt\pack_repo.pyo", line 1599, in _try_pack_operations
  File "bzrlib\repofmt\groupcompress_repo.pyo", line 800, in _execute_pack_operations
  File "bzrlib\repofmt\pack_repo.pyo", line 745, in pack
  File "bzrlib\repofmt\groupcompress_repo.pyo", line 480, in _create_pack_from_packs
  File "bzrlib\repofmt\groupcompress_repo.pyo", line 463, in _copy_text_texts
  File "bzrlib\repofmt\groupcompress_repo.pyo", line 401, in _copy_stream
  File "bzrlib\groupcompress.pyo", line 1751, in _insert_record_stream
  File "bzrlib\groupcompress.pyo", line 824, in compress
  File "bzrlib\groupcompress.pyo", line 986, in _compress
  File "_groupcompress_pyx.pyx", line 246, in bzrlib._groupcompress_pyx.DeltaIndex.make_delta (bzrlib\_groupcompress_pyx.c:2201)
  File "_groupcompress_pyx.pyx", line 224, in bzrlib._groupcompress_pyx.DeltaIndex._populate_first_index (bzrlib\_groupcompress_pyx.c:2005)
AssertionError

bzr 2.3.0 on python 2.6.6 (Windows-Vista-6.0.6002-SP2)
arguments: ['bzr', 'pack']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Program Files (x86)\Bazaar\plugins\bzrtools [2.3.1]
  colo C:\Program Files (x86)\Bazaar\plugins\colo [0.2.1]
  explorer C:\Program Files (x86)\Bazaar\plugins\explorer [1.1.2]
  fastimport C:\Program Files (x86)\Bazaar\plugins\fastimport [0.10.0dev]
  launchpad C:\Program Files (x86)\Bazaar\plugins\launchpad [2.3.0]
  loom C:\Program Files (x86)\Bazaar\plugins\loom [2.2.1dev]
  netrc_credential_store C:\Program Files (x86)\Bazaar\plugins\netrc_credential_store [2.3.0]
  news_merge C:\Program Files (x86)\Bazaar\plugins\news_merge [2.3.0]
  pipeline C:\Program Files (x86)\Bazaar\plugins\pipeline [1.1.0]
  qbzr C:\Program Files (x86)\Bazaar\plugins\qbzr [0.20.0]
  rewrite C:\Program Files (x86)\Bazaar\plugins\rewrite [0.6.2dev]
  svn C:\Program Files (x86)\Bazaar\plugins\svn [1.0.5dev]
  upload C:\Program Files (x86)\Bazaar\plugins\upload [1.0.0]
  xmloutput C:\Program Files (x86)\Bazaar\plugins\xmloutput [0.8.7.dev]

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

Bazaar version used: 2.3.0.0
OS: Windows Vista professional 64-bit
Memory available: 4GB

summary: bzr pack with an internal error (related to bzr commit crashing with
- MemomryError())
+ MemoryError())
Martin Pool (mbp)
summary: - bzr pack with an internal error (related to bzr commit crashing with
- MemoryError())
+ out-of-memory causes AssertionError in groupcompress
+ _populate_first_index
Changed in bzr:
status: New → Confirmed
importance: Undecided → Medium
tags: added: groupcompress memory
summary: - out-of-memory causes AssertionError in groupcompress
+ out-of-memory while packing causes AssertionError in groupcompress
_populate_first_index
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.