The following script causes a freeze:
package require Tclx commandloop -interactive on
Changing interactive mode to "on" makes it work ok.
I tested on various tcl versions with same results: 8.5.14, 8.6.1, Active Tcl 8.5. Tclx version in use: 8.4.1. All programs (except Active) were compiled using mingw.
Sorry for the typo: changing to "off" makes it work, the script code is correct.
(I am unable to edit the entry)