When using XOTcl 1.4 or 1.5 on Tcl 8.5 creating an instance with an autoname crashes the Tcl process. On 8.4.13 it works:
XOTcl 1.4
tclsh
% set tcl_patchLevel 8.4.13 % package require XOTcl 1.4.0 % ::xotcl::Object autoname a a0 %
tclsh
% package require XOTcl 1.4.0 % set tcl_patchLevel 8.5a5 % ::xotcl::Object autoname a # crash with access violation
XOTcl 1.5
tclsh
% package require XOTcl 1.5.0 % set tcl_patchLevel 8.4.13 % ::xotcl::Object autoname a a1 %
tclsh
% package require XOTcl 1.5.0 % set tcl_patchLevel 8.5a5 % ::xotcl::Object autoname a # crashed with access violation
% parray tcl_platform tcl_platform(byteOrder) = littleEndian tcl_platform(machine) = intel tcl_platform(os) = Windows NT tcl_platform(osVersion) = 5.1 tcl_platform(platform) = windows tcl_platform(threaded) = 1 tcl_platform(user) = mjanssen tcl_platform(wordSize) = 4
Is this a known problem? I am able to work around it by only using new and create.
Regards, Mark