public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/40502]  New: crash in cp_diagnostic_starter
@ 2009-06-20 12:33 dcb314 at hotmail dot com
  2009-06-20 12:34 ` [Bug c++/40502] " dcb314 at hotmail dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: dcb314 at hotmail dot com @ 2009-06-20 12:33 UTC (permalink / raw)
  To: gcc-bugs

I just tried to compile the Suse Linux package libmodplug-0.8.7-1.5
with the G++ compiler version 4.5 snapshot 20090618.
The compiler said

In file included from /usr/include/string.h:428:0,
                 from load_pat.cpp:33:
In function 'char* strncpy(char*, const char*, size_t)'
/usr/include/bits/string3.h: In function 'void
_ZL19pat_read_waveheaderP8_IO_FILEP10WaveHeaderi.clone.1(FILE*, WaveHeader*)':
/usr/include/bits/string3.h:122:71: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Preprocessed source attached. Flag -O2 required.

Here is valgrind helping out with a stack backtrace.

==32091== Invalid read of size 2
==32091==    at 0x53989D: cp_diagnostic_starter (error.c:2581)
==32091==  Address 0x0 is not stack'd, malloc'd or (recently) free'd


-- 
           Summary: crash in cp_diagnostic_starter
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_64-suse-linux


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


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

end of thread, other threads:[~2009-07-10 22:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-20 12:33 [Bug c++/40502] New: crash in cp_diagnostic_starter dcb314 at hotmail dot com
2009-06-20 12:34 ` [Bug c++/40502] " dcb314 at hotmail dot com
2009-06-20 13:07 ` [Bug middle-end/40502] [4.5 Regression] " rguenth at gcc dot gnu dot org
2009-06-22  5:33 ` pinskia at gcc dot gnu dot org
2009-06-22  5:34 ` pinskia at gcc dot gnu dot org
2009-06-27 20:07 ` reichelt at gcc dot gnu dot org
2009-07-09 15:42 ` rguenth at gcc dot gnu dot org
2009-07-10  8:18 ` jakub at gcc dot gnu dot org
2009-07-10 11:50 ` manu at gcc dot gnu dot org
2009-07-10 11:57 ` jakub at gcc dot gnu dot org
2009-07-10 22:32 ` jakub at gcc dot gnu dot org
2009-07-10 22:37 ` jakub at gcc dot gnu dot org

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