Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2f4d4e359a2c8c8cb5908c0df078e7de695422f7
Ticket: 1459837fffffffffffffffffffffffffffffffff
missing close error message
User & Date: iwahashi on 2006-03-30 07:29:56
Changes

  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"