Bug#741685: libapt-*: 0.9.16 regression: files are closed twice
On Sat, Mar 15, 2014 at 05:18:57PM +0100, Julian Andres Klode wrote:
> Package: libapt-pkg4.12
> Version: 0.9.16
> Severity: serious
>
> Probably following the recent changes to the FileFd compressor
> handling, some files now get closed twice. I noticed this while
> running the python-apt test suite. It works on 0.9.15 but fails
> on 0.9.16 (the backtrace below is most likely wrong, though).
>
> It also occurs only under python3.4. Choosing Python 3.3 or
> APT 0.9.15.5 fixes the bug. The same applies to Bug#741682. Maybe
> APT is corrupting memory somewhere?
git-bisect says
84baaae93badc2da7c1f4f356456762895cef278 is the first bad commit
commit 84baaae93badc2da7c1f4f356456762895cef278
Author: David Kalnischkies <kalnischkies@gmail.com>
Date: Fri May 31 19:27:57 2013 +0200
move fd duplication closer to the gz/bz2 open calls
Git-Dch: Ignore
:040000 040000 a51ef88baf1405e767775371d6a039e548ff82c4 3711aa71932c08d80d5956ad5ddf73b912991f47 M apt-pkg
Same for the other bug.
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
Please do not top-post if possible.
Reply to: