Bug#1012258: diffoscope crashes with IndexError: tuple index out of range

Chris Lamb lamby at debian.org
Thu Jun 2 12:42:11 BST 2022

Hi Sander,

> Using diffoscope to compare two files (tar.gz) diffoscope crashes with the
> stacktrace below.

Thanks for the report. Given that you mention .tar.gz & .mp3 files,
and that diffoscope is crashing within code for comparing Python .pyc
files (!), I suspect what is happening is that diffoscope is not
detecting the filetype correctly. (Still, diffoscope shouldn't be
crashing when encountering an "invalid" .pyc file. In other words,
there is at least one problem here.)

Please could you provide:

  a) The two .tar.gz files in question


  b) The result of running diffoscope and appending "--debug 2>debug.log"
     and attaching the resulting debug.log.

With that, I'm sure I can quite easily diagnose and fix both potential
issues for you.


     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org 🍥 chris-lamb.co.uk

More information about the Reproducible-builds mailing list