public inbox for insight-prs@sourceware.org
help / color / mirror / Atom feed
From: f.mensik@tiscali.cz
To: insight-gnats@sources.redhat.com
Subject: insight/195: Reference to a std::string template
Date: Mon, 02 Dec 2002 07:53:00 -0000	[thread overview]
Message-ID: <20021202155221.13095.qmail@sources.redhat.com> (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
>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:


                 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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20021202155221.13095.qmail@sources.redhat.com \
    --to=f.mensik@tiscali.cz \
    --cc=insight-gnats@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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).