Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4e95602ae07416c62a0445eac5fc89512cd482dd
Ticket: 525746ffffffffffffffffffffffffffffffffff
SEH support under mingw
User & Date: mdejong on 2002-03-10 10:14:03
Changes

  1. icomment:
    Logged In: YES 
    user_id=90858
    
    I did some testing of the asm SEH impl and found that
    it was going into an infinate loop when running test
    winFCmd-1.7.
    
    At first, I thought I coded something up wrong, but
    then I found that the VC++ compiled executable is
    also going into an infinate loop in this same
    place. I am seeing these results on a Win98 box.
    
    Here is a small example:
    
    #define WIN32_LEAN_AND_MEAN
    #include <windows.h>
    
    int main() {
        __try {
          MoveFileA(NULL, "C:\\A.TXT");
        __except (EXCEPTION_CONTINUE_EXECUTION) {}
    }
    
    This loops forever because MoveFileA is generating
    a SIGSEGV over and over again. I just don't understand
    why these two calls in tclWinFCmd.c are coded to
    restart the faulting instruction and why others
    don't seem to be running into this infinate loop
    problem in winFCmd.test.
    
    
    
  2. login: "mdejong"
  3. mimetype: "text/plain"
  4. username: "mdejong"