Artifacts Associated With Ticket 486453ffffffffffffffffffffffffffffffffff
Ticket change [7190c02120] (rid 100701) by nobody on 2001-11-28 13:02:02:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
[Based on my post to comp.lang.tcl] [cf. <http://groups.google.com/groups? hl=en&lr=lang_en&newwindow=1&selm=slrna087g6.sdm.dgp% 40clover.cam.nist.gov>] I executed the following code after installing the ActiveTcl8.3.4.1-8.win32-ix86.exe package from ActiveState's web site. The problem detailed below happens under Windows 2000 and Windows 98. I also got the same response when I compiled under Solaris 2.8. tclsh83.exe % interp create foo % interp create bar % load c:/program\ files/tcl/bin/tk83.dll Tk foo % load c:/program\ files/tcl/bin/tk83.dll Tk bar % interp delete foo % interp delete bar The load commands each cause a toplevel to appear, and interp eval commands allow widgets to be created in each toplevel, etc. However, when the last interpreter is deleted, tclsh exits. If Tk is loaded into sub interpreters, the main interpreter should not exit when all of the Tk enabled sub interpreters are deleted. ********* This appears to be a bug in the Tcl_Main() routine. Please file a bug report at the Tcl project at SourceForge.net. http://sf.net/projects/tcl/ File it under the Category "Application Embedding". -- Don Porter
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "50. Embedding Support"
- title initialized to: "tclsh exits when Tk interps deleted"
- type initialized to: "Bug"
Ticket change [bd1763e67b] (rid 101850) by dgp on 2001-12-20 23:22:02:
- icomment:
Logged In: YES user_id=80530 Here's a patch that rewrites Tcl_Main to address this bug and several other bugs and shortcomings. It also brings the documentation up to date, and fills in more details. Still need some tests before commit.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [0fd91e2d73] (rid 94861) by dgp on 2001-12-20 23:22:06:
- icomment:
File Added - 14982: main.patch
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [88a4afdd54] (rid 131899) by dgp on 2001-12-22 06:28:02:
- icomment:
File Added - 15026: main.patch Logged In: YES user_id=80530 Here's an updated patch that adds some tclTest.c code to help with testing Tcl_Main and friends.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [915e8a7a3b] (rid 120608) by dgp on 2001-12-22 06:28:03:
- icomment:
File Deleted - 14982:
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [4b94c167ff] (rid 126737) by dgp on 2001-12-22 06:29:21:
- icomment:
Logged In: YES user_id=80530 ...and here's a new file to add to the test suite. There's still more tests to be added. Just wanted to upload the work in progress.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [32f6bee50f] (rid 93707) by dgp on 2001-12-22 06:29:22:
- icomment:
File Added - 15027: main.test
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [4231dc08ad] (rid 116324) by dgp on 2002-01-05 06:53:54:
- icomment:
Logged In: YES user_id=80530 More work in progress. Nearly done now. Here's the updated patch...
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [2763bf159a] (rid 88508) by dgp on 2002-01-05 06:53:55:
- icomment:
File Deleted - 15026: File Added - 15512: main.patch
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [d529316ab9] (rid 123570) by dgp on 2002-01-05 06:55:20:
- icomment:
Logged In: YES user_id=80530 ...and the updated tests file.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [7255f6d413] (rid 100837) by dgp on 2002-01-05 06:55:21:
- icomment:
File Deleted - 15512: File Added - 15513: main.test
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [3851314962] (rid 112189) by dgp on 2002-01-06 05:43:09:
- icomment:
Logged In: YES user_id=80530 Here's the final version of the patch
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Add attachment "main.patch" [8c90908ac3] (rid 127762) by dgp on 2002-01-06 05:43:09.
Ticket change [6f2c9abcb9] (rid 100267) by dgp on 2002-01-06 05:43:10:
- icomment:
File Deleted - 15027: File Added - 15548: main.patch
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [d7c405f109] (rid 107319) by dgp on 2002-01-06 05:46:13:
- icomment:
File Added - 15549: main.test Logged In: YES user_id=80530 ...and here's the final version of the new test suite file.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Add attachment "main.test" [3d9113f589] (rid 121109) by dgp on 2002-01-06 05:46:13.
Ticket change [539f01a093] (rid 93790) by dgp on 2002-01-06 05:57:33:
- closedate changed to: "2002-01-05T22:57:33"
- closer changed to: "dgp"
- foundin changed to: "obsolete: 8.4a4"
- icomment:
Logged In: YES user_id=80530 committed to HEAD (8.4a4)
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"