X-Spam-Check-By: sourceware.org To: cygwin@cygwin.com From: "Krzysztof Duleba" Subject: unable to debug code with std::string Date: Tue, 10 Jan 2006 17:01:59 +0100 Lines: 36 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=original Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com $ uname -a CYGWIN_NT-5.1 DULI2 1.5.19s(0.150/4/2) 20060110 00:01:37 i686 unknown unknown Cygwin $ cat foo.cpp #include int main(){ std::string str; } $ g++ -g foo.cpp -o foo Krzysiek@DULI2 /cygdrive/d/programowanie/moje/Topcoder/prob $ gdb ./foo GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin"... (gdb) r Starting program: /cygdrive/d/programowanie/moje/Topcoder/prob/foo.exe Program received signal SIGSEGV, Segmentation fault. 0x610aea58 in pthread_key_create () from /usr/bin/cygwin1.dll This is a regression from 1.5.18. Krzysztof Duleba -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/