Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f78e189b26bc9a8ed16f83fc2643fa9d524c327b
Ticket: 2835313fffffffffffffffffffffffffffffffff
crash in exception handling
User & Date: dkf on 2013-10-22 18:28:45
Changes

  1. assignee changed to: "kbk"
  2. icomment:
    Only simple fix for <tt>assemble.test</tt> problems is to roll back the changes in <tt>tclAssemble.c</tt>.
    <blockquote>
    <hr>
    The deep problem is that <i>invokeStk</i> is issued within a basic block, yet can throw exceptions. In particular, it can throw <i>TCL_BREAK</i> and <i>TCL_CONTINUE</i> with a trapping loop context outside the assembled code. Attempting to do the stack rebalance with the same machinery as used in the rest of the compiler won't work, as the information required to do so (the current and target stack- and expansion-depths, and so the size of correction to apply) is not present in the same format due to the basic block management mechanism. I don't know how to do that. (It all becomes much more pressing/complex once/if loop exception ranges become issuable in the assembler.)
    <p>
    Because of these deeper problems, I'm now assigning this to the assembler maintainer for consideration and fix/reject-fixing. (Right now, the assembler is the only way to generate the sort of trouble described in this bug report.)
    </blockquote>
    
  3. login: "dkf"
  4. mimetype: "text/html"
  5. priority changed to: "7 High"
  6. severity changed to: "Severe"
  7. username: "dkf"