"TCL bad code offset" ...
This tells me one of two things have happened:
1. You've stumbled across a bug in the Tcl bytecode compiler or
2. Bad RAM, or a bad write to swap, or something similar corrupted the compiled byte code.
If it persists after restarting AOLserver then #1 is likely, if not, #2.
If #1 ... try the new AOLserver 4.0 beta3 with Tcl 8.4.2 to see if it has been fixed in the latest release.