Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5214f370e3c3f2c6d6b10b6c991cd7df9896d482
Ticket: 1910041fffffffffffffffffffffffffffffffff
Support of gnu x86_64-pc-mingw SEH
User & Date: nijtmans on 2010-12-13 16:29:40
Changes

  1. icomment:
    Just found out that TkFinalize sometimes crashes on Win64 (compiled with mingw-w64). The cause is that here still SEH emulation was active, but it only saves and restores 32-bit pointers in stead of 64-bit. So I modified Kai's patch (Thanks!!!!) to protect the TkFinalize call in stead of the Win32-specific code.
    
    This is an example (IMHO) where the assembler code is not meant o protect
    from an OS bug, but to protect finalizing Tk when the application went in an invalid state. That's unfortunate, but a good excuse to keep it in.
    
    Thanks, Kai. Your patch was a great help in understanding what was going on here.
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"