Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 213e3f21849f85139cb95ca958409928f47bbad5
Ticket: 555058ffffffffffffffffffffffffffffffffff
Tcl initialization fails in external app
User & Date: rfranke on 2002-05-13 03:11:30
Changes

  1. icomment:
    Logged In: YES 
    user_id=155217
    
    You are right, it works with Tcl_FindExecutable;
    Thanks a lot for this fast help!
    
    Here is the MSVC call stack for failed Tcl_Init:
    
    00000000()
    TclpObjNormalizePath(Tcl_Interp * 0x00000000, Tcl_Obj * 
    0x007d3c98, int 0) line 1920 + 25 bytes
    TclNormalizeToUniquePath(Tcl_Interp * 0x00000000, Tcl_Obj * 
    0x007d3c98) line 980 + 15 bytes
    FSNormalizeAbsolutePath(Tcl_Interp * 0x00000000, Tcl_Obj * 
    0x007d3d58) line 902 + 13 bytes
    Tcl_FSGetNormalizedPath(Tcl_Interp * 0x00000000, Tcl_Obj * 
    0x007d3d70) line 3982 + 13 bytes
    Tcl_FSGetFileSystemForPath(Tcl_Obj * 0x007d3d70) line 4497 
    + 11 bytes
    Tcl_FSAccess(Tcl_Obj * 0x007d3d70, int 0) line 1551 + 9 
    bytes
    CheckAccess(Tcl_Interp * 0x007a5208, Tcl_Obj * 0x007d3d70, 
    int 0) line 1321 + 13 bytes
    Tcl_FileObjCmd(int * 0x00000000, Tcl_Interp * 0x007a5208, 
    int 3, Tcl_Obj * const * 0x007a5fd0) line 905 + 18 bytes
    TclEvalObjvInternal(Tcl_Interp * 0x007a5208, int 3, Tcl_Obj 
    * const * 0x007a5fd0, char * 0x00000000, int 0, int 0) line 
    3030 + 25 bytes
    TclExecuteByteCode(Tcl_Interp * 0x007a5208, ByteCode * 
    0x007d44b0) line 1357 + 27 bytes
    TclCompEvalObj(Tcl_Interp * 0x007a5208, Tcl_Obj * 
    0x007a5598, int 0) line 941 + 13 bytes
    Tcl_EvalObjEx(Tcl_Interp * 0x007a5208, Tcl_Obj * 
    0x007a5598, int 0) line 3865 + 15 bytes
    TclObjInterpProc(int * 0x007d2f20, Tcl_Interp * 0x007a5208, 
    int 1, Tcl_Obj * const * 0x0012fee4) line 1074 + 21 bytes
    TclEvalObjvInternal(Tcl_Interp * 0x007a5208, int 1, Tcl_Obj 
    * const * 0x0012fee4, char * 0x100b10d2, int 7, int 0) line 
    3030 + 25 bytes
    Tcl_EvalEx(Tcl_Interp * 0x007a5208, char * 0x100b0d1c 
    initScript, int 957, int 0) line 3577 + 30 bytes
    Tcl_Eval(Tcl_Interp * 0x007a5208, char * 0x100b0d1c 
    initScript) line 3733 + 17 bytes
    Tcl_Init(Tcl_Interp * 0x007a5208) line 768 + 14 bytes
    main(int 1, char * * 0x007c14b0) line 21 + 10 bytes
    TCLINOTHERAPP! mainCRTStartup + 180 bytes
    KERNEL32! 77e892a6()
    
    When not calling Tcl_Init, 
    then this results from Tcl_Eval(interp, "source ...")
    
    00000000()
    TclpObjNormalizePath(Tcl_Interp * 0x00000000, Tcl_Obj * 
    0x007a5568, int 0) line 1920 + 25 bytes
    TclNormalizeToUniquePath(Tcl_Interp * 0x00000000, Tcl_Obj * 
    0x007a5568) line 980 + 15 bytes
    FSNormalizeAbsolutePath(Tcl_Interp * 0x00000000, Tcl_Obj * 
    0x007a5610) line 902 + 13 bytes
    Tcl_FSGetCwd(Tcl_Interp * 0x00000000) line 1862 + 13 bytes
    Tcl_FSGetNormalizedPath(Tcl_Interp * 0x00000000, Tcl_Obj * 
    0x007a5658) line 3969 + 9 bytes
    Tcl_FSGetFileSystemForPath(Tcl_Obj * 0x007a5658) line 4497 
    + 11 bytes
    Tcl_FSStat(Tcl_Obj * 0x007a5658, _stati64 * 0x0012fc88) 
    line 1448 + 9 bytes
    Tcl_FSEvalFile(Tcl_Interp * 0x007a5208, Tcl_Obj * 
    0x007a5658) line 1228 + 13 bytes
    Tcl_SourceObjCmd(int * 0x00000000, Tcl_Interp * 0x007a5208, 
    int 2, Tcl_Obj * const * 0x0012fef4) line 976 + 16 bytes
    TclEvalObjvInternal(Tcl_Interp * 0x007a5208, int 2, Tcl_Obj 
    * const * 0x0012fef4, char * 0x0040aa8c, int 20, int 0) 
    line 3030 + 25 bytes
    Tcl_EvalEx(Tcl_Interp * 0x007a5208, char * 0x0040aa8c, int 
    20, int 0) line 3577 + 30 bytes
    Tcl_Eval(Tcl_Interp * 0x007a5208, char * 0x0040aa8c) line 
    3733 + 17 bytes
    main(int 1, char * * 0x007c14b0) line 40 + 15 bytes
    TCLINOTHERAPP! mainCRTStartup + 180 bytes
    KERNEL32! 77e892a6()
    
    
    
  2. login: "rfranke"
  3. mimetype: "text/plain"
  4. username: "rfranke"