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

Bug#341326: marked as done (apt-utils: Memory corruption or string bug running apt-ftparchive via cron)



Your message dated Wed, 26 Jul 2006 16:17:05 -0700
with message-id <E1G5scj-0007zi-4V@spohr.debian.org>
and subject line Bug#373864: fixed in apt 0.6.45
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: apt-utils
Version: 0.6.42.3
Severity: important

Hello,

Let me try to explain, what happens: Trying to run apt-ftparchive via
cron results in a bunch of error messages, like the following:

/path/to/binary-i386/:
E: Sub-process gzip returned an error code (100)
E: Errors apply to file '/path/to/package.deb'

I made a strace of the cron-job (complete strace output is attached) and
found the following:

> ./debarchiver_cron.9879:48:execve("/usr/bin/gzip", ["gzip", "-9n"], [/* 8 vars */]) = -1 ENOENT (No such file or directory)
> ./debarchiver_cron.9879:49:execve("/bin/gzip", ["gzip", "-9n"], [/* 8 vars */]) = 0

now have a look here:
> ./debarchiver_cron.9880:52:execve("/usr/bin/gzgzg", ["n/gzgzg", "-d"], [/* 8 vars */]) = -1 ENOENT (No such file or directory)
> ./debarchiver_cron.9880:53:execve("/bin/gzgzg", ["n/gzgzg", "-d"], [/* 8 vars */]) = -1 ENOENT (No such file or directory)
> ./debarchiver_cron.9881:52:execve("/usr/bin/gzgzg", ["n/gzgzg", "-d"], [/* 8 vars */]) = -1 ENOENT (No such file or directory)
> ./debarchiver_cron.9881:53:execve("/bin/gzgzg", ["n/gzgzg", "-d"], [/* 8 vars */]) = -1 ENOENT (No such file or directory)
> ./debarchiver_cron.9882:52:execve("/usr/bin/gzgzg", ["n/gzgzg", "-d"], [/* 8 vars */]) = -1 ENOENT (No such file or directory)
> ./debarchiver_cron.9882:53:execve("/bin/gzgzg", ["n/gzgzg", "-d"], [/* 8 vars */]) = -1 ENOENT (No such file or directory)
> ./debarchiver_cron.9885:48:execve("/usr/bin/gzip", ["gzip", "-9n"], [/* 8 vars */]) = -1 ENOENT (No such file or directory)
> ./debarchiver_cron.9885:49:execve("/bin/gzip", ["gzip", "-9n"], [/* 8 vars */]) = 0
> ./debarchiver_cron.9886:52:execve("/usr/bin/gzgzg4é^P^A", ["n/gzgzg4\351\20\1", "-d"], [/* 8 vars */]) = -1 ENOENT (No such file or directory)
> ./debarchiver_cron.9886:53:execve("/bin/gzgzg4é^P^A", ["n/gzgzg4\351\20\1", "-d"], [/* 8 vars */]) = -1 ENOENT (No such file or directory)

I have no idea, where apt-ftparchive gets the "gzgzg" binary name. The
last entry seems completely corrupted.

> ./debarchiver_cron.9889:48:execve("/usr/bin/gzip", ["gzip", "-9n"], [/* 8 vars */]) = -1 ENOENT (No such file or directory)
> ./debarchiver_cron.9889:49:execve("/bin/gzip", ["gzip", "-9n"], [/* 8 vars */]) = 0
> ./debarchiver_cron.9892:48:execve("/usr/bin/gzip", ["gzip", "-9n"], [/* 8 vars */]) = -1 ENOENT (No such file or directory)
> ./debarchiver_cron.9892:49:execve("/bin/gzip", ["gzip", "-9n"], [/* 8 vars */]) = 0
> ./debarchiver_cron.9895:48:execve("/usr/bin/gzip", ["gzip", "-9n"], [/* 8 vars */]) = -1 ENOENT (No such file or directory)
> ./debarchiver_cron.9895:49:execve("/bin/gzip", ["gzip", "-9n"], [/* 8 vars */]) = 0
> ./debarchiver_cron.9898:48:execve("/usr/bin/gzip", ["gzip", "-9n"], [/* 8 vars */]) = -1 ENOENT (No such file or directory)
> ./debarchiver_cron.9898:49:execve("/bin/gzip", ["gzip", "-9n"], [/* 8 vars */])                                 = 0
> ./debarchiver_cron.9900:48:execve("/usr/bin/gzip", ["gzip", "-9n"], [/* 8 vars */]) = -1 ENOENT (No such file or directory)
> ./debarchiver_cron.9900:49:execve("/bin/gzip", ["gzip", "-9n"], [/* 8 vars */]) = 0

I've attached the whole strace-ouput as gzipped tarball to this mail. I
hope, it can help to locate the bug. If you need more info, please let
me know. This bug currently affects debarchiver cron-jobs.

If the same command as used for the cron-job is run from a console, it
works without problems. So only the cron-job shows the bug.

