Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a4d7ca739646c09e6d5b231b26bdd525e13436b7
Ticket: 9969cf8ca6fa749fa0952186957fd3ac110be5b3
memleak in execute-10.3
User & Date: dgp on 2014-07-17 04:27:42
Changes

  1. icomment:
    Whoa.  This is either a stroke of dumb luck, or a consequence
    of well-crafter Sofer design.
    
    I found where the ->rewind bails out on coroutine deletion
    and saw that teardown of trace data in frames comes right
    after.  The leak appears to be a consequence of just this 
    small misordering of code.  Fix committed.
    
    The interaction of execution traces and [yield]ing commands
    still holds some mysteries I think, but I'll open another ticket
    for that, and keep this one open until I do.
    
    Leak plugged.  And there was much rejoicing...
    
  2. login: "dgp"
  3. mimetype: "text/plain"