Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3f413a78f0ab4fb28b86c5f5854dcdda0e1f8bfa
Ticket: 2489836fffffffffffffffffffffffffffffffff
CRASH - tclsh crashes invoking unknown method
User & Date: apnadkarni on 2009-01-06 10:20:06
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Tclsh 8.6b1
    WinXP SP2
    The following sequence causes tclsh to crash. Don't ask as to what the commands are trying to do! It's the shortest sequence I can come up with that generates the crash. The require map.tcl file is attached. I'm still learning TclOO so it's quite possible I'm not doing things right but a crash should not be the outcome.
    
    % source map.tcl
    ::Map
    % Map create m {a 1 b 2}
    ::m
    % info object methods m -all
    -clear -exists -get -set -unset destroy
    % oo::objdefine m {unexport [info object methods m -all]}
    % info object methods m -all
    -clear -exists -get -set -unset destroy
    % oo::objdefine m {unexport {*}[info object methods m -all]}
    % info object methods m -all
    % m a   --> CAUSES CRASH
    
    /Ashok
    
  4. foundin changed to: "obsolete: 8.6b1"
  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: "apnadkarni"
  10. subsystem changed to: "35. TclOO Package"
  11. title changed to: "CRASH - tclsh crashes invoking unknown method"
  12. type changed to: "Bug"