Artifacts Associated With Ticket 2731232fffffffff
Ticket change [1b93c6f9bf] (rid 123177) by flatworm on 2009-04-04 14:32:08:
- assignee initialized to: "patthoyts"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Evaluating [dde eval Topic exit] where Topic was registered by the main interpreter of another instance of wish using [dde servername Topic], crashes the local wish process after the remote exits correctly. This behaviour is found in today's CVS HEAD as well as in Tcl/Tk 8.5.1 I have installed. Stack trace: 0:000> k ChildEBP RetAddr 0026d49c 015a2431 tcl86g!Tcl_GetIntFromObj+0xe [C:\src\tcl\win\..\generic\tclObj.c @ 1925] 0026d564 1001b322 tcldde13g!Tcl_DdeObjCmd+0x12aa [C:\src\tcl\win\..\win\tclWinDde.c @ 1652] 0026d590 1001b10f tcl86g!NRRunObjProc+0x56 [C:\src\tcl\win\..\generic\tclBasic.c @ 4300] 0026d5b4 100906fb tcl86g!TclNRRunCallbacks+0xc6 [C:\src\tcl\win\..\generic\tclBasic.c @ 4247] 0026e62c 1001b3be tcl86g!TclExecuteByteCode+0x2c93 [C:\src\tcl\win\..\generic\tclExecute.c @ 2789] 0026e64c 1001b10f tcl86g!NRCallTEBC+0x7e [C:\src\tcl\win\..\generic\tclBasic.c @ 4323] 0026e670 1001d48e tcl86g!TclNRRunCallbacks+0xc6 [C:\src\tcl\win\..\generic\tclBasic.c @ 4247] 0026e690 1001d426 tcl86g!TclEvalObjEx+0x5c [C:\src\tcl\win\..\generic\tclBasic.c @ 5739] 0026e6ac 100b5158 tcl86g!Tcl_EvalObjEx+0x18 [C:\src\tcl\win\..\generic\tclBasic.c @ 5720] 0026e700 004a4e8d tcl86g!Tcl_RecordAndEvalObj+0x228 [C:\src\tcl\win\..\generic\tclHistory.c @ 161] 0026e72c 1001b322 tk86g!InterpreterObjCmd+0x227 [..\generic\tkConsole.c @ 801] 0026e758 1001b10f tcl86g!NRRunObjProc+0x56 [C:\src\tcl\win\..\generic\tclBasic.c @ 4300] 0026e77c 100906fb tcl86g!TclNRRunCallbacks+0xc6 [C:\src\tcl\win\..\generic\tclBasic.c @ 4247] 0026f7f4 1001b3be tcl86g!TclExecuteByteCode+0x2c93 [C:\src\tcl\win\..\generic\tclExecute.c @ 2789] 0026f814 1001b10f tcl86g!NRCallTEBC+0x7e [C:\src\tcl\win\..\generic\tclBasic.c @ 4323] 0026f838 1001aa3e tcl86g!TclNRRunCallbacks+0xc6 [C:\src\tcl\win\..\generic\tclBasic.c @ 4247] 0026f858 1001cae1 tcl86g!Tcl_EvalObjv+0x53 [C:\src\tcl\win\..\generic\tclBasic.c @ 4026] 0026f91c 1001c1f5 tcl86g!TclEvalEx+0x8e0 [C:\src\tcl\win\..\generic\tclBasic.c @ 5140] 0026f938 004e23df tcl86g!Tcl_EvalEx+0x1a [C:\src\tcl\win\..\generic\tclBasic.c @ 4841] 0026fbbc 00518a5e tk86g!Tk_BindEvent+0xa96 [..\generic\tkBind.c @ 1761]
- foundin initialized to: "obsolete: 8.6b1"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "flatworm"
- subsystem initialized to: "28. dde Package"
- title initialized to: "[dde eval Topic exit] crashes local interpreter"
- type initialized to: "Bug"
Ticket change [f903089225] (rid 91638) by dkf on 2009-04-04 22:42:13:
- priority changed to: "8"
Ticket change [2c39936b99] (rid 118866) by nijtmans on 2012-06-22 15:55:00:
- assignee changed to: "nijtmans"
Ticket change [a3df05f1ad] (rid 110114) by nijtmans on 2012-06-22 17:05:00:
- closedate changed to: "2012-06-22T10:05:00"
- closer changed to: "nijtmans"
- icomment:
I cannot reproduce this (see below). The same happens in core-8-4-branch, core-8-5-branch and trunk. Of course, the problem is that after an "exit", the server will not respond any more, so the correct thing to do would be: [dde eval -async ....]. That would prevent the problem altogether. But - as said - I cannot reproduce it any more with the current dde code. Maybe it is fixed together with some other fix (my guess would be #3173086) ============================================== Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All r >tclsh84 % package require dde 1.2.5 % dde eval a exit remote interpreter did not respond % dde eval -async a exit
- login: "nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Works For Me"
- status changed to: "Pending"
- username: "nijtmans"
Ticket change [ca1fbc40a9] (rid 135565) by dkf on 2013-11-12 12:41:46:
- assignee changed to: "aku"
- closedate changed to: "2456609.02901189"
- closer changed to: "dkf"
- comment changed to:
Evaluating [dde eval Topic exit] where Topic was registered by the main interpreter of another instance of wish using [dde servername Topic], crashes the local wish process after the remote exits correctly. This behaviour is found in today's CVS HEAD as well as in Tcl/Tk 8.5.1 I have installed. Stack trace: 0:000> k ChildEBP RetAddr 0026d49c 015a2431 tcl86g!Tcl_GetIntFromObj+0xe [C:\src\tcl\win\..\generic\tclObj.c @ 1925] 0026d564 1001b322 tcldde13g!Tcl_DdeObjCmd+0x12aa [C:\src\tcl\win\..\win\tclWinDde.c @ 1652] 0026d590 1001b10f tcl86g!NRRunObjProc+0x56 [C:\src\tcl\win\..\generic\tclBasic.c @ 4300] 0026d5b4 100906fb tcl86g!TclNRRunCallbacks+0xc6 [C:\src\tcl\win\..\generic\tclBasic.c @ 4247] 0026e62c 1001b3be tcl86g!TclExecuteByteCode+0x2c93 [C:\src\tcl\win\..\generic\tclExecute.c @ 2789] 0026e64c 1001b10f tcl86g!NRCallTEBC+0x7e [C:\src\tcl\win\..\generic\tclBasic.c @ 4323] 0026e670 1001d48e tcl86g!TclNRRunCallbacks+0xc6 [C:\src\tcl\win\..\generic\tclBasic.c @ 4247] 0026e690 1001d426 tcl86g!TclEvalObjEx+0x5c [C:\src\tcl\win\..\generic\tclBasic.c @ 5739] 0026e6ac 100b5158 tcl86g!Tcl_EvalObjEx+0x18 [C:\src\tcl\win\..\generic\tclBasic.c @ 5720] 0026e700 004a4e8d tcl86g!Tcl_RecordAndEvalObj+0x228 [C:\src\tcl\win\..\generic\tclHistory.c @ 161] 0026e72c 1001b322 tk86g!InterpreterObjCmd+0x227 [..\generic\tkConsole.c @ 801] 0026e758 1001b10f tcl86g!NRRunObjProc+0x56 [C:\src\tcl\win\..\generic\tclBasic.c @ 4300] 0026e77c 100906fb tcl86g!TclNRRunCallbacks+0xc6 [C:\src\tcl\win\..\generic\tclBasic.c @ 4247] 0026f7f4 1001b3be tcl86g!TclExecuteByteCode+0x2c93 [C:\src\tcl\win\..\generic\tclExecute.c @ 2789] 0026f814 1001b10f tcl86g!NRCallTEBC+0x7e [C:\src\tcl\win\..\generic\tclBasic.c @ 4323] 0026f838 1001aa3e tcl86g!TclNRRunCallbacks+0xc6 [C:\src\tcl\win\..\generic\tclBasic.c @ 4247] 0026f858 1001cae1 tcl86g!Tcl_EvalObjv+0x53 [C:\src\tcl\win\..\generic\tclBasic.c @ 4026] 0026f91c 1001c1f5 tcl86g!TclEvalEx+0x8e0 [C:\src\tcl\win\..\generic\tclBasic.c @ 5140] 0026f938 004e23df tcl86g!Tcl_EvalEx+0x1a [C:\src\tcl\win\..\generic\tclBasic.c @ 4841] 0026fbbc 00518a5e tk86g!Tk_BindEvent+0xa96 [..\generic\tkBind.c @ 1761]
- login: "dkf"
- mimetype: "text/plain"
- severity changed to: "Minor"
- status changed to: "Closed"