From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1959 invoked by alias); 11 Mar 2009 16:34:14 -0000 Received: (qmail 1628 invoked by uid 48); 11 Mar 2009 16:34:12 -0000 Date: Wed, 11 Mar 2009 16:34:00 -0000 Message-ID: <20090311163412.1627.qmail@sourceware.org> From: "francois dot rigault at amadeus dot com" To: gdb-prs@sourceware.org In-Reply-To: <20090226052619.9907.ich@az2000.de> References: <20090226052619.9907.ich@az2000.de> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug gdb/9907] gdb 6.8.50.20090225-cvs segfault in g++ demangler X-Bugzilla-Reason: CC Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2009-q1/txt/msg00338.txt.bz2 ------- 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.