Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8680487ec404a21a0323e5d9b49e5e6560f8bb91f36029ca49e5b1a8b3a0ae08
Ticket: 422b0414a390567aa0f5070bced52d75aaa4fc02
Tclsh91.exe from release 9.1.a1 crashes upon launch on older MS Windows release.
User & Date: erikleunissen on 2026-03-14 11:39:48
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    I know, Windows 7 isn't supported anymore.
    
    However, shouldn't Tclsh (and Wish), bail out more gracefully than just
    segfaulting upon launch under older OS's?
    
    Here is my observation:
    * As the very first thing after launch in Windows 7, a window pops up with title
      "Fatal Error", displaying the error message: "PGV Initializer did not initialize".
      See also the attached screenshot.
    * When clicking the popup window away, the appended stack trace appears.
    
    Notes:
    * Tclsh was cross-built from linux using: x86_64-w64-mingw32-gcc (SUSE Linux) 9.2.0
    * The segfault has not been observed with tclsh91 from release 9.1a0
      (using the same cross toolchain).
    
    -- stack trace (Dr. Mingw) --
    tclsh91.exe caused an Illegal Instruction at location 000000006E8CA302 in module tcl91.dll.
    
    AddrPC           Params
    000000006E8CA302 004C004400540000 0000000000000000 000000000022EF50  tcl91.dll!Tcl_Panic+0x82
    000000006E8FB4E6 000000000048FF30 0000000000000030 0000000000000000  tcl91.dll!TclGetProcessGlobalValue+0x266
    000000006E922148 0044004300420041 0048004700460045 004C004B004A0049  tcl91.dll!TclpInitLibraryPath+0x78
    000000006E8FB4BB 00000000003426A0 000000006E92F128 00000000003445D0  tcl91.dll!TclGetProcessGlobalValue+0x23b
    000000006E84C2EF 000000006E92F110 000000006E92F108 0000000000345580  tcl91.dll!InitializeEncodingSearchPath+0xbf
    000000006E8FB4BB 000000000022FCD8 000000000022FCD8 0000000000650735  tcl91.dll!TclGetProcessGlobalValue+0x23b
    000000006E84F52C 0000000000000000 000000006E7C0000 0000000000000000  tcl91.dll!Tcl_GetEncoding+0xac
    000000006E850CE5 0000000000000000 0000000000000000 0000000000646470  tcl91.dll!Tcl_SetSystemEncoding+0x85
    000000006E921700 0000000000401580 000007FE83858806 0000000000000000  tcl91.dll!TclpSetInitialEncodings+0x20
    000000006E852878 00000000004018D0 0000000083858806 0000000000646470  tcl91.dll!Tcl_FindExecutable+0x18
    000000006E90EC90 000000000000003E 0000000000000000 0000000000646470  tcl91.dll!TclZipfs_AppHook+0x10
    000000000040165B 0000000000000001 000000000048FF30 0000000000409978  tclsh91.exe!wmain+0x4b
    00000000004013EE 0000000000000000 0000000000000000 0000000000000000  tclsh91.exe!__tmainCRTStartup+0x26e  [/home/abuild/rpmbuild/BUILD/mingw-w64-v7.0.0/mingw-w64-crt/crt/crtexe.c @ 334]
    000000000040153B 0000000000000000 0000000000000000 0000000000000000  tclsh91.exe!mainCRTStartup+0x1b  [/home/abuild/rpmbuild/BUILD/mingw-w64-v7.0.0/mingw-w64-crt/crt/crtexe.c @ 223]
    --
    
  5. foundin changed to: "9.1a1"
  6. is_private changed to: "0"
  7. login: "erikleunissen"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "609f4c7ecf7dbb7a46acdc7eb164753d196088a6"
  10. resolution changed to: "None"
  11. severity changed to: "Severe"
  12. status changed to: "Open"
  13. submitter changed to: "erikleunissen"
  14. subsystem changed to: "69. Other"
  15. title changed to:
    Tclsh91.exe from release 9.1.a1 segfaults upon launch on older MS Windows release.
    
  16. type changed to: "Bug"