Artifacts Associated With Ticket 1498757fffffffffffffffffffffffffffffffff
Ticket change [26d7b026f1] (rid 88418) by matzek on 2006-06-01 10:22:00:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
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 - foundin initialized to: "obsolete: 8.4.13"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "matzek"
- subsystem initialized to: "16. Commands A-H"
- title initialized to: "SIGPIPE in [exec] on HP-UX"
- type initialized to: "Bug"
Ticket change [ff6fa488aa] (rid 108752) by dkf on 2006-06-01 17:48:23:
- icomment:
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.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [484de3dbf1] (rid 99863) by dkf on 2006-06-01 17:48:25:
- assignee changed to: "hobbs"
- subsystem changed to: "24. Channel Commands"
Ticket change [e942c1c878] (rid 104793) by jenglish on 2006-06-30 00:56:44:
- icomment:
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).
- login: "jenglish"
- mimetype: "text/plain"
- username: "jenglish"
- icomment:
Ticket change [e4bdcfa9f6] (rid 88007) by hobbs on 2007-02-09 08:09:16:
- closedate changed to: "2007-02-09T01:09:16"
- closer changed to: "hobbs"
- icomment:
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 - login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Works For Me"
- status changed to: "Pending"
- username: "hobbs"
Ticket change [41cccd9f02] (rid 116252) by sf-robot on 2007-02-23 10:20:10:
- closedate changed to: "2007-02-23T03:20:10"
- closer changed to: "sf-robot"
- icomment:
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).
- login: "sf-robot"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "sf-robot"