Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Crash using '-stack-list-frames'
@ 2008-12-03 20:57 Srinath Avadhanula
  2008-12-04 20:43 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Srinath Avadhanula @ 2008-12-03 20:57 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-04 20:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-03 20:57 Crash using '-stack-list-frames' Srinath Avadhanula
2008-12-04 20:43 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox