Debian Bug report logs - #868576
adt-virt-null fails to exit on stdin EOF

version graph

Package: autopkgtest; Maintainer for autopkgtest is Debian CI team <[email protected]>; Source for autopkgtest is src:autopkgtest (PTS, buildd, popcon).

Reported by: Ian Jackson <[email protected]>

Date: Sun, 16 Jul 2017 20:15:01 UTC

Severity: normal

Found in version autopkgtest/4.4

Full log


Message #5 received at [email protected] (full text, mbox, reply):

Received: (at submit) by bugs.debian.org; 16 Jul 2017 20:10:17 +0000
From [email protected] Sun Jul 16 20:10:17 2017
X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
	(2014-02-07) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-7.3 required=4.0 tests=BAYES_00,DIGITS_LETTERS,
	FOURLA,HAS_PACKAGE,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,URIBL_CNKR autolearn=ham
	autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 10; hammy, 139; neutral, 33; spammy,
	0. spammytokens: hammytokens:0.000-+--autopkgtest, 0.000-+--H*RU:sk:chiark.,
	0.000-+--H*r:sk:chiark., 0.000-+--H*UA:24.4.1, 0.000-+--H*M:greenend
Return-path: <[email protected]>
Received: from v6.chiark.greenend.org.uk ([2001:ba8:1e3::] helo=chiark.greenend.org.uk)
	by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1dWprt-0004t4-A2
	for [email protected]; Sun, 16 Jul 2017 20:10:17 +0000
Received: by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with local
	(return-path [email protected])
	id 1dWprp-0007B3-BD
	for [email protected]; Sun, 16 Jul 2017 21:10:13 +0100
From: Ian Jackson <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[email protected]>
Date: Sun, 16 Jul 2017 21:10:12 +0100
To: [email protected]
Subject: adt-virt-null fails to exit on stdin EOF
X-Mailer: VM 8.2.0b under 24.4.1 (i586-pc-linux-gnu)
Delivered-To: [email protected]
Package: autopkgtest
Version: 4.4

To reproduce:

  strace adt-virt-null </dev/null

Expected behaviour: it should exit.

Observed behaviour: a lot of startup, followed by:

   rt_sigaction(SIGTERM, {sa_handler=0x5587ed37bb10, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f9ce90630c0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
   rt_sigaction(SIGINT, {sa_handler=0x5587ed37bb10, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f9ce90630c0}, {sa_handler=0x5587ed37bb10, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f9ce90630c0}, 8) = 0
   rt_sigaction(SIGPIPE, {sa_handler=0x5587ed37bb10, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f9ce90630c0}, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f9ce90630c0}, 8) = 0
   read(0, "", 8192)                       = 0
   select(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=100000}) = 0 (Timeout)
   read(0, "", 8192)                       = 0
   select(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=100000}) = 0 (Timeout)
   read(0, "", 8192)                       = 0
   select(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=100000}) = 0 (Timeout)
   read(0, "", 8192)                       = 0
   select(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=100000}) = 0 (Timeout)
   read(0, "", 8192)                       = 0

repeating apparently indefinitely.

-- 
Ian Jackson <[email protected]>   These opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Sun Sep 22 07:34:57 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.