Artifact
f8086b95f6f303354a27cad8a98f946f990fa840:
Ticket change
[f8086b95f6]
- Ticket
[2458202fffffffff|2458202fff] <i>Reflected channel crash on exit</i> status still Open with 4 other changes
by
nobody on
2008-12-23 21:00:01.
D 2008-12-23T21:00:01
J icomment I've\stried\sreducing\sthe\simplementation\scausing\sthis\sand\sso\sfar\sit\sseems\sto\srequire\sTk\sto\sbe\sin\suse.\sIt\sseems\slike\sI\salways\shave\sone\sof\sthese\schannels\sopen\seven\sthough\sthere\sis\sno\schannel\sregistered\sfor\sthe\sfile.\sAs\sit\sis\sa\sgif\sI\slooked\sat\sthe\s[image\screate\sphoto]\scode\sbut\sit\slooks\slike\sthe\schannel\sshould\sbe\sclosed\sthere\sto\sme.\nSo\sfar\sthe\ssmallest\sbug\sreproducing\sscript\sI\shave\sgot\sis\sto\screate\sa\svfs\sfolder\swith\sa\sgif\simage\sand\sthe\sfollowing\smain.tcl.\sThen\smake\sa\sstarkit\sand\stclkit-gui\stest.kit,\sclose\sthe\swindow\sand\sit\scrashes.\sI\shave\sused\szipkit\sand\smetakit\sand\sboth\scrash\sso\sit\sis\snot\sdependent\son\sthe\svfs\simplementation.\s[rechan]\sis\sok\s-\spresumably\sa\sMemchan\s[memchan]\swould\sbe\sfine\stoo.\n\npackage\srequire\sTk\npackage\srequire\sstarkit\nif\s{[starkit::startup]\sne\s"sourced"}\s{\n\s\s\s\sset\simg\s[image\screate\sphoto\s-file\s[file\sjoin\s$starkit::topdir\stkchat48.gif]]\n\n\s\s\s\swm\siconphoto\s.\s$img\n\s\s\s\stkwait\swindow\s.\n\s\s\s\s#exit\n}\n\nUncommenting\sexit\sseems\sto\sresolve\sthe\sproblem\s-\sso\sI\sthink\sit\sis\san\sinteraction\swith\sTk\sfinalization\sand\sTcl\sfinalization.\n\nIn\stkchat\swe\shave\sthe\swhiteboard\swhich\sis\simplemented\susing\ssafetk\sand\sa\ssafe\sinterp.\sWhen\sI\sclose\sthat\susing\sthis\stclkit\sit\scrashes\sas\swell\sin\sthe\ssame\splace\swhen\sdestroying\sthis\ssafe\sinterpreter.\n
J login [email protected]
J mimetype text/plain
J username [email protected]
K 2458202fffffffffffffffffffffffffffffffff
U nobody
Z 50b90c75bcbda3fc5bcc4922a3e02006