Skip to content
Tcl Source Code History Of Ticket 1459837
Login

History Of Ticket 1459837

Artifacts Associated With Ticket 1459837

  1. Ticket change [061ecf23eb] (rid 89164) by iwahashi on 2006-03-28 08:19:11:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OS : SunOS 5.8
      Machine: Sun Solaris
      
      I had an error while executing close command. But 
      there was not posix error message. The error message 
      contained only stack trace information.
      
      I could not find any Tcl_AppendResult in 
      Tcl_CloseObjCmd, Tcl_UnregisterChannel and Tcl_Close.
      
      And I think Tcl_InterpObjCmd and Tcl_ExecObjCmd also 
      will be same.
      
      
    4. foundin initialized to: "obsolete: 8.4.4"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "iwahashi"
    9. subsystem initialized to: "16. Commands A-H"
    10. title initialized to: "missing close error message"
    11. type initialized to: "Bug"
  2. Ticket change [19d19be05f] (rid 122854) by dkf on 2006-03-28 19:36:45:

    1. assignee changed to: "andreas_kupries"
    2. subsystem changed to: "24. Channel Commands"
  3. Ticket change [9c94873599] (rid 96166) by dgp on 2006-03-28 22:50:55:

    1. closedate changed to: "2006-03-28T15:50:55"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Can you offer a script
      that demos the problem?
      
      Is the problem still present
      in Tcl 8.4.12 ?
      
      Really not enough info
      here to do anything.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Pending"
    8. username: "dgp"
  4. Ticket change [2f4d4e359a] (rid 93038) by iwahashi on 2006-03-30 07:29:56:

    1. icomment:
      Logged In: YES 
      user_id=1435853
      
      When the close error occurred, an application was running 
      on NFS directory which mounting to another solaris 
      machine . 
      
      The problem is still present in Tcl 8.4.12 . I tried 
      test.tcl as follows on NFS directory.
      ---[ test.tcl ]-----------------------------
      pack [ button .b1 -text "Start test" -command "log" ]
      
      proc log {} {
      
          set fd [ open "aaa.log" a+ ]
          puts $fd "file close error test"
          flush $fd
          tk_messageBox -message "Please del aaa.log file.\nThen 
      press OK button."
          close $fd
      
      }
      ----------
      
      1. Press "Start test" button.
      2. Delete aaa.log file which was created by test.tcl.
      3. Press OK button.
      4. Then Application Error will occurred. But there was not 
      posix error message.
      It is only happen on NFS file system.
      
      I saved log as follows, also I attach JPG file.
      ---[ saved log ]-----------------------------
      
      
          while executing
      "close $fd"
          (procedure "log" line 7)
          invoked from within
      "log"
          invoked from within
      ".b1 invoke"
          ("uplevel" body line 1)
          invoked from within
      "uplevel #0 [list $w invoke]"
          (procedure "tk::ButtonUp" line 22)
          invoked from within
      "tk::ButtonUp .b1"
          (command bound to event)
      ----------
        
      
      
      
      
    2. login: "iwahashi"
    3. mimetype: "text/plain"
    4. status changed to: "Open"
    5. username: "iwahashi"
  5. Add attachment "error.JPG" [737c5b3ac5] (rid 105051) by iwahashi on 2006-03-30 07:29:56.

  6. Ticket change [71db70c8f1] (rid 100752) by iwahashi on 2006-03-30 07:29:57:

    1. icomment:
      
      
      File Added - 172724: error.JPG
      
      
      
    2. login: "iwahashi"
    3. mimetype: "text/plain"
    4. username: "iwahashi"
  7. Ticket change [cccc1d87ff] (rid 95770) by dgp on 2006-03-30 22:30:27:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Either CloseChannel() in tclIO.c
      or FileCloseProc() in tclUnixChan.c
      ought to be setting the interp
      error message.  The Tcl_ChannelType
      docs ought to spell out which one
      is responsible, but right now neither
      does anything with its interp argument.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. priority changed to: "6"
    5. resolution changed to: "Remind"
    6. username: "dgp"
  8. Ticket change [5d2526d809] (rid 115410) by dgp on 2006-03-30 22:34:16:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      CrtChannel.3 indicates that
      FileCloseProc ought to take
      care of the error message.
      
      Seems very strange to me this
      has not been noticed until now.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  9. Ticket change [d8982ac33d] (rid 259720) by serhiy.storchaka on 2026-10-21 10:03:37:

    1. icomment:
      Fixed in 8.5.16 / 8.6.2 by [7aa743c0ee] / [45d1b34648] (ticket [97069ea11a]): when the driver fails to close, [close] now returns the POSIX error message.
      
    2. login: "serhiy.storchaka"
    3. mimetype: "text/x-fossil-wiki"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"