Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 71d12057ec81fe0be4a546f814511dbe65e53c44bb8c7e16581287a60ebcf7ed
Ticket: 422b0414a390567aa0f5070bced52d75aaa4fc02
Tclsh91.exe from release 9.1.a1 crashes upon launch on older MS Windows release.
User & Date: apnadkarni on 2026-03-17 02:44:50
Changes

  1. closedate changed to: "2461116.6144696991"
  2. closer changed to: "apnadkarni"
  3. icomment:
    Jan,
    
    > So the comment "Do not use Tcl_PanicProc" doesn't make much sense here.
    
    The comment refers to `Tcl_Panic` not `Tcl_PanicProc`. The reason I do not want to call `Tcl_Panic` is that it exits with an `int 3` which puts up another nasty dialog. Since we have already displayed a message to the user with cause for exit, I prefer a clean exit() as opposed to an `int 3` exception.
    
    
    > You could also use the function tclWinDebugPanic(). 
    
    TBH I thought, based on the name, that `tclWinDebugPanic` would panic (i.e. exit), not realizing it only displays a message. Still, during initialization time when all Tcl subsystems may or may not have been fully initialized, my preference would be to use direct Win32 calls and not Tcl facilities to exit. However, I'm ok with your changing it to `tclWinDebugPanic` if you prefer that.
    
  4. login: "apnadkarni"
  5. mimetype: "text/x-markdown"
  6. resolution changed to: "Fixed"
  7. status changed to: "Closed"