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

Bug#229854: marked as done (libapt overrides application signal handlers and doesn't restore them)



Your message dated Mon, 09 Feb 2004 19:32:03 -0500
with message-id <E1AqLop-0005CN-00@newraff.debian.org>
and subject line Bug#229854: 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; 27 Jan 2004 01:53:09 +0000
>From d.burrows4@verizon.net Mon Jan 26 17:53:09 2004
Return-path: <d.burrows4@verizon.net>
Received: from out009pub.verizon.net (out009.verizon.net) [206.46.170.131] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AlIPd-000870-00; Mon, 26 Jan 2004 17:53:09 -0800
Received: from cerebus ([207.68.117.146]) by out009.verizon.net
          (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP
          id <20040127015306.KBR11926.out009.verizon.net@cerebus>;
          Mon, 26 Jan 2004 19:53:06 -0600
Received: from [192.168.1.15] (helo=torrent)
	by cerebus with esmtp (Exim 3.35 #1 (Debian))
	id 1AlIPZ-0008PW-00; Mon, 26 Jan 2004 20:53:05 -0500
Received: from daniel by torrent with local (Exim 3.36 #1 (Debian))
	id 1AlIPZ-0001Cm-00; Mon, 26 Jan 2004 20:53:05 -0500
Date: Mon, 26 Jan 2004 20:53:05 -0500
From: Daniel Burrows <dnb114@psu.edu>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libapt overrides application signal handlers and doesn't restore them
Message-ID: <20040127015305.GA4588@torrent>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 2.39
User-Agent: Mutt/1.5.5.1+cvs20040105i
Sender: Daniel Burrows <daniel@torrent>
X-Authentication-Info: Submitted using SMTP AUTH at out009.verizon.net from [207.68.117.146] at Mon, 26 Jan 2004 19:53:06 -0600
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=-3.9 required=4.0 tests=FROM_ENDS_IN_NUMS,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_01_25
X-Spam-Level: 

Package: apt
Version: 0.5.21
Severity: normal

  Hi,

  It was recently pointed out to me that ^Cing aptitude will cause
problems with the display; the reporter suggested that I install a
signal handler to fix the problem.  This seemed a bit odd to me, since I
already have a number of signal handlers to catch terminating signals
and restore the terminal state.

  It turned out that dpkgpm.cc has several calls to signal().
Presumably this has to do with getting dpkg to run properly -- but the
signals are not restored to their previous values after dpkg finishes.

  Of course, there's an obvious workaround -- I'll just bracket the
dpkg calls with manual saves/restores of the signal handlers for now,
but this is IMO incorrect behavior on the part of libapt, and it will
likely bite someone else if it hasn't already.

  Daniel

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux torrent.burrows.local 2.6.1 #2 Sun Jan 25 14:57:02 EST 2004 i686
Locale: LANG=en_US, LC_CTYPE=en_US (ignored: LC_ALL set to en_US)

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-0pre3 GCC support library
ii  libstdc++5                 1:3.3.3-0pre3 The GNU Standard C++ Library v3

-- no debconf information


-- 
/-------------------- Daniel Burrows <dburrows@debian.org> -------------------\
|       "For a successful technology, reality must take precedence over       |
|        public relations, for nature cannot be fooled."                      |
|         -- Richard Feynmann                                                 |
\---- News without the $$ -- National Public Radio -- http://www.npr.org ----/

---------------------------------------
Received: (at 229854-close) by bugs.debian.org; 10 Feb 2004 00:34:30 +0000
>From katie@ftp-master.debian.org Mon Feb 09 16:34:30 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 1AqLrC-0002pe-00; Mon, 09 Feb 2004 16:34:30 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1AqLop-0005CN-00; Mon, 09 Feb 2004 19:32:03 -0500
From: Matt Zimmerman <mdz@debian.org>
To: 229854-close@bugs.debian.org
X-Katie: $Revision: 1.43 $
Subject: Bug#229854: fixed in apt 0.5.22
Message-Id: <E1AqLop-0005CN-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 09 Feb 2004 19:32:03 -0500
Delivered-To: 229854-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 229854@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: