From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15230 invoked by alias); 28 Mar 2007 09:24:09 -0000 Received: (qmail 15222 invoked by uid 22791); 28 Mar 2007 09:24:08 -0000 X-Spam-Check-By: sourceware.org Received: from bay0-omc1-s10.bay0.hotmail.com (HELO bay0-omc1-s10.bay0.hotmail.com) (65.54.246.82) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 28 Mar 2007 10:24:02 +0100 Received: from hotmail.com ([65.55.155.97]) by bay0-omc1-s10.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Wed, 28 Mar 2007 02:24:00 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 28 Mar 2007 02:24:00 -0700 Message-ID: Received: from 65.55.155.123 by by144fd.bay144.hotmail.msn.com with HTTP; Wed, 28 Mar 2007 09:23:53 GMT X-Sender: kal_pana@hotmail.com From: "Kalpana Ramamurthy" To: gdb@sourceware.org Cc: kal_pana@hotmail.com Bcc: Subject: gdb 6.4 does not stop unwinding even after reaching the last frame. Date: Wed, 28 Mar 2007 09:24:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00328.txt.bz2 Hello, I am using gdb 6.4 for debugging the product that I work on. When I try to print a bactrace, I get an extra frame at the end which looks like this : #6 0x00000000 in ?? () The newer frame (which is frame 5) is supposed to be the last frame. But for some reason gdb does not stop unwinding even after it reaches the last frame and tries to unwind further hence hitting a null backpointer where it cannot unwind any further. The instruction pointer is null too. When I tried using gdb 5.3 to debug the same binary and analyse the same set of cores which I had analysed using gdb 6.4, I do not get this extra frame problem. The frame unwinding stops at frame 5. Ther is no null 6th frame. What is wrong here ? Why the difference in behaviour between gdb 6.4 and gdb 5.3. I know that gdb 5.3 uses stabs debugging format and gdb 6.4 uses dwarf. Could this be a reason for the problem ? _________________________________________________________________ Palate teasers: Straight from Master Chef Sanjeev Kapoor http://content.msn.co.in/Lifestyle/Moreonlifestyle/LifestylePT_101106_1530.htm