Bug#870049: diffoscope: hangs on some LLVM bytecode files and maybe other files

Ximin Luo infinity0 at debian.org
Sat Jul 29 09:24:00 UTC 2017


Ximin Luo:
> Package: diffoscope
> Version: 84
> Severity: important
> 
> Dear Maintainer,
> 
> When testing rustc reproducibility:
> 
> $ for i in {1..10}; do diffoscope core-fcc113aeec9d4b78.0.bytecode.0 core-fcc113aeec9d4b78.0.bytecode.1 | wc -l; done
> # hangs first time
> 
> $ for i in {1..10}; do diffoscope --max-diff-input-lines 0 core-fcc113aeec9d4b78.0.bytecode.0 core-fcc113aeec9d4b78.0.bytecode.1 | wc -l; done
> # hangs after a few (3-30) tries, seems random
> 
> $ for i in {1..10}; do diff -ru <(llvm-bcanalyzer -dump core-fcc113aeec9d4b78.0.bytecode.0) <(llvm-bcanalyzer -dump core-fcc113aeec9d4b78.0.bytecode.1) | wc -l; done
> # succeeds every time
> 
> When running `pstree -alup` one can see either one or both llvm-bcanalyzer processes running. I guess there's a race condition to do with filtering command output.
> 

Whoops, forgot to attach the files. Here they are.

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git
-------------- next part --------------
A non-text attachment was scrubbed...
Name: core-fcc113aeec9d4b78.0.bytecode.0
Type: application/octet-stream
Size: 305284 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20170729/bee58bc7/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: core-fcc113aeec9d4b78.0.bytecode.1
Type: application/octet-stream
Size: 601564 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20170729/bee58bc7/attachment-0003.obj>


More information about the Reproducible-builds mailing list