[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#741685: marked as done (libapt-*: 0.9.16 regression: files are closed twice)



Your message dated Sat, 15 Mar 2014 17:48:55 +0000
with message-id <E1WOshb-0001af-OJ@franck.debian.org>
and subject line Bug#741685: fixed in apt 0.9.16.1
has caused the Debian Bug report #741685,
regarding libapt-*: 0.9.16 regression: files are closed twice
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
741685: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741685
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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?

$ python3.4 test_debfile.py -v
testDebFile (__main__.TestDebfile) ... ok
testDscFile (__main__.TestDebfile) ... ok
test_check_exception (__main__.TestDebfile) ... ERROR
test_contains (__main__.TestDebfile) ... ok
test_content (__main__.TestDebfile) ... ok
test_multi_arch_allowed (__main__.TestDebfile) ... ok
test_multi_arch_same (__main__.TestDebfile) ... ok
test_no_supported_data_tar (__main__.TestDebfile) ... ok
test_utf8_sections (__main__.TestDebfile) ... ok
test_xz_data (__main__.TestDebfile) ... ok

======================================================================
ERROR: test_check_exception (__main__.TestDebfile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_debfile.py", line 124, in test_check_exception
    deb = apt.debfile.DebPackage("./data/test_debs/data-tar-xz.deb")
  File "/usr/lib/python3/dist-packages/apt/debfile.py", line 51, in __init__
    cache = apt.Cache()
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 107, in __init__
    self.open(progress)
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 152, in open
    self._depcache = apt_pkg.DepCache(self._cache)
SystemError: E:Problem closing the gzip file  - close (9: Bad file descriptor)

----------------------------------------------------------------------
Ran 10 tests in 0.865s

FAILED (errors=1)



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (980, 'unstable'), (500, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libapt-pkg4.12 depends on:
ii  libbz2-1.0         1.0.6-5
ii  libc6              2.18-4
ii  libgcc1            1:4.8.2-16
ii  liblzma5           5.1.1alpha+20120614-2
ii  libstdc++6         4.8.2-16
ii  multiarch-support  2.18-4
ii  zlib1g             1:1.2.8.dfsg-1

libapt-pkg4.12 recommends no packages.

libapt-pkg4.12 suggests no packages.

-- no debconf information

-- 
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.

--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.9.16.1

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 741685@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@debian.org> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 15 Mar 2014 18:05:25 +0100
Source: apt
Binary: apt libapt-pkg4.12 libapt-inst1.5 apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all amd64
Version: 0.9.16.1
Distribution: unstable
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Description: 
 apt        - commandline package manager
 apt-doc    - documentation for APT
 apt-transport-https - https download transport for APT
 apt-utils  - package management related utility programs
 libapt-inst1.5 - deb package format runtime library
 libapt-pkg-dev - development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - documentation for APT development
 libapt-pkg4.12 - package management runtime library
Closes: 741685
Changes: 
 apt (0.9.16.1) unstable; urgency=medium
 .
   [ Chris Leick ]
   * Updated German doc translation
 .
   [ Julian Andres Klode ]
   * Fix handling of autoclosing for compressed files (Closes: #741685)
Checksums-Sha1: 
 fe917d7f50d1035b3f90f7fb1f382495ea56264a 1646 apt_0.9.16.1.dsc
 c6be8f6f139a5a08a091b9255df7050c9ae33d59 1746276 apt_0.9.16.1.tar.xz
 5044c1e3cbe76a580a7a2647cdc92cfcfb05163d 269848 apt-doc_0.9.16.1_all.deb
 eb983069c8a8399759dfd3f23d0c0778c4bad87b 734060 libapt-pkg-doc_0.9.16.1_all.deb
 8bc5657267341c50f34de45a0ea18e60c0246c88 744098 libapt-pkg4.12_0.9.16.1_amd64.deb
 c70d25b92bd9793e2ae4af0fe8e698789d0debe5 162880 libapt-inst1.5_0.9.16.1_amd64.deb
 90c39b798e190f769cbdd5c66ef67a2c1167c33b 1061422 apt_0.9.16.1_amd64.deb
 d3c3494aec98d8a543845f797b419e27cc864e7e 186262 libapt-pkg-dev_0.9.16.1_amd64.deb
 b0c864bda9e322b02ec6fa2cf35da96f864b7c29 349852 apt-utils_0.9.16.1_amd64.deb
 bedf1918af96a5f465637e3cc33c0b4ad78b28b0 129292 apt-transport-https_0.9.16.1_amd64.deb
Checksums-Sha256: 
 2e12722348e98b5edd8c2fa8826efd808a723b292e477e19422807cfa5b2f049 1646 apt_0.9.16.1.dsc
 b174be26ee41fd40f666ae538b1c1d75c22fa229ca56f6b83719b5a425ad9596 1746276 apt_0.9.16.1.tar.xz
 783507749fba05a410850a55ac622b41f8383be965de4251ad8293147f24cef8 269848 apt-doc_0.9.16.1_all.deb
 9f2c11805ce3ddfeadb41369a44ed76034896cf36f9876f85101a7ead654bf10 734060 libapt-pkg-doc_0.9.16.1_all.deb
 f4e0503a2e8326525b187937b6c3fdac5f4c58bd97cd8e27b8149e32f5954e3e 744098 libapt-pkg4.12_0.9.16.1_amd64.deb
 b736158c19c16bac5eb626c9f73230c7bbd1e6486672fad1e9ae8a52b09fe007 162880 libapt-inst1.5_0.9.16.1_amd64.deb
 f793b7a12d6c7f6ae24c8dd0dc166c2e6d77a88ba83ea9893a1c00cadb62c550 1061422 apt_0.9.16.1_amd64.deb
 d187dbb9254c7e548439214c653d2434dd801f4b725bc5ac0494c09a39b1eb8a 186262 libapt-pkg-dev_0.9.16.1_amd64.deb
 2f5a8d6812f4d5e627c5f7207ace4a441ceebe4b6c18b48c04ef76c004bb205f 349852 apt-utils_0.9.16.1_amd64.deb
 011c08532e5bb0401cf8d13e5b2f3528e90fa45fa7041929200a06736c0e7d21 129292 apt-transport-https_0.9.16.1_amd64.deb
Files: 
 638023233807d53c900f0f3f96ae611f 1646 admin important apt_0.9.16.1.dsc
 eebe39abfc5d6e2949b399b4151d4727 1746276 admin important apt_0.9.16.1.tar.xz
 c03eea344eb0ec4d716d0550ab252970 269848 doc optional apt-doc_0.9.16.1_all.deb
 739690af56e96f61dca69559cf1734ed 734060 doc optional libapt-pkg-doc_0.9.16.1_all.deb
 f2f641adbd883eb7cb6c16cce5c3faf2 744098 libs important libapt-pkg4.12_0.9.16.1_amd64.deb
 2fcefa57dd1a5e9e4b869ecdebfeb6b0 162880 libs important libapt-inst1.5_0.9.16.1_amd64.deb
 a707ffaab3d0fc4dbeece6dc4ca5c537 1061422 admin important apt_0.9.16.1_amd64.deb
 f77d2f70906f60ada68ba8324d1db5cf 186262 libdevel optional libapt-pkg-dev_0.9.16.1_amd64.deb
 b0947358f6543183e7adb0438329991e 349852 admin important apt-utils_0.9.16.1_amd64.deb
 3fa365e5c31628eb0d17c703d162384e 129292 admin optional apt-transport-https_0.9.16.1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlMkjT0ACgkQrCpf/gCCPsI2MwCgivLlQfF149zdKkvcXCScOQZ4
O+sAnRR4Xdl0h/PirKJJYfrWCN7r3hgf
=sX3A
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: