This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Crash using '-stack-list-frames'


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]