[Python-apps-team] Bug#946673: mercurial: zstd decompressor error: Unknown frame descriptor

Marc Glisse marc.glisse at normalesup.org
Fri Dec 13 11:28:05 GMT 2019


Package: mercurial
Version: 5.2.1-1
Severity: normal

Dear Maintainer,

I don't know when exactly this started, but it can't be too long ago. Today I see

$ hg clone https://gmplib.org/repo/gmp
destination directory: gmp
requesting all changes
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.17 (default, Oct 19 2019, 23:36:22) [GCC 9.2.1 20191008]
** Mercurial Distributed SCM (version 5.2.1)
** Extensions loaded: extdiff, pager
Traceback (most recent call last):
   File "/usr/bin/hg", line 36, in <module>
     dispatch.run()
   File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 111, in run
     status = dispatch(req)
   File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 250, in dispatch
     ret = _runcatch(req) or 0
   File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 424, in _runcatch
     return _callcatch(ui, _runcatchfunc)
   File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 433, in _callcatch
     return scmutil.callcatch(ui, func)
   File "/usr/lib/python2.7/dist-packages/mercurial/scmutil.py", line 177, in callcatch
     return func()
   File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 414, in _runcatchfunc
     return _dispatch(req)
   File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 1174, in _dispatch
     lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
   File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 862, in runcommand
     ret = _runcommand(ui, options, cmd, d)
   File "/usr/lib/python2.7/dist-packages/hgext/pager.py", line 76, in pagecmd
     return orig(ui, options, cmd, cmdfunc)
   File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 1185, in _runcommand
     return cmdfunc()
   File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 1171, in <lambda>
     d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
   File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 1845, in check
     return func(*args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line 1925, in clone
     depth=opts.get(b'depth') or None,
   File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 901, in clone
     depth=depth,
   File "/usr/lib/python2.7/dist-packages/mercurial/exchange.py", line 1780, in pull
     _fullpullbundle2(repo, pullop)
   File "/usr/lib/python2.7/dist-packages/mercurial/exchange.py", line 1673, in _fullpullbundle2
     _pullbundle2(pullop)
   File "/usr/lib/python2.7/dist-packages/mercurial/exchange.py", line 1976, in _pullbundle2
     bundle = e.callcommand(b'getbundle', args).result()
   File "/usr/lib/python2.7/dist-packages/mercurial/thirdparty/concurrent/futures/_base.py", line 457, in result
     return self.__get_result()
   File "/usr/lib/python2.7/dist-packages/mercurial/wireprotov1peer.py", line 227, in sendcommands
     result = fn(**pycompat.strkwargs(args))
   File "/usr/lib/python2.7/dist-packages/mercurial/wireprotov1peer.py", line 472, in getbundle
     return bundle2.getunbundler(self.ui, f)
   File "/usr/lib/python2.7/dist-packages/mercurial/bundle2.py", line 769, in getunbundler
     magicstring = changegroup.readexactly(fp, 4)
   File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 3585, in readexactly
     s = stream.read(n)
   File "/usr/lib/python2.7/dist-packages/mercurial/utils/compression.py", line 378, in read
     self._decompress(chunk)
   File "/usr/lib/python2.7/dist-packages/mercurial/utils/compression.py", line 438, in _decompress
     newbuf = self._decompobj.decompress(chunk)
zstd.ZstdError: zstd decompressor error: Unknown frame descriptor

while this still works on a stretch system I have access to. Downgrading 
mercurial to the version from stable does not help, so the issue likely 
appeared with the upgrade of some dependency. Removing ~/.hgrc does not 
help.

-- System Information:
Debian Release: bullseye/sid
   APT prefers unstable-debug
   APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.3.0-2-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mercurial depends on:
ii  libc6             2.29-3
ii  mercurial-common  5.2.1-1
ii  python            2.7.17-2
ii  python2           2.7.17-2
ii  ucf               3.0038+nmu1

Versions of packages mercurial recommends:
ii  openssh-client  1:8.1p1-1

Versions of packages mercurial suggests:
ii  kdiff3     1.8.01-1+b1
ii  kdiff3-qt  1.8.01-1
pn  qct        <none>

-- no debconf information



More information about the Python-apps-team mailing list