Bug#852013: (no subject)
Brett Smith
debbug at brettcsmith.org
Fri Jan 20 20:59:26 UTC 2017
On my system at least, diffoscope is segfaulting:
% TMPDIR=/tmp/diffoscope2 diffoscope --debug /tmp/ink*.tar
...
2017-01-20 20:51:05 D: diffoscope.comparators.utils.compare: Comparing
files <<class 'diffoscope.comparators.elf.ElfCodeSection'> .text> and
<<class 'diffoscope.comparators.elf.ElfCodeSection'> .text>
2017-01-20 20:51:05 D: diffoscope.comparators.utils.command: Executing
objdump --line-numbers --disassemble --demangle --section=.text
/tmp/diffoscope2/tmpjc5015ey_diffoscope/bin/inkscape
2017-01-20 20:51:05 D: diffoscope.comparators.utils.command: Executing
objdump --line-numbers --disassemble --demangle --section=.text
/tmp/diffoscope2/tmpctv5bsup_diffoscope/bin/inkscape
^Czsh: segmentation fault TMPDIR=/tmp/diffoscope2 diffoscope --debug
/tmp/ink*.tar
I can reproduce this with timeout too. If I run it with
`--preserve-status`, it exits 139, which means diffoscope got signal 11.
So to me it looks like the bug isn't that diffoscope is "forgetting" to
clean its tempfiles: it's not like the cleanup code is being routed
around or running with bad data. Instead, a more critical bug causes
Python to abort abruptly before it gets to run the cleanup code.
--
Brett Smith
More information about the Reproducible-builds
mailing list