Ignore:
Timestamp:
Jul 5, 2011, 7:52:42 PM (14 years ago)
Author:
dmik
Message:

kernel32: SEH: Disabled unwinding Win32 exception handlers in response to the OS/2 unwind procedure to prevent endless recursive crashes inside OS2RtlUnwind() happening due to stack corruption under SMP kernel when too many threads are being unwound at once. Closes #37.

Location:
trunk/testapp/exceptions/seh
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/testapp/exceptions/seh/Makefile

    r21660 r21662  
    2020     $(call run-with-args,except.exe,1 2 3 4,all) \
    2121     $(call run-with-args,finally.exe,1 2 3,all) \
    22      $(call run-with-args,longjmp.exe,1 2,all) \
     22     $(call run-with-args,longjmp.exe,1,all) \
    2323     run-crash.exe
    2424
  • trunk/testapp/exceptions/seh/longjmp.c

    r21624 r21662  
    119119            rc = test_1();
    120120            break;
     121           
     122            // Note that since we disabled Win32 exception handler unwinding
     123            // support (see comments in OS2ExceptionHandler3ndLevel()), test_2()
     124            // will always crash now
     125#if 0           
    121126        case 2:
    122127            // note that test_2() will actually only work if the top exception
     
    125130            rc = test_2();
    126131            break;
     132#endif           
    127133        default:
    128134            break;
Note: See TracChangeset for help on using the changeset viewer.