|
2003-04-17
| ||
| 00:00 | • Closed ticket [722284ffff]: NULL function pointer (tclWinProcs->getFileAttrib... artifact: 49f7f3f7fd user: vincentdarley | |
|
2003-04-16
| ||
| 05:27 | • New ticket [722284ffff]. artifact: 5893cf5031 user: thanson | |
NULL function pointer (tclWinProcs->getFileAttributesExProc)
Closed / Invalid722284ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-04-16 05:27:58
On Win32, the function TclpObjNormalizePath tries to invokes a NULL function pointer (line 2208). In particular tclWinProcs->getFileAttributesExProc is NULL. I am running the newest Tcl 8.5a0 code under Win2k using Visual C++ 6.0 to compile. On Linux, this problem does not happen. This is a stacktrace at the point where the NULL function invocation occurs. TclpObjNormalizePath(Tcl_Interp * 0x007b44b0, Tcl_Obj * 0x007b4a50, int 0) line 2209 + 25 bytes TclFSNormalizeToUniquePath(Tcl_Interp * 0x007b44b0, Tcl_Obj * 0x007b4a50, int 0, void * * 0x0012fd0c) line 1056 + 15 bytes TclFSNormalizeAbsolutePath(Tcl_Interp * 0x007b44b0, Tcl_Obj * 0x007b4b58, void * * 0x00000000) line 190 + 19 bytes Tcl_FSGetCwd(Tcl_Interp * 0x007b44b0) line 2087 + 15 bytes Tcl_FSGetNormalizedPath(Tcl_Interp * 0x007b44b0, Tcl_Obj * 0x007b4b70) line 1174 + 9 bytes Tcl_FSEvalFile(Tcl_Interp * 0x007b44b0, Tcl_Obj * 0x007b4b70) line 1297 + 13 bytes Tcl_EvalFile(Tcl_Interp * 0x007b44b0, const char * 0x0012ff74) line 208 + 13 bytes main(int 1, char * * 0x007e0de0) line 15 + 43 bytes mainCRTStartup() line 206 + 25 bytes KERNEL32! 77ea847c()
vincentdarleyplain2003-04-17 00:00:53
Logged In: YES user_id=32170 You need to call 'Tcl_FindExectuable' before using any of Tcl. Please see the comments in tclWin32Dll.c
Log in (anonymous is fine) to add a comment.