Skip to content
Tcl Source Code History Of Ticket 218514
Login

History Of Ticket 218514

Artifacts Associated With Ticket 218514

  1. Ticket change [91507504e2] (rid 120600) by nobody on 2000-10-26 01:01:32:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 796 Bug
      Version: 8.1a2
      SubmitDate: '1998-11-05'
      LastModified: '1998-12-08'
      Severity: CRIT
      Status: Released
      Submitter: stanton
      ChangedBy: stanton
      RelatedBugIDs: 937 934
      OS: All
      OSVersion: NA
      Machine: NA
      FixedDate: '1998-11-06'
      FixedInVersion: 8.1b1
      ClosedDate: '2000-10-25'
      
      
      Date: Fri, 6 Nov 1998 07:28:39 +1100 (EST)
      From: Ben Elliston <[email protected]>
      To: [email protected]
      Subject: This script crashes wish 8.1a2
      
      A month or so ago, I posted this to comp.lang.tcl, but not to
      bugs@scriptics (as best I can remember).  It's a nasty one.
      
      Regards,
      Ben
      
      - -- start of forwarded message --
      
      I have narrowed a script of ours down to this much smaller version, which
      crashes wish 8.1a2.  From what I can see, the code which executes the
      bytecode is dying when executing the body of bar{}.
      
      I'm not indicating that this is a particularly good script, but it does
      crash the interpreter.  No script should crash the interpreter, no matter
      how bad it is.
      
      Ben
      
      #!libexec/wish
      # Hacked up Tcl-based GUI installation program
      
      proc foo {} {
        global installhome
        entry .e -textvariable installhome
      }
      
      proc bar {} {
        global installhome
        set installhome foobar
        puts $installhome
      }
      
      foo
      bar
      
      
      
      This was a result of a bug in tclVar.c where the name of a variable that was upvar'd was getting lost.
      
      
      
    4. foundin initialized to: "obsolete: 8.1a2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "10. Objects"
    10. title initialized to: "Tcl crashes executing some byte codes"
    11. type initialized to: "Bug"
  2. Ticket change [c33fe92f4e] (rid 111627) by welch on 2000-10-26 08:23:19:

    1. closedate changed to: "2000-10-26T01:23:19"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"