Skip to content
Tcl Source Code Artifact [5f2b320514]
Login

Artifact [5f2b320514]

Artifact 5f2b3205141f34fb227e16749bddd623e45ae579:

Ticket change [5f2b320514] - New ticket [3b9b6e7d08810a5d|3b9b6e7d08] <i>Tcl_SetNotifier on Mac causes Tcl to crash</i>. by anonymous on 2013-09-15 06:48:28.
D 2013-09-15T06:48:28.650
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment In\smacosx/tclMacOSXNotify.c,\sTcl_Sleep\smakes\suse\sof\sthe\slocal\sThreadSpecificData\s*tsdPtr,\swhich\sis\seffectively\sprivate\sdata\sbelonging\sto\sthe\snotifier.\sHowever,\sTcl_Sleep\sitself\sis\snot\spart\sof\sthe\snotifier.\sIf\sI\sthen\suse\sTcl_SetNotifier\sto\sreplace\sthe\snotifier,\sthen\sTcl\scrashes\sbecause\sTcl_Sleep\sstill\stries\sto\suse\sthe\soriginal\snotifier,\swhich\shas\snot\sbeen\sinitialized\s(so\stsdPtr\sis\sinvalid).\sThe\ssolution\sto\sthis\sbug\sis\sto\seither\sinclude\sTcl_Sleep\sin\sthe\snotifier\s(i.e.,\sin\sTcl_NotifierProcs),\sor\srewrite\sTcl_Sleep\son\sMac\sOS\sX\ssuch\sthat\sit\sdoes\snot\suse\sdata\sprivate\sto\sthe\snotifier.
J foundin 8.5.14\sand\s8.6.0,\sprobably\sin\sall\srecent\sversions
J is_private 0
J login anonymous
J priority 5\sMedium
J private_contact 500c9a7a4e11b3ea0441850610e04006941c0cf3
J resolution None
J severity Severe
J status Open
J submitter anonymous
J subsystem 01.\sNotifier
J title Tcl_SetNotifier\son\sMac\scauses\sTcl\sto\scrash
J type Bug
K 3b9b6e7d08810a5d0f71dc53d92a3e5c809d68ad
U anonymous
Z 13fb842318bde656e52284233cbc3316