Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6b9ec54841a52533e4533ce8136fd74612f080a0
Ticket: 3554250fffffffffffffffffffffffffffffffff
[exit]->close2proc->Tcl_FSDeleteFile == segfault
User & Date: ferrieux on 2012-08-05 21:42:58
Changes

  1. icomment:
    Okay, this (in current 8.6 at least) is the result of the finalization sequence nuking the FS part before the IO part:
    FsThrExitProc called before FinalizeIOSubsystem, which calls the tested close2proc.
    
    One has to choose an order, this one is not worse than another (or is it ?). I guess we could make better use of finalization flags to detect this kind of after-death use of an API though.
    
    More diggin needed to figure out why it worked in 8.5.11.
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"