Artifacts Associated With Ticket 642280ffffffffff
Ticket change [fdc5aa5bc1] (rid 108472) by nobody on 2002-11-22 13:40:27:
- assignee initialized to: "vincentdarley"
- cmimetype initialized to: "text/plain"
- 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. - foundin initialized to: "obsolete: 8.4.1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "37. File System"
- title initialized to: "Crash on Win2000 with 'source' command"
- type initialized to: "Bug"
Ticket change [82ed20e469] (rid 117311) by dkf on 2002-11-22 21:50:16:
- 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?
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [f1a840fc1d] (rid 109393) by vincentdarley on 2002-11-23 01:31:27:
- assignee changed to: "dkf"
- 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.
- login: "vincentdarley"
- mimetype: "text/plain"
- subsystem changed to: "38. Init - Library - Autoload"
- username: "vincentdarley"
Ticket change [be957567ff] (rid 102095) by hobbs on 2002-12-01 04:04:41:
- closedate changed to: "2002-11-30T21:04:41"
- closer changed to: "hobbs"
- 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.
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "hobbs"