From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21624 invoked by alias); 9 Jul 2007 23:08:53 -0000 Received: (qmail 21615 invoked by uid 22791); 9 Jul 2007 23:08:53 -0000 X-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNSOME,FORGED_RCVD_HELO,SPF_FAIL X-Spam-Check-By: sourceware.org Received: from sccrmhc12.comcast.net (HELO sccrmhc12.comcast.net) (63.240.77.82) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 09 Jul 2007 23:08:50 +0000 Received: from gateway.sf.frob.com (c-69-181-208-57.hsd1.ca.comcast.net[69.181.208.57]) by comcast.net (sccrmhc12) with ESMTP id <20070709230843012003m3cse>; Mon, 9 Jul 2007 23:08:49 +0000 Received: from magilla.localdomain (magilla.sf.frob.com [198.49.250.228]) by gateway.sf.frob.com (Postfix) with ESMTP id 1E35E357B; Mon, 9 Jul 2007 16:08:42 -0700 (PDT) Received: by magilla.localdomain (Postfix, from userid 5281) id DCB0C4D0585; Mon, 9 Jul 2007 16:08:11 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: Andrew Cagney Cc: frysk@sourceware.org Subject: Re: elfutls using assert In-Reply-To: Andrew Cagney's message of Monday, 9 July 2007 08:38:22 -0400 <46922C3E.9040301@redhat.com> X-Shopping-List: (1) Prehistoric annoyers (2) Sympathetic expectations (3) Important friction (4) Savage whip picnics Message-Id: <20070709230811.DCB0C4D0585@magilla.localdomain> Date: Mon, 09 Jul 2007 23:08:00 -0000 X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2007-q3/txt/msg00056.txt.bz2 No, there is no way not to call abort. It is used for situations that are pathological in the same way as a clobbered pointer that might lead to a crash. If you want to improve recovery from such bugs, you might as well catch all unexpected fatal signals and diagnose gracefully there (maybe if things aren't too bad you can throw an exception from the signal handler and never consult the clobbered data structures while reporting and exiting).