From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11350 invoked by alias); 3 Dec 2008 20:57:08 -0000 Received: (qmail 11342 invoked by uid 22791); 3 Dec 2008 20:57:07 -0000 X-Spam-Check-By: sourceware.org Received: from wf-out-1314.google.com (HELO wf-out-1314.google.com) (209.85.200.173) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 03 Dec 2008 20:56:13 +0000 Received: by wf-out-1314.google.com with SMTP id 28so3783123wfc.24 for ; Wed, 03 Dec 2008 12:56:11 -0800 (PST) Received: by 10.141.53.4 with SMTP id f4mr6519917rvk.35.1228337771208; Wed, 03 Dec 2008 12:56:11 -0800 (PST) Received: by 10.141.198.17 with HTTP; Wed, 3 Dec 2008 12:56:11 -0800 (PST) Message-ID: Date: Wed, 03 Dec 2008 20:57:00 -0000 From: "Srinath Avadhanula" To: gdb@sourceware.org Subject: Crash using '-stack-list-frames' MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes 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: 2008-12/txt/msg00006.txt.bz2 Hi, Gdb is crashing on me when I try to use the command 'interpreter mi "-stack-list-frames 0 182"'. I debugged gdb using gdb and found that it gets into an infinite recursion with the first few frames being as below. Unfortunately, I am unable to come up with a simple test program which reproduces the problem. I would be glad to help further if given any pointers. The version of gdb I am using is: GNU gdb (GDB) 6.8.50.20081117-cvs Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: . Regards, Srinath PS: The stack frame where it crashes: #0 0x000000000063d744 in d_print_comp (dpi=0x7fffffffd430, dc=0x78488a0) at .././libiberty/cp-demangle.c:3402 #1 0x000000000063d4c1 in d_print_comp (dpi=0x7fffffffd430, dc=0x78488b8) at .././libiberty/cp-demangle.c:3261 #2 0x000000000063dce1 in d_print_comp (dpi=0x7fffffffd430, dc=0x78488d0) at .././libiberty/cp-demangle.c:3574 #3 0x000000000063c79a in d_print_comp (dpi=0x7fffffffd430, dc=0x78488b8) at .././libiberty/cp-demangle.c:3909 #4 0x000000000063dce1 in d_print_comp (dpi=0x7fffffffd430, dc=0x78488d0) at .././libiberty/cp-demangle.c:3574 #5 0x000000000063c79a in d_print_comp (dpi=0x7fffffffd430, dc=0x78488b8) at .././libiberty/cp-demangle.c:3909 #6 0x000000000063dce1 in d_print_comp (dpi=0x7fffffffd430, dc=0x78488d0) at .././libiberty/cp-demangle.c:3574 #7 0x000000000063c79a in d_print_comp (dpi=0x7fffffffd430, dc=0x78488b8) at .././libiberty/cp-demangle.c:3909 #8 0x000000000063dce1 in d_print_comp (dpi=0x7fffffffd430, dc=0x78488d0) at .././libiberty/cp-demangle.c:3574 #9 0x000000000063c79a in d_print_comp (dpi=0x7fffffffd430, dc=0x78488b8) at .././libiberty/cp-demangle.c:3909 #10 0x000000000063dce1 in d_print_comp (dpi=0x7fffffffd430, dc=0x78488d0) at .././libiberty/cp-demangle.c:3574 #11 0x000000000063c79a in d_print_comp (dpi=0x7fffffffd430, dc=0x78488b8) at .././libiberty/cp-demangle.c:3909 #12 0x000000000063dce1 in d_print_comp (dpi=0x7fffffffd430, dc=0x78488d0) at .././libiberty/cp-demangle.c:3574 #13 0x000000000063c79a in d_print_comp (dpi=0x7fffffffd430, dc=0x78488b8) at .././libiberty/cp-demangle.c:3909 #14 0x000000000063dce1 in d_print_comp (dpi=0x7fffffffd430, dc=0x78488d0) at .././libiberty/cp-demangle.c:3574 #15 0x000000000063c79a in d_print_comp (dpi=0x7fffffffd430, dc=0x78488b8) at .././libiberty/cp-demangle.c:3909 #16 0x000000000063dce1 in d_print_comp (dpi=0x7fffffffd430, dc=0x78488d0) at .././libiberty/cp-demangle.c:3574 #17 0x000000000063c79a in d_print_comp (dpi=0x7fffffffd430, dc=0x78488b8) at .././libiberty/cp-demangle.c:3909 #18 0x000000000063dce1 in d_print_comp (dpi=0x7fffffffd430, dc=0x78488d0) at .././libiberty/cp-demangle.c:3574 #19 0x000000000063c79a in d_print_comp (dpi=0x7fffffffd430, dc=0x78488b8) at .././libiberty/cp-demangle.c:3909 #20 0x000000000063dce1 in d_print_comp (dpi=0x7fffffffd430, dc=0x78488d0) at .././libiberty/cp-demangle.c:3574 #21 0x000000000063c79a in d_print_comp (dpi=0x7fffffffd430, dc=0x78488b8) at .././libiberty/cp-demangle.c:3909 #22 0x000000000063dce1 in d_print_comp (dpi=0x7fffffffd430, dc=0x78488d0) at .././libiberty/cp-demangle.c:3574 #23 0x000000000063c79a in d_print_comp (dpi=0x7fffffffd430, dc=0x78488b8) at .././libiberty/cp-demangle.c:3909 #24 0x000000000063dce1 in d_print_comp (dpi=0x7fffffffd430, dc=0x78488d0) at .././libiberty/cp-demangle.c:3574 #25 0x000000000063c79a in d_print_comp (dpi=0x7fffffffd430, dc=0x78488b8) at .././libiberty/cp-demangle.c:3909 #26 0x000000000063dce1 in d_print_comp (dpi=0x7fffffffd430, dc=0x78488d0) at .././libiberty/cp-demangle.c:3574 #27 0x000000000063c79a in d_print_comp (dpi=0x7fffffffd430, dc=0x78488b8) at .././libiberty/cp-demangle.c:3909 #28 0x000000000063dce1 in d_print_comp (dpi=0x7fffffffd430, dc=0x78488d0) at .././libiberty/cp-demangle.c:3574 #29 0x000000000063c79a in d_print_comp (dpi=0x7fffffffd430, dc=0x78488b8) at .././libiberty/cp-demangle.c:3909