Page MenuHomeSoftware Heritage

AssertionError: 7911 != 7912 in subvertpy while parsing txdeltas
Closed, MigratedEdits Locked

Description

https://sentry.softwareheritage.org/organizations/swh/issues/105086/?referrer=phabricator_plugin

AssertionError: 7911 != 7912
(2 additional frame(s) were not displayed)
...
  File "swh/loader/svn/svn.py", line 559, in swh_hash_data_per_revision
    objects = self.swhreplay.compute_objects(rev, low_water_mark)
  File "swh/loader/svn/replay.py", line 995, in compute_objects
    self.replay(rev, low_water_mark)
  File "swh/loader/svn/replay.py", line 977, in replay
    self.conn.replay(rev, low_water_mark, self.editor)
  File "swh/loader/svn/replay.py", line 104, in apply_window
    patch = delta.apply_txdelta_window(sbuf, window)
  File "subvertpy/delta.py", line 53, in apply_txdelta_window
    raise AssertionError("%d != %d" % (len(tview), tview_len))

7911 != 7912

while loading https://svn.code.sf.net/p/codeblocks/code

Event Timeline

vlorentz renamed this task from AssertionError: 7911 != 7912 to AssertionError: 7911 != 7912 in subvertpy while parsing xdeltas.Nov 8 2022, 10:51 AM
vlorentz renamed this task from AssertionError: 7911 != 7912 in subvertpy while parsing xdeltas to AssertionError: 7911 != 7912 in subvertpy while parsing txdeltas.
vlorentz removed vlorentz as the assignee of this task.
vlorentz triaged this task as Low priority.
vlorentz added a subscriber: vlorentz.

This is a regression induced by commit rDLDSVN04566a7f3616fb94063355aae491a4e5ad4a832f, I understood the issue and I am working on a fix.

anlambert raised the priority of this task from Low to Normal.Dec 7 2022, 5:46 PM
anlambert claimed this task.

Fixed and deployed.