Tcl version 8.4 is not officially supported by Avalanche new generation API's.
Refer to avalanche release notes to know the supported Tcl version.