PDA

View Full Version : iTcl


darkone
02-09-2004, 02:50 PM
Avoid use of itcl scripts. It seems that for god knows what reason, tcl library I was using, was not compiled with thread support. Use of itcl, will cause heap corruptions and result to crash.

If you think, it's working 'fine' for you, you're wrong. Try running following script simultanously (repeatedly) using several clients:

bugger.itcl

set a 0
while { [incr a] < 10000 } {
;
}

*boom* :) This issue applies to all versions of io, and is addressed in coming build. (it's likely, that fixed version of dll fixes problems with current build)

freak007
02-09-2004, 02:51 PM
when will be fixed version be released ?

Cya Freak007

Mouton
02-09-2004, 03:54 PM
fixed version of dll is available in ioftpd.com/members for registered users.

bounty
02-09-2004, 04:08 PM
darkone compiled latest tcl lib 8.4.2.5

but i think some files also need to be updated in /lib dir

at least : init.tcl package.tcl & safe.tcl

they are available in the latest activestate rls of tcl

have fun
bounty

darkone
02-09-2004, 04:28 PM
I used the latest package for compilation. (& version included is now thread-safe)

Ren
02-09-2004, 04:38 PM
do we need to delete the old tcl84.dll and rename this 1 ?

darkone
02-09-2004, 06:13 PM
Yep, I didn't actually test it on older io version :) but if it works, it's in no way worse than the 'original' dll

neoxed
02-09-2004, 06:23 PM
Great news :D

Mouton
02-09-2004, 06:29 PM
5.6.3r full and .exe-only downloadable from members section now includes this dll... just to avoid future problems...

bounty
02-09-2004, 07:14 PM
here are the latest version of tcl lib located in ioftpd/lib/tcl8.4 dir

have fun
bounty

toki
02-10-2004, 04:05 AM
after extracting these and getting the new tcl dll (renaming and overwrite existing in /system dir and restarting io i got first complete exe crash since a few day. since i wasnt here i dunnu when it crashed. checking logs for info