From: "Srinath Avadhanula" <srinathava@gmail.com>
To: gdb@sourceware.org
Subject: Crash using '-stack-list-frames'
Date: Wed, 03 Dec 2008 20:57:00 -0000 [thread overview]
Message-ID: <ed97310c0812031256y10da939euece5f7fe4d957369@mail.gmail.com> (raw)
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 <http://gnu.org/licenses/gpl.html>
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:
<http://www.gnu.org/software/gdb/bugs/>.
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
next reply other threads:[~2008-12-03 20:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-03 20:57 Srinath Avadhanula [this message]
2008-12-04 20:43 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ed97310c0812031256y10da939euece5f7fe4d957369@mail.gmail.com \
--to=srinathava@gmail.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox