From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25372 invoked by alias); 30 Nov 2009 10:09:34 -0000 Received: (qmail 25363 invoked by uid 22791); 30 Nov 2009 10:09:33 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 30 Nov 2009 10:09:29 +0000 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nAUA9ObC024396 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 30 Nov 2009 05:09:25 -0500 Received: from zebedee.pink (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nAUA9IrO006686; Mon, 30 Nov 2009 05:09:23 -0500 Message-ID: <4B1399CD.9070401@redhat.com> Date: Mon, 30 Nov 2009 10:09:00 -0000 From: Andrew Haley User-Agent: Thunderbird 2.0.0.23 (X11/20090825) MIME-Version: 1.0 To: Jack Howarth CC: borlum , java@gcc.gnu.org Subject: Re: [patch] Fix oddity in personality routine References: <4B02B93D.4090309@redhat.com> <20091117170659.GA20342@bromo.med.uc.edu> <4B02D9BB.8020403@redhat.com> <20091117173701.GA20964@bromo.med.uc.edu> <26540588.post@talk.nabble.com> <4B0FAC91.5030401@redhat.com> <20091127215118.GA6568@bromo.med.uc.edu> <4B10FECE.8010600@redhat.com> <20091129174835.GB13043@bromo.med.uc.edu> <4B12B6D9.5050008@redhat.com> <20091129184804.GA13502@bromo.med.uc.edu> In-Reply-To: <20091129184804.GA13502@bromo.med.uc.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2009-11/txt/msg00078.txt.bz2 Jack Howarth wrote: > On Sun, Nov 29, 2009 at 06:00:57PM +0000, Andrew Haley wrote: >> Jack Howarth wrote: >>> On Sat, Nov 28, 2009 at 10:43:26AM +0000, Andrew Haley wrote: >>>> Jack Howarth wrote: >>>>> On Fri, Nov 27, 2009 at 10:40:17AM +0000, Andrew Haley wrote: >>>> >>> I managed to get a build of libgcc at -O0 under darwin9 that I used to walk through >>> the FSF gcc unwinder. The walk is at... >>> >>> http://gcc.gnu.org/bugzilla/attachment.cgi?id=19174 >>> >>> and the list of the frames is at... >>> >>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41991#c26 >>> >>> Does this clarify the problem at all on intel darwin? Let me know if there >>> is any other particular debug information I can provide. >> It stops when unwinding java.lang.ClassLoader.loadClass(java.lang.String, boolean), >> either because the unwinder data is buggy (probably) or because the unwinder >> itself is buggy. > > Would it help if I just used a breakpoint on uw_frame_state_for() and provided all > of the unwinding info that is being processed? Might that clarify if the unwinder > data is buggy? Not really, no. The only thing now is to debug the unwinder at the point where the exception should be caught. You're seeing a bus error in the unwinder itself, which points to a failure to follow the chain of stack frames. Andrew.