Skip to content
Tcl Source Code History Of Ticket 642280ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 642280ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 642280ffffffffffffffffffffffffffffffffff

  1. Ticket change [fdc5aa5bc1] (rid 108472) by nobody on 2002-11-22 13:40:27:

    1. assignee initialized to: "vincentdarley"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      In some ( rare, but it's repeatable ) case 'source' 
      command crashes system with message 'Can't execute 
      address 0'. I have TCL 8.4.1 built by myself, Win2000 
      Professional OS. This error didn't occur in TCL 8.3.4. 
      TCL is used as embedded interpreter in multithreaded 
      application ( compiled with thread protect ). 
      
      
      I tracked this bug a bit and found out that this happens 
      in file tclWinFile.c, line 2095 ( or about that ):
      if ((*tclWinProcs->getFileAttributesExProc)(nativePath,
          GetFileExInfoStandard, &data) != TRUE) {
          /* File doesn't exist */
          Tcl_DStringFree(&ds);
          break;
      }
      
      This field ( getFileAttributesExProc ) is NULL, so calling 
      to it crashes system. Placing protection if( ... != NULL ) 
      helps to avoid crash but results in 'source' command fail.
      
      
      
    4. foundin initialized to: "obsolete: 8.4.1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "37. File System"
    10. title initialized to: "Crash on Win2000 with 'source' command"
    11. type initialized to: "Bug"
  2. Ticket change [82ed20e469] (rid 117311) by dkf on 2002-11-22 21:50:16:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      This sort of problem usually seems to occur when some
      software tries to use the Tcl library without calling
      Tcl_FindExecutable() somwhere (or Tcl_Main(), which in turn
      calls T_FE)  Could that be happening here?
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [f1a840fc1d] (rid 109393) by vincentdarley on 2002-11-23 01:31:27:

    1. assignee changed to: "dkf"
    2. icomment:
      Logged In: YES 
      user_id=32170
      
      If this is a bug, it is a bug in Tcl's init code that you
      are now required to call Tcl_FindExecutable.
      
      NB - effectively this same invalid "bug" has been reported
      several times.
      
      
      
      
    3. login: "vincentdarley"
    4. mimetype: "text/plain"
    5. subsystem changed to: "38. Init - Library - Autoload"
    6. username: "vincentdarley"
  4. Ticket change [be957567ff] (rid 102095) by hobbs on 2002-12-01 04:04:41:

    1. closedate changed to: "2002-11-30T21:04:41"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      The error is in initialization somewhere on the user's part.  
      Tcl_FindExecutable or Tcl_Init are not being called early 
      enough for these procs to be initialized.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Closed"
    8. username: "hobbs"