NetBSD Problem Report #8868
Received: (qmail 7494 invoked from network); 24 Nov 1999 02:53:52 -0000
Message-Id: <199911240253.LAA04235@icnmp9.icg.tnr.sharp.co.jp>
Date: Wed, 24 Nov 1999 11:53:05 +0900 (JST)
From: itohy@netbsd.org
Reply-To: itohy@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: pax(1) fails on SIGINFO
X-Send-Pr-Version: 3.95
>Number: 8868
>Category: bin
>Synopsis: pax(1) fails on SIGINFO
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 23 18:54:01 +0000 1999
>Closed-Date: Fri Feb 18 00:35:33 +0000 2000
>Last-Modified: Fri Feb 18 00:41:59 +0000 2000
>Originator: ITOH Yasufumi
>Release: 1.4P source (Nov. 22, 1999)
>Organization:
>Environment:
System: NetBSD pino.my.domain 1.4K NetBSD 1.4K (PINO-pnpbios) #2: Thu Oct 7 17:44:44 JST 1999 itohy@pino.my.domain:/usr/src/sys.pnpbios/arch/i386/compile/PINO-pnpbios i386
>Description:
pax may sometimes stop dumping an archive on SIGINFO,
especially when the output is a pipe.
It seems this is because the write(2) does not restart
the partial write after signals.
>How-To-Repeat:
Note that the SIGINFO is raised by the tty input.
The statistical information is what is expected,
but it should not stop the output.
% stty status '^T'
% pax -w /usr/bin | cat >/dev/null
pax: Removing leading / from absolute path names in the archive
[[ press ^T several times ]]
load: 0.59 cmd: pax 3883 [running] 0.02u 0.12s 0% 388k
Working on `usr/bin/gunzip' (98304 bytes)
ustar vol 0, 4 files, 0 bytes read, 163840 bytes written in 1 secs (163840 bytes/sec)
pax: WARNING: partial archive write. Archive MAY BE FLAWED
ATTENTION! pax archive volume change required.
Ready for archive volume: 2
Input archive name or "." to quit pax.
Archive name >
>Fix:
Handle partial write(2) properly.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: itohy
State-Changed-When: Thu Feb 17 16:35:33 PST 2000
State-Changed-Why:
Fixed by following delta:
ar_io.c 1.15
buf_subs.c 1.12
extern.h 1.21
file_subs.c 1.16
tables.c 1.11
See following ML articles for details:
http://mail-index.netbsd.org/tech-userlevel/2000/02/10/0001.html
http://mail-index.netbsd.org/tech-userlevel/2000/02/10/0003.html
http://mail-index.netbsd.org/tech-userlevel/2000/02/10/0005.html
http://mail-index.netbsd.org/tech-userlevel/2000/02/10/0020.html
http://mail-index.netbsd.org/tech-userlevel/2000/02/10/0022.html
http://mail-index.netbsd.org/tech-userlevel/2000/02/10/0025.html
http://mail-index.netbsd.org/tech-userlevel/2000/02/11/0005.html
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.