public inbox for insight-prs@sourceware.org
help / color / mirror / Atom feed
* insight/195: Reference to a std::string template
@ 2002-12-02  7:53 f.mensik
  0 siblings, 0 replies; only message in thread
From: f.mensik @ 2002-12-02  7:53 UTC (permalink / raw)
  To: insight-gnats


>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 <string>
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:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-02 15:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-02  7:53 insight/195: Reference to a std::string template f.mensik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).