Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2b4b42a1229fba5ccf2d5ecd449a81250fc0a569
Ticket: 633293ffffffffffffffffffffffffffffffffff
Tcl_Init crashes on Windows XP
User & Date: mahlonstacy on 2002-11-04 14:31:22
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    In a console program under Windows, program startup 
    crashes the program with a call to a NULL function. The
    program is attempting to start using Tcl_CreateInterp 
    followed by Tcl_Init. This worked fine under 8.3.
    In tracing the crash, I discovered that the function call
    tclWinProcs->getFileAttributesExProc is being called 
    before it is defined. A workaround is to call 
    Tcl_FindExecutable(NULL) prior to calling Tcl_Init. 
    Tcl_FindExecutable calls the encoding reoutines, whcih 
    check for the presence of tclWinProcs-
    >getFileAttributesExProc and, if missing, defines it.
    
    FYI, Tcl_LibraryPath is specifically defined in our 
    program, from a value stored in the registry.
    
    
    
  4. foundin changed to: "obsolete: 8.4.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "mahlonstacy"
  9. subsystem changed to: "38. Init - Library - Autoload"
  10. title changed to: "Tcl_Init crashes on Windows XP"
  11. type changed to: "Bug"