From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14175 invoked by alias); 2 Dec 2002 15:53:04 -0000 Mailing-List: contact insight-prs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-prs-owner@sources.redhat.com Received: (qmail 14128 invoked by uid 71); 2 Dec 2002 15:53:02 -0000 Resent-Date: 2 Dec 2002 15:53:02 -0000 Resent-Message-ID: <20021202155302.14127.qmail@sources.redhat.com> Resent-From: insight-gnats@sources.redhat.com (GNATS Filer) Resent-Cc: insight-prs@sources.redhat.com Resent-Reply-To: insight-gnats@sources.redhat.com, f.mensik@tiscali.cz Received: (qmail 13096 invoked by uid 61); 2 Dec 2002 15:52:21 -0000 Message-Id: <20021202155221.13095.qmail@sources.redhat.com> Date: Mon, 02 Dec 2002 07:53:00 -0000 From: f.mensik@tiscali.cz Reply-To: f.mensik@tiscali.cz To: insight-gnats@sources.redhat.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: insight/195: Reference to a std::string template X-SW-Source: 2002-q4/txt/msg00030.txt.bz2 List-Id: >Number: 195 >Category: insight >Synopsis: Reference to a std::string template >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon Dec 02 07:53:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: f.mensik@tiscali.cz >Release: 5.2.1 >Organization: >Environment: Pentium 4 RedHat 8.0 - GCC 3.2, GDB 5.2.1 (Insight 5.2.1) >Description: If I use a reference to a str::string templete in a function call and then I open "Local Variable" or "Watch" window in the function body, GDB Insight 5.2.1 freez or crash. I enclose exaple code: 1. #include 2. 3. int func( std::string& str_ref ) 4. { 5. str_ref = std::string( "string" ); 6. return 0; 7. } 8. 9. int main( ) 10. { 11. std::string my_str; 12. func( my_str ); 13. return 0; 14. } Run the program and stop it in the line 5. Then open "Local Variable" window and Insight freez. Kind regards, - F.Mensik, Prague, Czech Republic >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: