Artifacts Associated With Ticket 789949ffffffffff
Ticket change [4beb610def] (rid 126786) by mistachkin on 2003-08-17 01:36:22:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
tclsh84tg.exe immediately panic()'s on startup on Windows 2000. The following code from tclIOUtil.c (line 590) appears to dereference freed memory. if (--fsRecPtr->fileRefCount <= 0) { ckfree((char *)fsRecPtr); } Here is the stack trace: FsRecacheFilesystemList() line 590 + 3 bytes FsGetFirstFilesystem() line 644 GetPathType(Tcl_Obj * 0x008f8e58, Tcl_Filesystem * * 0x0026eba8, int * 0x0026eb88, Tcl_Obj * * 0x0026eb74) line 3180 + 5 bytes Tcl_FSJoinPath(Tcl_Obj * 0x008f94d8, int 2) line 4569 + 21 bytes Tcl_FSJoinToPath(Tcl_Obj * 0x00000000, int 2, Tcl_Obj * const * 0x008e009c) line 1086 + 11 bytes Tcl_FileObjCmd(void * 0x00000000, Tcl_Interp * 0x008e9020, int 4, Tcl_Obj * const * 0x008e0094) line 955 + 21 bytes TclEvalObjvInternal(Tcl_Interp * 0x008e9020, int 4, Tcl_Obj * const * 0x008e0094, const char * 0x00000000, int 0, int 0) line 3084 + 25 bytes TclExecuteByteCode(Tcl_Interp * 0x008e9020, ByteCode * 0x008f88d8) line 1404 + 36 bytes TclCompEvalObj(Tcl_Interp * 0x008e9020, Tcl_Obj * 0x008f6978) line 982 + 13 bytes TclObjInterpProc(void * 0x008f69f8, Tcl_Interp * 0x008e9020, int 1, Tcl_Obj * const * 0x0026fc84) line 1082 + 19 bytes TclEvalObjvInternal(Tcl_Interp * 0x008e9020, int 1, Tcl_Obj * const * 0x0026fc84, const char * 0x100d4936, int 7, int 0) line 3084 + 25 bytes Tcl_EvalEx(Tcl_Interp * 0x008e9020, const char * 0x100d4580 initScript, int 957, int 0) line 3675 + 36 bytes Tcl_Eval(Tcl_Interp * 0x008e9020, const char * 0x100d4580 initScript) line 3871 + 17 bytes Tcl_Init(Tcl_Interp * 0x008e9020) line 801 + 14 bytes Tcl_AppInit(Tcl_Interp * 0x008e9020) line 146 + 10 bytes Tcl_Main(int 1, char * * 0x008c4348, int (Tcl_Interp *)* 0x0040109e Tcl_AppInit(Tcl_Interp *)) line 273 + 10 bytes main() line 117 + 19 bytes mainCRTStartup() line 338 + 17 bytes KERNEL32! 7c4e87f5() - foundin initialized to: "obsolete: 8.4.4"
- priority initialized to: "9 Immediate"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "mistachkin"
- subsystem initialized to: "None"
- title initialized to: "crash on startup with 8.4.4 threaded debug build"
- type initialized to: "Bug"
Ticket change [164def3940] (rid 124695) by sireland on 2003-09-04 22:18:08:
- icomment:
Logged In: YES user_id=859150 I too am seeing this problem. I'm using XP and building with either VS.net 2003 or VS6. Oddly wish84tg.exe seems to work, but tclsh84tg.exe and tcl84tg.dll called from my embedded application crash at the above point. 8.4.3 works perfectly in all scenarios.
- login: "sireland"
- mimetype: "text/plain"
- username: "sireland"
- icomment:
Ticket change [557bf34c6f] (rid 94142) by sireland on 2003-09-04 23:01:04:
- icomment:
Logged In: YES user_id=859150 Solution found in report 788780. Thanks. P.S. Don't you just hate it when you spend the time looking for the solution, don't find it, post a message and THEN find the answer :)
- login: "sireland"
- mimetype: "text/plain"
- username: "sireland"
- icomment:
Ticket change [42fa4dad63] (rid 116470) by mistachkin on 2003-09-06 08:16:24:
- closedate changed to: "2003-09-06T01:16:24"
- closer changed to: "mistachkin"
- resolution changed to: "Duplicate"
- status changed to: "Closed"