From f9c38077a7c8523bb85b25731c98503acc4c04e1 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 31 Aug 2004 02:47:20 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=4126 --- checkin_notes | 9 +++++++++ lib/diagnostics.C | 5 ++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 451efd8a82..d1baa9dca3 100755 --- a/checkin_notes +++ b/checkin_notes @@ -16760,3 +16760,12 @@ Rom 29 Aug 2004 sched/ feeder.C sched_shmem.h + +Rom 30 Aug 2004 + - Win98 machines seem to be throwing a SEH stack overflow exception. + Our unhandled exception filter in this case allocated a 1MB memory buffer + and pointed the ESP register at it. Well this chunk of code seems to + be broken, it is probably the first time it has ever been used. + + lib/ + diagnostics.C diff --git a/lib/diagnostics.C b/lib/diagnostics.C index 43b4f18626..10d9d71107 100644 --- a/lib/diagnostics.C +++ b/lib/diagnostics.C @@ -169,6 +169,9 @@ int boinc_install_signal_handlers() { // LONG CALLBACK boinc_catch_signal(EXCEPTION_POINTERS *pExPtrs) { +// Removed due to a nested exception problem +// RTW: 09/30/2004 +/* // Snagged from the latest stackwalker code base. This allows us to grab // callstacks even in a stack overflow scenario if ( pExPtrs->ExceptionRecord->ExceptionCode == EXCEPTION_STACK_OVERFLOW ) @@ -181,7 +184,7 @@ LONG CALLBACK boinc_catch_signal(EXCEPTION_POINTERS *pExPtrs) { __asm mov eax,offset MyStack[1024*128]; __asm mov esp,eax; } - +*/ #ifdef _DEBUG