error in proc ::unknown
Closed / Fixed1063707fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-11-10 10:21:38
Hi everyone, we installed the latest tcl package provided by suse 9.2 these days. a problem we run into these days was some kind of strange errors concerning proc ::unknown this proc was called sometimes (we could not tell why and when) without the existence of an error => so errorInfo and errorCode were not set. we did not get out why we ran into it and did not have the time for further investigations. => so we slightly changed the code in init.tcl to handle this.... cheers, Christoph
nobodyplain2004-11-10 17:21:38
File Added - 108264: init.tcl
dgpplain2004-11-11 01:55:28
Logged In: YES user_id=80530 any progress you can make on the "why and when" question would help. As you can see, the errorInfo and errorCode variables are set in lines 136 and 137 of init.tcl, so it would appear that some code somewhere is explicitly unsetting them and then ending up in [unknown]. Your mods are probably worthwhile for 8.4.8 as a safety measure, but I'd say the real bug here is whatever code is unsetting errorInfo and errorCode. For Tcl 8.5, [unknown] no longer references the errorInfo and errorCode variables, so this will no longer be a problem. Thanks for the report and any followup.
dgpplain2004-11-13 07:41:57
Logged In: YES user_id=80530 [unknown] updated for Tcl 8.4.8 so that it can tolerate an unset ::errorInfo or ::errorCode
Log in (anonymous is fine) to add a comment.
Attachments:
- init.tcl [download] added by nobody on 2004-11-10 17:21:38. [details]