|
2007-02-23
| ||
| 10:20 | • Closed ticket [1498757fff]: SIGPIPE in exec on HP-UX plus 6 other changes artifact: 41cccd9f02 user: sf-robot | |
|
2007-02-09
| ||
| 08:09 | • Pending ticket [1498757fff]. artifact: e4bdcfa9f6 user: hobbs | |
|
2006-06-30
| ||
| 00:56 | • Ticket [1498757fff]: 4 changes artifact: e942c1c878 user: jenglish | |
|
2006-06-01
| ||
| 17:48 | • Ticket [1498757fff]: 2 changes artifact: 484de3dbf1 user: dkf | |
| 17:48 | • Ticket [1498757fff]: 4 changes artifact: ff6fa488aa user: dkf | |
| 10:22 | • New ticket [1498757fff]. artifact: 26d7b026f1 user: matzek | |
SIGPIPE in [exec] on HP-UX
Closed / Works For Me1498757fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 20 years ago
Descriptionplain2006-06-01 10:22:00
Hi *,
on HP-UX B.11.11 9000/800 running a plain tclsh 8.4.13,
the following behavior can be observed:
% exec cat file1 | dd bs=1 count=530 of=file2 2>/dev/null
child killed: write on pipe with no readers
% set errorInfo
child killed: write on pipe with no readers
while executing
"exec cat file1 | dd bs=1 count=530 of=file2 2>/dev/null"
% set errorCode
CHILDKILLED 19309 SIGPIPE {write on pipe with no readers}
whereas file1 is about 120kB. It works on Linux,
Solaris and AIX. Also running that pipe in a shell,
doesn't raise any errors.
I have a workaround, but that SIGPIPE should not occur.
kind regards -- Matthias Kraft
dkfplain2006-06-01 17:48:23
Logged In: YES user_id=79902 http://tip.tcl.tk/16.html describes the maintenance areas; the area of a manual page associated with a problematic command is usually a good guide to what area to use.
dkf Ticket [1498757fff]: 2 changes
[History diff]2006-06-01 17:48:25
jenglishplain2006-06-30 00:56:44
Logged In: YES user_id=68433 This looks like expected (or at least acceptable) behavior to me. If the 'cat' process isn't finished writing when the 'dd' process exits, it _should_ get a SIGPIPE. (As to why this doesn't happen on Linux et.al., I'd guess it's because 'cat' uses a larger buffer on those systems. It could also be timing-dependent).
hobbsplain2007-02-09 08:09:16
Logged In: YES
user_id=72656
Originator: NO
Works for me ...
% info patch
8.4.15
% exec cat file1 | dd bs=1 count=530 of=file2 2>/dev/null
child process exited abnormally
% set errorInfo
child process exited abnormally
while executing
"exec cat file1 | dd bs=1 count=530 of=file2 2>/dev/null"
% set errorCode
CHILDSTATUS 26296 2
% uname -a
HP-UX bertha B.11.00 U 9000/800 136901587 unlimited-user license
sf-robotplain2007-02-23 10:20:10
Logged In: YES user_id=1312539 Originator: NO This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.