Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a9666589334448ed1892f559e513cb6a27082daa
Ticket: 1790274fffffffffffffffffffffffffffffffff
hidden bgerror fallback gets wrong stack
User & Date: nobody on 2007-09-07 15:45:10
Changes

  1. assignee changed to: "nijtmans"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    Works in 8.4.16:
    
    % info patch
    8.4.16
    % interp create -safe safe
    safe
    % interp alias safe puts {} puts
    puts
    % safe eval {proc bgerror m {puts $m\n$::errorCode\n$::errorInfo}}
    % safe eval after 0 error foo
    after#0
    % update
    foo
    NONE
    foo
        while executing
    "error foo"
        ("after" script)
    % interp hide safe bgerror
    % safe eval after 0 error foo
    after#1
    % update
    foo
    NONE
    foo
        while executing
    "error foo"
        ("after" script)
    
    
    Broken in 8.5a6 (and HEAD):
    
    % info patch
    8.5a6
    % interp create -safe safe
    safe
    % interp alias safe puts {} puts
    puts
    % safe eval {proc bgerror m {puts $m\n$::errorCode\n$::errorInfo}}
    % safe eval after 0 error foo
    after#0
    % update
    foo
    NONE
    foo
        while executing
    "error foo"
        ("after" script)
    % interp hide safe bgerror
    % safe eval after 0 error foo
    after#1
    % update
    foo
    NONE
    invalid command name "bgerror"
        while executing
    "bgerror foo"
    
    
  4. foundin changed to: "obsolete: 8.5a6"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "nobody"
  10. subsystem changed to: "02. Event Loops"
  11. title changed to: "hidden bgerror fallback gets wrong stack"
  12. type changed to: "Bug"