From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7697 invoked by alias); 7 May 2003 22:25:55 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 7688 invoked from network); 7 May 2003 22:25:55 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 7 May 2003 22:25:55 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h47MPtH27804 for ; Wed, 7 May 2003 18:25:55 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h47MPsI12501; Wed, 7 May 2003 18:25:54 -0400 Received: from localhost.localdomain (vpn50-18.rdu.redhat.com [172.16.50.18]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h47MPrj12229; Wed, 7 May 2003 18:25:53 -0400 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h47MPlh32135; Wed, 7 May 2003 15:25:47 -0700 Date: Wed, 07 May 2003 22:25:00 -0000 From: Kevin Buettner Message-Id: <1030507222547.ZM32134@localhost.localdomain> To: Andrew Cagney Subject: frame.c assertion failure Cc: gdb@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-05/txt/msg00099.txt.bz2 Any idea what to do about the following assertion failure? ../../src/gdb/frame.c:2083: internal-error: get_frame_type: Assertion `frame->unwind->type != UNKNOWN_FRAME' failed. Here are the details: (top gdb) bt 7 #0 internal_error (file=0x82acccd "../../src/gdb/frame.c", line=2083, string=0x82accb2 "%s%sAssertion `%s' failed.") at ../../src/gdb/utils.c:800 #1 0x08141d9f in get_frame_type (frame=0x87af19c) at ../../src/gdb/frame.c:2083 #2 0x080f39d6 in mips_init_extra_frame_info (fromleaf=0, fci=0x87af19c) at ../../src/gdb/mips-tdep.c:2504 #3 0x080e39a7 in gdbarch_deprecated_init_extra_frame_info (gdbarch=0x8346560, fromleaf=0, frame=0x87af19c) at ../../src/gdb/gdbarch.c:4577 #4 0x0814129f in legacy_get_prev_frame (this_frame=0x87af138) at ../../src/gdb/frame.c:1602 #5 0x081417d8 in get_prev_frame (this_frame=0x87af138) at ../../src/gdb/frame.c:1846 #6 0x080d5a52 in backtrace_command_1 (count_exp=0x0, show_locals=0, from_tty=1) at ../../src/gdb/stack.c:981 (More stack frames follow...) (top gdb) up #1 0x08141d9f in get_frame_type (frame=0x87af19c) at ../../src/gdb/frame.c:2083 2083 ../../src/gdb/frame.c: No such file or directory. in ../../src/gdb/frame.c (top gdb) p frame->unwind $1 = (struct frame_unwind *) 0x82ad184 (top gdb) p *frame->unwind $2 = {type = UNKNOWN_FRAME, this_id = 0x81406fc , prev_register = 0x8140424 } (top gdb) p legacy_saved_regs_unwind $3 = (struct frame_unwind *) 0x82ad184 AFAICT, we're going to see this problem whenever frame_unwind_find_by_pc() returns legacy_saved_regs_unwind. Kevin