Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fe43b399256b055f558b6e3843f5661243c99dbf
Ticket: 1522803fffffffffffffffffffffffffffffffff
wrong backtrace on arithmetic error
User & Date: dgp on 2006-07-18 10:08:57
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    
    Between revisions 1.153 and
    1.154 of tclExecute.c, there
    were several conversions like:
    
    -    Tcl_ResetResult(interp);
    -    Tcl_AppendToObj(Tcl_GetObjResult(interp), "divide by
    zero", -1);
    +    Tcl_SetObjResult(interp, Tcl_NewStringObj("divide by
    zero", -1));
    
    The loss of the Tcl_ResetResult()
    call means the loss of a clearing
    of the ERR_ALREADY_LOGGED flag,
    leading to the observed bug.
    
    This may just be the exposing trigger
    with the real cause the E_A_L reform
    that happened earlier.  still examining...
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"