Artifacts Associated With Ticket 1460738
Ticket change [344f2e2d08] (rid 106743) by nobody on 2006-03-29 15:36:37:
- assignee initialized to: "vincentdarley"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Running a FCMD_EXISTS in Tcl_FileObjCmd: If tclWinProcs->getFileAttributesExProc is NULL then the following line in TclpObjNormalizePath will fail: if ((*tclWinProcs->getFileAttributesExProc)(nativePath, GetFileExInfoStandard, &data) != TRUE) { On my Windows 2000 system, this function pointer is always NULL at the point of failure. TclWinSetInterfaces (being the only function I can find that sets this up) doesn't appear to have been called at this point. - foundin initialized to: "obsolete: 8.4.12"
- 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 when tclWinProcs->getFileAttributesExProc is NULL
- type initialized to: "Bug"
Ticket change [f005005d2f] (rid 109102) by nobody on 2006-03-29 23:51:55:
- icomment:
Logged In: NO You'll have to provide a test script or more detail as to how you are using Tcl, since this works for me. Have you tried running Tcl's test suite? Vince.
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"
- icomment:
Ticket change [de354d933f] (rid 114802) by nobody on 2006-03-31 17:02:20:
- icomment:
Logged In: NO The test suite works OK. We have the TCL library embedded in our C/C++ application. The problem appeared after trying to upgrade the TCL library from 8.2 to 8.4. I wasn't involved in the original implementation of our product, so I know little about the history. Obviously, I am missing some initialization step that was either added since 8.2 or is a little more critical now. I'll check the docs and source code. You can close this if you like.
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"
- icomment:
Ticket change [b0f9b6e2ec] (rid 98067) by nobody on 2006-03-31 17:02:57:
- icomment:
Logged In: NO The test suite works OK. We have the TCL library embedded in our C/C++ application. The problem appeared after trying to upgrade the TCL library from 8.2 to 8.4. I wasn't involved in the original implementation of our product, so I know little about the history. Obviously, I am missing some initialization step that was either added since 8.2 or is a little more critical now. I'll check the docs and source code. You can close this if you like.
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"
- icomment:
Ticket change [ad17ea5400] (rid 101413) by nobody on 2006-03-31 17:03:13:
- icomment:
Logged In: NO The test suite works OK. We have the TCL library embedded in our C/C++ application. The problem appeared after trying to upgrade the TCL library from 8.2 to 8.4. I wasn't involved in the original implementation of our product, so I know little about the history. Obviously, I am missing some initialization step that was either added since 8.2 or is a little more critical now. I'll check the docs and source code. You can close this if you like.
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"
- icomment:
Ticket change [b79c49e47b] (rid 125631) by nobody on 2006-03-31 17:03:42:
- icomment:
Logged In: NO The problem appeared after trying to upgrade the TCL library from 8.2 to 8.4. I wasn't involved in the original implementation of our product, so I know little about the history. Obviously, I am missing some initialization step that was either added since 8.2 or is a little more critical now. I'll check the docs and source code. You can close this if you like.
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"
- icomment:
Ticket change [d1f1b76b20] (rid 113439) by nobody on 2006-03-31 17:05:06:
- icomment:
Logged In: NO Please ignore the multiple comments - problems with the Internet connection and the back button.
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"
- icomment:
Ticket change [c1ff7c4c58] (rid 111421) by dkf on 2006-03-31 17:13:35:
- icomment:
Logged In: YES user_id=79902 Guessing (with no real experience to back this up ;-)) that this is a missing Tcl_FindExecutable() call? That's the entry point that causes the initialization of the Tcl library, and if you're linking directly you wouldn't notice the usual way it fails horribly (unconfigured stubs tables). If the app doesn't call that (or either of the Tcl_Main or Tk_Main convenience functions, of course) then random failures inside the guts of Tcl are to be expected...
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [499c0bd329] (rid 100080) by nobody on 2006-03-31 17:59:49:
- icomment:
Logged In: NO That's it :) Our application has been like this for years without a problem. Obviously, this has become critical in 8.4. I'm not sure whether this will fall over on Windows 95 which doesn't support GetFileAttributesEx. Unfortunately, we don't support Windows 95 any more so I haven't got the test environment here to check it out for you. Many thanks for your help.
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"
- icomment:
Ticket change [f929adba5f] (rid 91656) by vincentdarley on 2006-04-02 00:24:07:
- closedate changed to: "2006-04-01T17:24:07"
- closer changed to: "vincentdarley"
- resolution changed to: "Invalid"
- status changed to: "Closed"
Ticket change [da537eb088] (rid 107758) by hobbs on 2006-04-02 02:11:35:
- icomment:
Logged In: YES user_id=72656 To be clear, Tcl_FindExecutable has been "required" since 8.1 (the addition of i18n support), but only in 8.4 did it become critical to init some encoding bits correctly.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment: