From df37bdc5b7df09ca4d26f8dbf93f07676f097321 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 23 Jan 2013 05:27:36 +0000 Subject: [PATCH] * exceptions.cc (exception::handle): Make attempt to recursively dump stack fatal. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/exceptions.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 48870ae1c..c7bd6575b 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2013-01-23 Christopher Faylor + + * exceptions.cc (exception::handle): Make attempt to recursively dump + stack fatal. + 2013-01-22 Christopher Faylor * miscfuncs.cc (__import_address): Avoid NULL explicitly. diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 5a8474b6b..56e9bc106 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -617,7 +617,7 @@ exception::handle (EXCEPTION_RECORD *e, exception_list *frame, CONTEXT *in, void /* Another exception could happen while tracing or while exiting. Only do this once. */ if (recursed++) - system_printf ("Error while dumping state (probably corrupted stack)"); + api_fatal ("Error while dumping state (probably corrupted stack)"); else if (!try_to_debug (0)) rtl_unwind (frame, e); else -- 2.43.5