From: SourceForge.net <no...@so...> - 2003-07-16 23:19:16
|
Bugs item #756840, was opened at 2003-06-18 22:16 Message generated for change (Comment added) made by dkf You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=756840&group_id=12997 Category: 54. [console] Group: 8.5a0 Status: Open Resolution: None Priority: 9 Submitted By: Joe Mistachkin (mistachkin) Assigned to: Chengye Mao (chengyemao) Summary: thread finalize crash with console Initial Comment: When Tcl_FinalizeThread is called for a thread that has a console, it eventually calls TclFinalizeIOSubsystem, which calls Tcl_Close for the console channel(s). At some point TkConsolePrint is called by the Tcl IO subsystem. In the included stack trace, TkConsolePrint is trying to do various things with the interpreter, which seems to have been already deleted. Tcl_GetCurrentNamespace(Tcl_Interp * 0x027b0b10) line 207 + 6 bytes Tcl_FindCommand(Tcl_Interp * 0x027b0b10, const char * 0x0267d344, Tcl_Namespace * 0x00000000, int 0) line 1987 + 9 bytes Tcl_GetCommandInfo(Tcl_Interp * 0x027b0b10, const char * 0x0267d344, Tcl_CmdInfo * 0x0306fd78) line 2207 + 17 bytes TkConsolePrint(Tcl_Interp * 0x027b0b10, int 8, const char * 0x03507b00, long 0) line 798 + 25 bytes ConsoleOutput(void * 0x00000008, const char * 0x03507b00, int 0, int * 0x0306fde0) line 420 + 23 bytes FlushChannel(Tcl_Interp * 0x00000000, Channel * 0x027db000, int 0) line 2066 + 38 bytes CheckFlush(Channel * 0x027db000, ChannelBuffer * 0x03507ae0, int 0) line 3413 + 13 bytes WriteChars(Channel * 0x027db000, const char * 0x024ad744, int 0) line 3206 + 17 bytes Tcl_Close(Tcl_Interp * 0x00000000, Tcl_Channel_ * 0x027db000) line 2540 + 16 bytes TclFinalizeIOSubsystem() line 243 + 11 bytes Tcl_FinalizeThread() line 933 ---------------------------------------------------------------------- >Comment By: Donal K. Fellows (dkf) Date: 2003-07-17 00:19 Message: Logged In: YES user_id=79902 Looks to me like TkConsolePrint should check whether the console interpreter is deleted before trying to exec something in it... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=756840&group_id=12997 |