From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16964 invoked by alias); 29 Nov 2009 07:48:43 -0000 Received: (qmail 16942 invoked by uid 48); 29 Nov 2009 07:48:43 -0000 Date: Sun, 29 Nov 2009 07:48:00 -0000 Message-ID: <20091129074843.16941.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "howarth at nitro dot med dot uc dot edu" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2009-q4/txt/msg00066.txt.bz2 ------- Comment #26 from howarth at nitro dot med dot uc dot edu 2009-11-29 07:48 ------- I finally managed to sort out the darwin build to get access to the unwinder debug symbols. Walking through the testme.java test case using the _Unwind_RaiseException 39 times, I then used a uw_frame_state_for to be able to sample the frames with 'x context.ra'. A full log of this is attached as walk_thru_breakpts.txt. The output for each instance of 'x context.ra' is listed below... 0x100013576 <_Jv_Throw+70>: 0x9816e9e8 0x1004357c5 <_ZN4java3net14URLClassLoader9findClassEJPNS_4lang5ClassEPNS2_6StringE+1253>: 0x00458b49 0x10040c8aa <_ZN4java4lang11ClassLoader9loadClassEJPNS0_5ClassEPNS0_6StringEb+314>: 0xffff75e9 0x10040c888 <_ZN4java4lang11ClassLoader9loadClassEJPNS0_5ClassEPNS0_6StringEb+280>: 0x89449feb 0x100013576 <_Jv_Throw+70>: 0x9816e9e8 0x1004357c5 <_ZN4java3net14URLClassLoader9findClassEJPNS_4lang5ClassEPNS2_6StringE+1253>: 0x00458b49 0x10040c8aa <_ZN4java4lang11ClassLoader9loadClassEJPNS0_5ClassEPNS0_6StringEb+314>: 0xffff75e9 0x103daa6fe <_Unwind_Resume+61>: 0xc0958d48 0x10040c8c7 <_ZN4java4lang11ClassLoader9loadClassEJPNS0_5ClassEPNS0_6StringEb+343>: 0x01ea8348 0x10040c888 <_ZN4java4lang11ClassLoader9loadClassEJPNS0_5ClassEPNS0_6StringEb+280>: 0x89449feb (gdb) c Continuing. Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x0000000103f05db0 0x0000000103f05db0 in ?? () at .././libjava/../gcc/unwind-pe.h:104 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41991