From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9833 invoked by alias); 2 May 2012 13:22:14 -0000 Received: (qmail 9825 invoked by uid 22791); 2 May 2012 13:22:13 -0000 X-SWARE-Spam-Status: No, hits=-3.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 02 May 2012 13:22:00 +0000 From: "adrian.m.negreanu at intel dot com" To: systemtap@sourceware.org Subject: [Bug runtime/14026] print_ubacktrace doesn't resolve the symbol name Date: Wed, 02 May 2012 13:22:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adrian.m.negreanu at intel dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: 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 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2012-q2/txt/msg00094.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14026 --- Comment #6 from Negreanu Adrian 2012-05-02 13:21:55 UTC --- The patch below made it work for me: diff --git a/runtime/unwind.c b/runtime/unwind.c index e440177..3ac7f8d 100644 --- a/runtime/unwind.c +++ b/runtime/unwind.c @@ -610,7 +610,7 @@ static int processCFI(const u8 *start, const u8 *end, unsigned long targetLoc, break; } dbug_unwind(1, "targetLoc=%lx state->loc=%lx\n", targetLoc, state->loc); - if (ptr.p8 > end) + if (ptr.p8 >= end) result = 0; if (result && targetLoc != 0 && targetLoc < state->loc) return 1; -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.