public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/31826]  New: Invalid read of size 1
@ 2007-05-04 22:18 shw_mail at wp dot pl
  2007-05-04 23:12 ` [Bug libstdc++/31826] " pcarlini at suse dot de
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: shw_mail at wp dot pl @ 2007-05-04 22:18 UTC (permalink / raw)
  To: gcc-bugs

Dears

Valgrind reports me something shown below.

==1193== Invalid read of size 1
==1193==    at 0x4023694: strcpy (in
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==1193==    by 0x41D8837: (below main) (in /lib/libc-2.5.so)
==1193==  Address 0x42F1455 is 13 bytes inside a block of size 15 free'd
==1193==    at 0x4020FEC: operator delete(void*) (in
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==1193==    by 0x413EDDC: std::string::_Rep::_M_destroy(std::allocator<char>
const&) (in /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6.0.8)

Regards.


-- 
           Summary: Invalid read of size 1
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: shw_mail at wp dot pl


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31826


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/31826] Invalid read of size 1
  2007-05-04 22:18 [Bug libstdc++/31826] New: Invalid read of size 1 shw_mail at wp dot pl
@ 2007-05-04 23:12 ` pcarlini at suse dot de
  2007-05-04 23:53 ` pcarlini at suse dot de
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pcarlini at suse dot de @ 2007-05-04 23:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pcarlini at suse dot de  2007-05-05 00:12 -------
We need self-contained, minimal code, before taking any further action. Thanks.


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31826


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/31826] Invalid read of size 1
  2007-05-04 22:18 [Bug libstdc++/31826] New: Invalid read of size 1 shw_mail at wp dot pl
  2007-05-04 23:12 ` [Bug libstdc++/31826] " pcarlini at suse dot de
@ 2007-05-04 23:53 ` pcarlini at suse dot de
  2007-05-06 11:08 ` shw_mail at wp dot pl
  2007-05-06 11:44 ` pcarlini at suse dot de
  3 siblings, 0 replies; 5+ messages in thread
From: pcarlini at suse dot de @ 2007-05-04 23:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pcarlini at suse dot de  2007-05-05 00:53 -------
For just an example of user-code error leading to a valgrind message mentioning
std::string::_Rep::_M_destroy, see:

http://linux.derkeiler.com/Newsgroups/comp.os.linux.development.apps/2006-02/msg00070.html

That's why, missing a small self-contained snippet, this PR will be closed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31826


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/31826] Invalid read of size 1
  2007-05-04 22:18 [Bug libstdc++/31826] New: Invalid read of size 1 shw_mail at wp dot pl
  2007-05-04 23:12 ` [Bug libstdc++/31826] " pcarlini at suse dot de
  2007-05-04 23:53 ` pcarlini at suse dot de
@ 2007-05-06 11:08 ` shw_mail at wp dot pl
  2007-05-06 11:44 ` pcarlini at suse dot de
  3 siblings, 0 replies; 5+ messages in thread
From: shw_mail at wp dot pl @ 2007-05-06 11:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from shw_mail at wp dot pl  2007-05-06 12:08 -------
(In reply to comment #2)
http://linux.derkeiler.com/Newsgroups/comp.os.linux.development.apps/2006-02/msg00070.html
> 
> That's why, missing a small self-contained snippet, this PR will be closed.

Ok. Thanks a lot for explanation.

Best regards. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31826


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/31826] Invalid read of size 1
  2007-05-04 22:18 [Bug libstdc++/31826] New: Invalid read of size 1 shw_mail at wp dot pl
                   ` (2 preceding siblings ...)
  2007-05-06 11:08 ` shw_mail at wp dot pl
@ 2007-05-06 11:44 ` pcarlini at suse dot de
  3 siblings, 0 replies; 5+ messages in thread
From: pcarlini at suse dot de @ 2007-05-06 11:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pcarlini at suse dot de  2007-05-06 12:44 -------
Ok, I understand feedback not forthcoming. Otherwise, just re-open.


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31826


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-05-06 11:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-04 22:18 [Bug libstdc++/31826] New: Invalid read of size 1 shw_mail at wp dot pl
2007-05-04 23:12 ` [Bug libstdc++/31826] " pcarlini at suse dot de
2007-05-04 23:53 ` pcarlini at suse dot de
2007-05-06 11:08 ` shw_mail at wp dot pl
2007-05-06 11:44 ` pcarlini at suse dot de

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