RuntimeError in _groupcompress_pyx _expand_sources: "Conversion error : if we move self._source_infos"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
High
|
Unassigned |
Bug Description
Upgrading a rich-root-pack pull of the jtidy sourceforge SVN trunk, got the following stack trace
H:\src\
Upgrading branch file://
starting upgrade of file://
making backup of file://
to file://
starting repository conversion
conversion error: if we move self._source_infos, then we need to change all of the index pointers as well.
bzr: ERROR: exceptions.
well.
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
RuntimeError: if we move self._source_infos, then we need to change all of the index pointers as well.
bzr 2.3.1 on python 2.6.6 (Windows-
arguments: ['bzr', 'upgrade']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files\Bazaar\
colo C:\Program Files\Bazaar\
explorer C:\Program Files\Bazaar\
fastimport C:\Program Files\Bazaar\
launchpad C:\Program Files\Bazaar\
loom C:\Program Files\Bazaar\
netrc_
news_merge C:\Program Files\Bazaar\
pipeline C:\Program Files\Bazaar\
qbzr C:\Program Files\Bazaar\
rewrite C:\Program Files\Bazaar\
svn C:\Program Files\Bazaar\
upload C:\Program Files\Bazaar\
xmloutput C:\Program Files\Bazaar\
*** 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:/
including this traceback and a description of the problem.
H:\src\test\jtidy>
tags: | added: check-for-breezy |
It looks like this is coming from groupcompress_pyx:
cdef _expand_ sources( self):
' change all of the index pointers as well.')
self._ max_num_ sources = self._max_ num_sources * 2
self._ source_ infos = <source_info *>safe_ realloc( self._source_ infos,
sizeof( source_ info)
* self._max_ num_sources)
raise RuntimeError('if we move self._source_infos, then we need to'
and something about your data is generating so many sources that it hits a previously unimplemented case.