Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 641bfd60d6acbfd5db24b8cff1eaa0f6935d87b3
Ticket: 984191ffffffffffffffffffffffffffffffffff
lassign crashing bug
User & Date: vincentdarley on 2004-07-02 17:01:39
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Running the test suite against CVS head on Windows
    leads to a crash here (tclExecute.c, line 1552):
    
       {
    /*
     * INVOCATION BLOCK
     */
    
    int objc, pcAdjustment;
    
    case INST_INVOKE_EXPANDED:
                {
    Tcl_Obj *objPtr;
    
    objPtr = expandNestList;
    expandNestList = (Tcl_Obj *)
    objPtr->internalRep.twoPtrValue.ptr2;
    
    because objPtr is NULL.
    
    In fact this can be reproduced with just this:
    
        proc testLassign {} {
    set x FAIL
    list [lassign a x] $x
        }
        testLassign
    *crash*
    
    
    
    
  4. foundin changed to: "obsolete: 8.5a2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "vincentdarley"
  9. subsystem changed to: "17. Commands I-L"
  10. title changed to: "lassign crashing bug"
  11. type changed to: "Bug"