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

Bug#229791: marked as done (apt: StatusFile needs initialization in debSystem constructor)



Your message dated Mon, 09 Feb 2004 19:32:03 -0500
with message-id <E1AqLop-0005CL-00@newraff.debian.org>
and subject line Bug#229791: fixed in apt 0.5.22
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 26 Jan 2004 16:30:57 +0000
>From sylvain.joyeux@m4x.org Mon Jan 26 08:30:57 2004
Return-path: <sylvain.joyeux@m4x.org>
Received: from 220.78.203.213.internet9tcollecte.9massy1-1-ro-bas-2.9tel.net (doudou.lapinot.org) [213.203.78.220] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Al9dX-0008Fv-00; Mon, 26 Jan 2004 08:30:56 -0800
Received: by doudou.lapinot.org (Postfix, from userid 1000)
	id E193B9134A; Mon, 26 Jan 2004 17:30:45 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Sylvain Joyeux <sylvain.joyeux@polytechnique.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apt: StatusFile needs initialization in debSystem constructor
X-Mailer: reportbug 2.39
Date: Mon, 26 Jan 2004 17:30:45 +0100
Message-Id: <20040126163045.E193B9134A@doudou.lapinot.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_01_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-bugs.debian.org_2004_01_25
X-Spam-Level: 

Package: apt
Version: 0.5.21
Severity: normal
Tags: patch

debSystem::StatusFile is never initialized
It works OK when the library is used through apt-get et al, but when you 
surclass it and allocate it on the heap, it crashes.

Just adding
  StatusFile = 0;
in the debSystem constructor fixed the problem here.

Thanks to all for this great tool :)

-- Package-specific info:

-- (/etc/apt/preferences present, but not submitted) --


-- (/etc/apt/sources.list present, but not submitted) --


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux doudou.lapinot.org 2.4.24-ck1 #1 dim jan 18 10:59:24 CET 2004 i686
Locale: LANG=us_US.UTF-8, LC_CTYPE=fr_FR.UTF-8 (ignored: LC_ALL set to fr_FR.UTF-8)

Versions of packages apt depends on:
ii  libc6                      2.3.2.ds1-11  GNU C Library: Shared libraries an
ii  libgcc1                    1:3.3.3-0pre2 GCC support library
ii  libstdc++5                 1:3.3.3-0pre2 The GNU Standard C++ Library v3

-- no debconf information


---------------------------------------
Received: (at 229791-close) by bugs.debian.org; 10 Feb 2004 00:34:31 +0000
>From katie@ftp-master.debian.org Mon Feb 09 16:34:31 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AqLrD-0002pq-00; Mon, 09 Feb 2004 16:34:31 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1AqLop-0005CL-00; Mon, 09 Feb 2004 19:32:03 -0500
From: Matt Zimmerman <mdz@debian.org>
To: 229791-close@bugs.debian.org
X-Katie: $Revision: 1.43 $
Subject: Bug#229791: fixed in apt 0.5.22
Message-Id: <E1AqLop-0005CL-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 09 Feb 2004 19:32:03 -0500
Delivered-To: 229791-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_01 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-2.5 required=4.0 tests=HAS_BUG_NUMBER,
	MAILTO_TO_SPAM_ADDR autolearn=no 
	version=2.60-bugs.debian.org_2004_02_01
X-Spam-Level: 

Source: apt
Source-Version: 0.5.22

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.5.22_all.deb
  to pool/main/a/apt/apt-doc_0.5.22_all.deb
apt-utils_0.5.22_i386.deb
  to pool/main/a/apt/apt-utils_0.5.22_i386.deb
apt_0.5.22.dsc
  to pool/main/a/apt/apt_0.5.22.dsc
apt_0.5.22.tar.gz
  to pool/main/a/apt/apt_0.5.22.tar.gz
apt_0.5.22_i386.deb
  to pool/main/a/apt/apt_0.5.22_i386.deb
libapt-pkg-dev_0.5.22_i386.deb
  to pool/main/a/apt/libapt-pkg-dev_0.5.22_i386.deb
libapt-pkg-doc_0.5.22_all.deb
  to pool/main/a/apt/libapt-pkg-doc_0.5.22_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 229791@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matt Zimmerman <mdz@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: Mon,  9 Feb 2004 12:44:54 -0800
Source: apt
Binary: apt-utils libapt-pkg-doc libapt-pkg-dev apt-doc apt
Architecture: source all i386
Version: 0.5.22
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Matt Zimmerman <mdz@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: 203119 229601 229722 229791 229854 230102 230687 230960 231539 231921
Changes: 
 apt (0.5.22) unstable; urgency=low
 .
   * Updated French translation of man pages from Philippe Batailler
     <philippe.batailler@free.fr> (Closes: #203119)
   * Initialize StatusFile in debSystem (Closes: #229791)
   * Fix apt-get's suggests/recommends printing, which was skipping every
     other dependency due to both using GlobOr and incrementing the DepIterator
     (Closes: #229722)
   * Restore SIGINT/SIGQUIT handlers to their old values (rather than
     SIG_DFL) after invoking dpkg (Closes: #229854)
   * Updated Dutch translation of message catalog from cobaco
     <cobaco@linux.be> (Closes: #229601)
   * Catalan translation from Antoni Bella, Matt Bonner and Jordi Mallach
     (Closes: #230102)
   * Simplified Chinese translation of message catalog from "Carlos
     Z.F. Liu" <carlos_liu@yahoo.com> (Closes: #230960)
   * Replace SGML manpages with XML man pages from richard.bos@xs4all.nl
     (Closes: #230687)
   * Updated Spanish translation of man pages from Ruben Porras
     <nahoo82@telefonica.net> (Closes: #231539)
   * New Czech translation of message catalog from Miroslav Kure
     <kurem@upcase.inf.upol.cz> (Closes: #231921)
Files: 
 8cefe0da0a02d916dc5ac13723ad9f1f 756 admin important apt_0.5.22.dsc
 65ff46c2b055cc3b2092878bb19b06c1 1127821 admin important apt_0.5.22.tar.gz
 68b0d0558417ebc4c6f3d863dafa7bc3 66708 doc optional apt-doc_0.5.22_all.deb
 0b0c97e832a97ab6ed31e03322b59194 98154 doc optional libapt-pkg-doc_0.5.22_all.deb
 e09bb33501b7af4cf1e9ec8b13766e0d 908580 base important apt_0.5.22_i386.deb
 ced56d92de3ce65855bf79fb713205b2 65440 libdevel optional libapt-pkg-dev_0.5.22_i386.deb
 5d9c6b6e707bc70dbb82cc3abef9e887 179862 admin optional apt-utils_0.5.22_i386.deb

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

iD8DBQFAKCMNArxCt0PiXR4RAq3ZAJ0fxV9FhcK4uc3EwFZuQthxgoz71wCfWUQ7
G0ryhmgp6lZYad3FLS1cVi0=
=hQia
-----END PGP SIGNATURE-----



Reply to: