|
2013-11-12
| ||
| 12:41 | • Closed ticket [2731232fff]: dde eval Topic exit crashes local interpreter ... artifact: ca1fbc40a9 user: dkf | |
|
2012-06-22
| ||
| 17:05 | • Pending ticket [2731232fff]. artifact: a3df05f1ad user: nijtmans | |
| 15:55 | • Ticket [2731232fff]: 1 change artifact: 2c39936b99 user: nijtmans | |
|
2009-04-04
| ||
| 22:42 | • Ticket [2731232fff]: 1 change artifact: f903089225 user: dkf | |
| 14:32 | • New ticket [2731232fff]. artifact: 1b93c6f9bf user: flatworm | |
[dde eval Topic exit] crashes local interpreter
Closed / Works For Me2731232fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 13 years ago
Descriptionplain2009-04-04 14:32:08
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]
dkf Ticket [2731232fff]: 1 change
[History diff]2009-04-04 22:42:13
nijtmans Ticket [2731232fff]: 1 change
[History diff]2012-06-22 15:55:00
nijtmansplain2012-06-22 17:05:00
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
dkf Closed ticket [2731232fff].
[History diff]2013-11-12 12:41:46
Log in (anonymous is fine) to add a comment.