Created attachment 339549 [details] Bash script that runs a testcase to show failure. Description of problem: gdb core dumps when examining std::string variable. Version-Release number of selected component (if applicable): gdb-6.8.50.20090302-18.fc11.i586 How reproducible: Every time. Steps to Reproduce: 1. Run attached script. Actual results: *** glibc detected *** gdb: free(): invalid pointer: 0xbfe7f188 *** core dump Additional info: I will attach a script which shows this behaviour and the gdb error info.
Created attachment 339550 [details] Failing output
Thanks, fixed. * Wed Apr 15 2009 Jan Kratochvil <jan.kratochvil> - 6.8.50.20090302-19 - Fix crash on pretty-printer reading uninitialized std::string (BZ 495781). FSF GDB post: http://sourceware.org/ml/gdb-patches/2009-04/msg00284.html