public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/40502] New: crash in cp_diagnostic_starter Date: Sat, 20 Jun 2009 12:33:00 -0000 [thread overview] Message-ID: <bug-40502-9596@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2009-06-20 12:33 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-06-20 12:33 dcb314 at hotmail dot com [this message] 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
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=bug-40502-9596@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /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: linkBe 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).