[Xotcl] Object eval Problem

Ben Thomasson ben.thomasson at gmail.com
Wed Jun 4 15:23:12 CEST 2008


Hi,

I have a problem with the following code:

[xotcl-1.6.0]$ ./xotclsh
% ::xotcl::Object eval set a 5
5
% ::xotcl::Object eval ::xotcl::Object set a 5
5
% ::xotcl::Object eval ::xotcl::Object set
Segmentation fault


This line works fine:

::xotcl::Object eval ::xotcl::Object set a 5

This line causes a Segmentation fault:

::xotcl::Object eval ::xotcl::Object set

It should just throw an error.

This code is similar but does not have the problem:

[xotcl-1.6.0]$ ./xotclsh
% ::xotcl::Object eval ::xotcl::Object lappend a 5
5
% ::xotcl::Object eval ::xotcl::Object lappend
wrong # args: should be "lappend varName ?value value ...?"
% exit

This was on a fresh compile of Tcl8.4.19 and XOTcl1.6.0.

Let me know if you see this in your builds.

Thanks,

Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://alice.wu-wien.ac.at/pipermail/xotcl/attachments/20080604/3f38215b/attachment.html 


More information about the Xotcl mailing list