Regards, Daniel

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (850, 'unstable'), (700, 'testing'), (550, 'stable'), (500, 'oldstable'), (110, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.04051127
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages apt-utils depends on:
ii  apt [libapt-pkg-libc6.3-6-3.1 0.6.42.3   Advanced front-end for dpkg
ii  libc6                         2.3.5-8.1  GNU C Library: Shared libraries an
ii  libdb4.2                      4.2.52-20  Berkeley v4.2 Database Libraries [
ii  libgcc1                       1:4.0.2-4  GCC support library
ii  libstdc++6                    4.0.2-4    The GNU Standard C++ Library v3

apt-utils recommends no packages.

-- no debconf information




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

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:

apt-doc_0.6.45_all.deb
  to pool/main/a/apt/apt-doc_0.6.45_all.deb
apt-utils_0.6.45_i386.deb
  to pool/main/a/apt/apt-utils_0.6.45_i386.deb
apt_0.6.45.dsc
  to pool/main/a/apt/apt_0.6.45.dsc
apt_0.6.45.tar.gz
  to pool/main/a/apt/apt_0.6.45.tar.gz
apt_0.6.45_i386.deb
  to pool/main/a/apt/apt_0.6.45_i386.deb
libapt-pkg-dev_0.6.45_i386.deb
  to pool/main/a/apt/libapt-pkg-dev_0.6.45_i386.deb
libapt-pkg-doc_0.6.45_all.deb
  to pool/main/a/apt/libapt-pkg-doc_0.6.45_all.deb



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 373864@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Vogt <mvo@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@debian.org)


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

Format: 1.7
Date: Thu, 27 Jul 2006 00:52:05 +0200
Source: apt
Binary: apt-utils libapt-pkg-doc libapt-pkg-dev apt-doc apt
Architecture: source all i386
Version: 0.6.45
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description: 
 apt        - Advanced front-end for dpkg
 apt-doc    - Documentation for APT
 apt-utils  - APT utility programs
 libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - Documentation for APT development
Closes: 296103 368038 370551 373729 373864 375068 375640 376330 376408 376777 377391 378183 378901 379576
Changes: 
 apt (0.6.45) unstable; urgency=low
 .
   * apt-pkg/contrib/sha256.cc:
     - fixed the sha256 generation (closes: #378183)
   * ftparchive/cachedb.cc:
     - applied patch from Anthony Towns to fix Clean() function
       (closes: #379576)
   * doc/apt-get.8.xml:
     - fix path to the apt user build (Closes: #375640)
   * doc/apt-cache.8.xml:
     - typo (Closes: #376408)
   * apt-pkg/deb/dpkgpm.cc:
     - make progress reporting more robust against multiline error
       messages (first half of a fix for #374195)
   * doc/examples/configure-index:
     - document Debug::pkgAcquire::Auth
   * methods/gpgv.cc:
     - deal with gpg error "NODATA". Closes: #296103, Thanks to
       Luis Rodrigo Gallardo Cruz for the patch
   * apt-inst/contrib/extracttar.cc:
     - fix for string mangling, closes: #373864
   * apt-pkg/acquire-item.cc:
     - check for bzip2 in /bin (closes: #377391)
   * apt-pkg/tagfile.cc:
     - make it work on non-mapable files again, thanks
       to James Troup for confirming the fix (closes: #376777)
   * Merged from Christian Perrier bzr branch:
     * ko.po: Updated to 512t. Closes: #378901
     * hu.po: Updated to 512t. Closes: #376330
     * km.po: New Khmer translation: 506t6f. Closes: #375068
     * ne.po: New Nepali translation: 512t. Closes: #373729
     * vi.po: Updated to 512t. Closes: #368038
     * zh_TW.po: Remove an extra %s in one string. Closes: #370551
     * dz.po: New Dzongkha translation: 512t
     * ro.po: Updated to 512t
     * eu.po: Updated
Files: 
 d3d7ccf2707bf9e45dd6821a8c60bfc6 784 admin important apt_0.6.45.dsc
 56f29db0a19f4e8934a34d80899bc597 1672288 admin important apt_0.6.45.tar.gz
 10f9d0b4b29e0235df580d2e062feac4 88600 doc optional apt-doc_0.6.45_all.deb
 cfb7f92e3bf63e53a4872ef0c5bd8cc0 111964 doc optional libapt-pkg-doc_0.6.45_all.deb
 f16ea6de6ea4eca0461fd6b373870826 1406494 admin important apt_0.6.45_i386.deb
 6a25cc0fafc4a2ecc856954e12860be5 82720 libdevel optional libapt-pkg-dev_0.6.45_i386.deb
 a1b320c9646595edbf63279a1ea1ea72 192782 admin important apt-utils_0.6.45_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEx/RBliSD4VZixzQRAk9cAJ93wRCF1tTEZQPRR3xbVKUVfUgS8QCfc8zW
yPVDwnUlmiR2uNVDZiYmbLk=
=NIko
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: