Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 44744a7b8f4b9f59181190ef053bbf4084e605c2
Ticket: 1446864fffffffffffffffffffffffffffffffff
segfaults if Tcl_Panic() returns
User & Date: mistachkin on 2006-03-10 08:02:05
Changes

  1. icomment:
    Logged In: YES 
    user_id=113501
    
    Separate policy from mechanism...
    
    1. The policy is that Tcl_Panic "must not return".
    2. The mechanism is either to call the panicProc or the
    built-in panic proc.
    
    When the hook was put in for Tcl_SetPanicProc, you deferred
    that policy to the application programmer, not the core itself.
    
    You can't just un-defer it now.  Changing Tcl_Panic to call
    abort() after the panicProc is a breaking change.
    
    
    
  2. login: "mistachkin"
  3. mimetype: "text/plain"
  4. username: "mistachkin"