public inbox for
help / color / mirror / Atom feed
Subject: insight/195: Reference to a std::string template
Date: Mon, 02 Dec 2002 07:53:00 -0000	[thread overview]
Message-ID: <> (raw)

>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
>Release:        5.2.1
Pentium 4
RedHat 8.0 - GCC 3.2, GDB 5.2.1 (Insight 5.2.1)
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>
3. int func( std::string& str_ref )
4. {
5. 	str_ref = std::string( "string" );
6. 	return 0;
7. }
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



                 reply	other threads:[~2002-12-02 15:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).