Artifacts Associated With Ticket 1249172fffffffff
Ticket change [9584f75778] (rid 106168) by stevel on 2005-08-01 02:33:35:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
When using tclkit build from the core-8-4-branch, a "package require Tk" results in a subsequent "info script" invocaion returning an incorrect value. For example: puts stderr "before = [info script]" package require Tk puts stderr "after = [info script]" returns: before = tst1.tcl after = /usr/local/bin/tclkitA/lib/tcl8.4/auto.tcl The problem only occurs with tclkit built from the core-8-4-branch. It doesn't occur with wish built from core-8-4-branch nor wish built the HEAD. It also seems to occur only with Tk (both the Aqua and X11 versions) but not with any of the other packages inTclkit (http, Itcl, Mk4tcl or vfs).
- foundin initialized to: "obsolete: 8.5a4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "stevel"
- subsystem initialized to: "17. Commands I-L"
- title initialized to:
info script returns incorrect value after package require
- type initialized to: "Bug"
Ticket change [36d729d64c] (rid 107174) by stevel on 2005-08-01 09:36:20:
- assignee changed to: "dgp"
Ticket change [070c765769] (rid 89321) by dgp on 2005-08-01 21:58:57:
- icomment:
Logged In: YES user_id=80530 Please replace [package require Tk] in your demo with [catch tcl_findLibrary], and see if the problem is still present.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [23db221ac2] (rid 131004) by stevel on 2005-08-02 06:54:23:
- icomment:
Logged In: YES user_id=2460 Confirmed - the problem still persists
- login: "stevel"
- mimetype: "text/plain"
- username: "stevel"
- icomment:
Ticket change [1e527139ee] (rid 90950) by dgp on 2005-08-02 12:18:21:
- icomment:
Logged In: YES user_id=80530 Good. That should take Tk out of the picture. Next, please try: [source [file join [info library] auto.tcl]]
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [3dcde79246] (rid 121158) by stevel on 2005-08-02 15:16:46:
- icomment:
Logged In: YES user_id=2460 confirmed - problem still persists. BTW, you can get the tclkit for OSX that exhibits the behaviour via the link in this post - http://sourceforge.net/mailarchive/message.php?msg_id=12511812
- login: "stevel"
- mimetype: "text/plain"
- username: "stevel"
- icomment:
Ticket change [139888a678] (rid 124250) by dgp on 2005-08-02 20:55:27:
- assignee changed to: "vincentdarley"
- icomment:
Logged In: YES user_id=80530 hmmm... that suggests a fault in Tcl_FSEvalFile() then.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
Ticket change [f95092b273] (rid 91688) by dgp on 2005-08-02 20:56:47:
- title changed to: "Tcl_FSEvalFile in VFS fails to reset [info script]"
Ticket change [c6001aaf3b] (rid 121690) by dgp on 2005-08-02 21:02:51:
- icomment:
Logged In: YES user_id=80530 Are these failures in a thread-enabled Tcl?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [1e0a162ec6] (rid 90906) by dgp on 2005-08-02 22:06:39:
- icomment:
Logged In: YES user_id=80530 I'm afraid I don't see how the save/restore of oldScriptFile within Tcl_FSEvalFile() can go wrong, unless there's some real serious memory corruption behind it.
- login: "dgp"
- mimetype: "text/plain"
- subsystem changed to: "37. File System"
- username: "dgp"
- icomment:
Ticket change [688aee3196] (rid 103085) by stevel on 2005-08-03 07:02:53:
- icomment:
Logged In: YES user_id=2460 It's not thread-enabled.
- login: "stevel"
- mimetype: "text/plain"
- username: "stevel"
- icomment:
Ticket change [2625cf5143] (rid 88291) by dgp on 2005-08-08 20:59:34:
- closedate changed to: "2005-08-08T13:59:34"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 do I understand this has been resolved?
- login: "dgp"
- mimetype: "text/plain"
- status changed to: "Pending"
- username: "dgp"
Ticket change [8432e19e7a] (rid 117502) by stevel on 2005-08-09 07:26:16:
- closedate changed to: "2005-08-09T00:26:16"
- closer changed to: "stevel"
- icomment:
Logged In: YES user_id=2460 Yes - in so far that we have established that the problem isn't in Tcl (i.e. it is either in one of the tclkit extensions, or triggered by the tclkit build process)
- login: "stevel"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "stevel"