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:<br>
<br>
XOTcl 1.4<br>
<br>
> tclsh<br>
% set tcl_patchLevel<br>
8.4.13<br>
% package require XOTcl<br>
1.4.0<br>
% ::xotcl::Object autoname a<br>
a0<br>
%<br>
<br>
>tclsh<br>
% package require XOTcl<br>
1.4.0<br>
% set tcl_patchLevel<br>
8.5a5<br>
% ::xotcl::Object autoname a<br>
# crash with access violation<br>
<br>
XOTcl 1.5<br>
<br>
<br>
> tclsh<br>
% package require XOTcl<br>
1.5.0<br>
% set tcl_patchLevel<br>
8.4.13<br>
% ::xotcl::Object autoname a<br>
a1<br>
%<br>
<br>
> tclsh<br>
% package require XOTcl<br>
1.5.0<br>
% set tcl_patchLevel<br>
8.5a5<br>
% ::xotcl::Object autoname a<br>
# crashed with access violation<br>
<br>
% parray tcl_platform<br>
tcl_platform(byteOrder) = littleEndian<br>
tcl_platform(machine) = intel<br>
tcl_platform(os) = Windows NT<br>
tcl_platform(osVersion) = 5.1<br>
tcl_platform(platform) = windows<br>
tcl_platform(threaded) = 1<br>
tcl_platform(user) = mjanssen<br>
tcl_platform(wordSize) = 4<br>
<br>
Is this a known problem? I am able to work around it by only using new and create.<br>
<br>
Regards,<br>
Mark<br>