The string table argument of Tcl_GetIndexFromObj() is stored in the Tcl_Obj's internal representation and thus must live at a fixed address, or we have a memory smash waiting to happen.
For reference: http://code.activestate.com/lists/tcl-core/11472/
The attached patch fixes the 3 instances of the problem found in tclAE.
Fixes to Tcl_GetIndexFromObj() string table definitions.
Thank you for the patch. I will try to find the time to apply and push a new release this weekend.
Applied the patch. Thanks a lot.
Will be in version 2.0.6.