From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6144 invoked by alias); 9 Jun 2011 14:33:08 -0000 Received: (qmail 6114 invoked by uid 22791); 9 Jun 2011 14:33:07 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_GM X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Jun 2011 14:32:55 +0000 From: "fawzi at gmx dot ch" To: gdb-prs@sourceware.org Subject: [Bug shlibs/11488] fsf gdb x86_64-apple-darwin crashes when loading libraries due to an endless loop X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: shlibs X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fawzi at gmx dot ch X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 09 Jun 2011 14:33:00 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2011-q2/txt/msg00402.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=11488 Fawzi Mohamed changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fawzi at gmx dot ch --- Comment #5 from Fawzi Mohamed 2011-06-09 14:32:34 UTC --- I traced this problem to libobjc.A.dylib (i.e. the objective-c runtime). It seems that there is something into it that cannot be parsed correctly by decode_frame_entry. apple-gdb simply doesn't try to run it on it (in fact on any mach-o lib without info). A simple hack would be to also not look into it, and indeed it works, but I suppose that the decision to run it on all objects by default (unlike apple that resorts to the minima info and exported symbols) was done on purpose by fsf, so one should fix the parsing. I will try to look a bit more in detail into it. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.