Skip to content
Tcl Source Code History Of Ticket 1498757fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1498757fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1498757fffffffffffffffffffffffffffffffff

  1. Ticket change [26d7b026f1] (rid 88418) by matzek on 2006-06-01 10:22:00:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
    4. foundin initialized to: "obsolete: 8.4.13"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "matzek"
    9. subsystem initialized to: "16. Commands A-H"
    10. title initialized to: "SIGPIPE in [exec] on HP-UX"
    11. type initialized to: "Bug"
  2. Ticket change [ff6fa488aa] (rid 108752) by dkf on 2006-06-01 17:48:23:

    1. 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.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [484de3dbf1] (rid 99863) by dkf on 2006-06-01 17:48:25:

    1. assignee changed to: "hobbs"
    2. subsystem changed to: "24. Channel Commands"
  4. Ticket change [e942c1c878] (rid 104793) by jenglish on 2006-06-30 00:56:44:

    1. 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).
      
      
    2. login: "jenglish"
    3. mimetype: "text/plain"
    4. username: "jenglish"
  5. Ticket change [e4bdcfa9f6] (rid 88007) by hobbs on 2007-02-09 08:09:16:

    1. closedate changed to: "2007-02-09T01:09:16"
    2. closer changed to: "hobbs"
    3. 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
      
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Works For Me"
    7. status changed to: "Pending"
    8. username: "hobbs"
  6. Ticket change [41cccd9f02] (rid 116252) by sf-robot on 2007-02-23 10:20:10:

    1. closedate changed to: "2007-02-23T03:20:10"
    2. closer changed to: "sf-robot"
    3. 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).
      
      
    4. login: "sf-robot"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "sf-robot"