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
Dear Ben,
apparently the problem you are experiencing is the same as the one reported by Rene Zamseil http://alice.wu-wien.ac.at:8000/xotcl-mailing-list/1060.html
This bug is fixed in the current development verison of XOTcl, which you can get via git with
git clone git://alice.wu-wien.ac.at/xotcl
Version 1.6.1 should be released in the near future.
best regards -gustaf neumann