From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4340 invoked by alias); 24 Oct 2011 14:45:31 -0000 Received: (qmail 4314 invoked by uid 22791); 24 Oct 2011 14:45:28 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_BJ,TW_ZJ X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 24 Oct 2011 14:45:13 +0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/28854] unwinder reports sentinel frame. Date: Mon, 24 Oct 2011 14:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-10/txt/msg02472.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28854 --- Comment #5 from Uros Bizjak 2011-10-24 14:44:49 UTC --- Just FYI, this is due to the fact that _start from /usr/crt1.o has a FDE: $ objdump --dwarf /usr/lib/crt1.o /usr/lib/crt1.o: file format elf64-alpha Contents of the .eh_frame section: 00000000 00000010 00000000 CIE Version: 1 Augmentation: "zR" Code alignment factor: 4 Data alignment factor: -8 Return address column: 15 Augmentation data: 1b DW_CFA_def_cfa_register: r30 DW_CFA_nop 00000014 00000010 00000018 FDE cie=00000000 pc=00000000..0000003c DW_CFA_advance_loc: 20 to 00000014 DW_CFA_def_cfa_register: r15 This FDE of _start function is discovered by uw_frame_state_for, and only after this recursion if (context->ra == 0) return _URC_END_OF_STACK; is triggered. So if there is a bug at all, it is in glibc - perhaps_start should not set FDE.