This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/9907] gdb 6.8.50.20090225-cvs segfault in g++ demangler
- From: "francois dot rigault at amadeus dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 11 Mar 2009 16:34:12 -0000
- Subject: [Bug gdb/9907] gdb 6.8.50.20090225-cvs segfault in g++ demangler
- References: <20090226052619.9907.ich@az2000.de>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From francois dot rigault at amadeus dot com 2009-03-11 16:34 -------
I have the same bug here
GDB 6.8.50.20090311 tarball
GCC 3.4.2
I'm reproducing it with the cpp file below.
--------
class MyClass
{
public:
bool
operator()() const
{
return true; // put a breakpoint here and run
}
};
int
main()
{
MyClass a;
a();
return 10;
}
--------
The core shows :
#0 0x00000000006e6929 in d_append_buffer ()
#1 0x00000000006e5463 in d_print_comp ()
#2 0x00000000006e54d8 in d_print_comp ()
#3 0x00000000006e4f81 in cplus_demangle_print_callback ()
#4 0x00000000006e506b in cplus_demangle_print ()
#5 0x00000000005e8f1b in cp_comp_to_string ()
#6 0x00000000005cfbe4 in cp_remove_params ()
#7 0x000000000051eab6 in print_frame ()
#8 0x000000000051e81b in print_frame_info ()
#9 0x000000000051de3f in print_stack_frame_stub ()
#10 0x000000000052454d in catch_errors ()
#11 0x000000000051debf in print_stack_frame ()
#12 0x000000000051b82d in normal_stop ()
#13 0x000000000051695d in proceed ()
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Component|corefiles |gdb
Summary|gdb 6.8.50.20090225-cvs |gdb 6.8.50.20090225-cvs
|crashed while reading |segfault in g++ demangler
|coredump |
http://sourceware.org/bugzilla/show_bug.cgi?id=9907
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.