public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/62043] New: [4.9/4.10 Regression] GCC hangs / aborts / double free or corruption (!prev) on invalid input
@ 2014-08-07 1:45 d.g.gorbachev at gmail dot com
2014-08-07 1:47 ` [Bug c++/62043] " d.g.gorbachev at gmail dot com
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2014-08-07 1:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62043
Bug ID: 62043
Summary: [4.9/4.10 Regression] GCC hangs / aborts / double free
or corruption (!prev) on invalid input
Product: gcc
Version: 4.9.2
Status: UNCONFIRMED
Severity: trivial
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: d.g.gorbachev at gmail dot com
Created attachment 33265
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33265&action=edit
Testcase
2.i:1:0: sorry, unimplemented: inter-module optimizations not implemented for
C++
typedef __builtin_va_list __gnuc_va_list;
^
In file included from 2.i:1:0:
4.i:1:0: sorry, unimplemented: inter-module optimizations not implemented for
C++
^
*** Error in `/usr/local/libexec/gcc/i686-pc-linux-gnu/4.10.0/cc1plus': double
free or corruption (!prev): 0x094e04e8 ***
======= Backtrace: =========
/usr/lib/libc.so.6(+0x6c449)[0xb7e1c449]
/usr/lib/libc.so.6(+0x72557)[0xb7e22557]
/usr/lib/libc.so.6(+0x72d3d)[0xb7e22d3d]
/usr/lib/libc.so.6(fclose+0x14a)[0xb7e129da]
/usr/local/libexec/gcc/i686-pc-linux-gnu/4.10.0/cc1plus(_ZN6fcacheD1Ev+0x17)[0x8f07a8b]
/usr/local/libexec/gcc/i686-pc-linux-gnu/4.10.0/cc1plus(_Z26diagnostic_file_cache_finiv+0x32)[0x8f07b04]
/usr/local/libexec/gcc/i686-pc-linux-gnu/4.10.0/cc1plus(_Z17diagnostic_finishP18diagnostic_context+0x5b)[0x8f0385f]
/usr/local/libexec/gcc/i686-pc-linux-gnu/4.10.0/cc1plus(_Z11toplev_mainiPPc+0xf95)[0x8882674]
/usr/local/libexec/gcc/i686-pc-linux-gnu/4.10.0/cc1plus(main+0x1b)[0x8ef17b9]
/usr/lib/libc.so.6(__libc_start_main+0xde)[0xb7dc7e2e]
/usr/local/libexec/gcc/i686-pc-linux-gnu/4.10.0/cc1plus[0x8134f3b]
======= Memory map: ========
08048000-093de000 r-xp 00000000 00:0b 9771298
/usr/local/libexec/gcc/i686-pc-linux-gnu/4.10.0/cc1plus
093de000-093e4000 rw-p 01395000 00:0b 9771298
/usr/local/libexec/gcc/i686-pc-linux-gnu/4.10.0/cc1plus
093e4000-09500000 rw-p 00000000 00:00 0 [heap]
b7afc000-b7b18000 r-xp 00000000 00:0b 9816159 /usr/lib/libgcc_s.so.1
b7b18000-b7b19000 rw-p 0001b000 00:0b 9816159 /usr/lib/libgcc_s.so.1
b7b2f000-b7db0000 rw-p 00000000 00:00 0
b7db0000-b7f6b000 r-xp 00000000 00:0b 8269221 /usr/lib/libc-2.19.so
b7f6b000-b7f6e000 r--p 001ba000 00:0b 8269221 /usr/lib/libc-2.19.so
b7f6e000-b7f70000 rw-p 001bd000 00:0b 8269221 /usr/lib/libc-2.19.so
b7f70000-b7f72000 rw-p 00000000 00:00 0
b7f72000-b7fbc000 r-xp 00000000 00:0b 8269178 /usr/lib/libm-2.19.so
b7fbc000-b7fbd000 r--p 00049000 00:0b 8269178 /usr/lib/libm-2.19.so
b7fbd000-b7fbe000 rw-p 0004a000 00:0b 8269178 /usr/lib/libm-2.19.so
b7fbe000-b7fc1000 r-xp 00000000 00:0b 8269187 /usr/lib/libdl-2.19.so
b7fc1000-b7fc2000 r--p 00002000 00:0b 8269187 /usr/lib/libdl-2.19.so
b7fc2000-b7fc3000 rw-p 00003000 00:0b 8269187 /usr/lib/libdl-2.19.so
b7fd0000-b7fd9000 rw-p 00000000 00:00 0
b7fd9000-b7fdb000 r--p 00000000 00:00 0
b7fdb000-b7fdc000 r-xp 00000000 00:00 0 [vdso]
b7fdc000-b7ffd000 r-xp 00000000 00:0b 8269205 /usr/lib/ld-2.19.so
b7ffd000-b7ffe000 rw-p 00000000 00:00 0
b7ffe000-b7fff000 r--p 00021000 00:0b 8269205 /usr/lib/ld-2.19.so
b7fff000-b8000000 rw-p 00022000 00:0b 8269205 /usr/lib/ld-2.19.so
bffdf000-c0000000 rw-p 00000000 00:00 0 [stack]
2.i:1:0: internal compiler error: Aborted
typedef __builtin_va_list __gnuc_va_list;
^
0x8880092 crash_signal
../../gcc-4.10/gcc/toplev.c:337
0x8f07a8a fcache::~fcache()
../../gcc-4.10/gcc/input.c:348
0x8f07b03 diagnostic_file_cache_fini()
../../gcc-4.10/gcc/input.c:193
0x8f0385e diagnostic_finish(diagnostic_context*)
../../gcc-4.10/gcc/diagnostic.c:180
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
GCC 4.7/4.8 just say sorry, unimplemented.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/62043] [4.9/4.10 Regression] GCC hangs / aborts / double free or corruption (!prev) on invalid input
2014-08-07 1:45 [Bug c++/62043] New: [4.9/4.10 Regression] GCC hangs / aborts / double free or corruption (!prev) on invalid input d.g.gorbachev at gmail dot com
@ 2014-08-07 1:47 ` d.g.gorbachev at gmail dot com
2014-08-07 2:36 ` pinskia at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2014-08-07 1:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62043
--- Comment #1 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> ---
Created attachment 33266
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33266&action=edit
Backtrace
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/62043] [4.9/4.10 Regression] GCC hangs / aborts / double free or corruption (!prev) on invalid input
2014-08-07 1:45 [Bug c++/62043] New: [4.9/4.10 Regression] GCC hangs / aborts / double free or corruption (!prev) on invalid input d.g.gorbachev at gmail dot com
2014-08-07 1:47 ` [Bug c++/62043] " d.g.gorbachev at gmail dot com
@ 2014-08-07 2:36 ` pinskia at gcc dot gnu.org
2014-08-07 9:38 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-08-07 2:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62043
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The sorry should be a fatal error now.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/62043] [4.9/4.10 Regression] GCC hangs / aborts / double free or corruption (!prev) on invalid input
2014-08-07 1:45 [Bug c++/62043] New: [4.9/4.10 Regression] GCC hangs / aborts / double free or corruption (!prev) on invalid input d.g.gorbachev at gmail dot com
2014-08-07 1:47 ` [Bug c++/62043] " d.g.gorbachev at gmail dot com
2014-08-07 2:36 ` pinskia at gcc dot gnu.org
@ 2014-08-07 9:38 ` rguenth at gcc dot gnu.org
2014-08-07 19:49 ` jason at gcc dot gnu.org
2014-08-07 19:50 ` jason at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-08-07 9:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62043
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.9.2
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/62043] [4.9/4.10 Regression] GCC hangs / aborts / double free or corruption (!prev) on invalid input
2014-08-07 1:45 [Bug c++/62043] New: [4.9/4.10 Regression] GCC hangs / aborts / double free or corruption (!prev) on invalid input d.g.gorbachev at gmail dot com
` (2 preceding siblings ...)
2014-08-07 9:38 ` rguenth at gcc dot gnu.org
@ 2014-08-07 19:49 ` jason at gcc dot gnu.org
2014-08-07 19:50 ` jason at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu.org @ 2014-08-07 19:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62043
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Aug 7 19:48:36 2014
New Revision: 213732
URL: https://gcc.gnu.org/viewcvs?rev=213732&root=gcc&view=rev
Log:
PR c++/62043
* parser.c (c_parse_file): Change sorry to fatal_error.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/62043] [4.9/4.10 Regression] GCC hangs / aborts / double free or corruption (!prev) on invalid input
2014-08-07 1:45 [Bug c++/62043] New: [4.9/4.10 Regression] GCC hangs / aborts / double free or corruption (!prev) on invalid input d.g.gorbachev at gmail dot com
` (3 preceding siblings ...)
2014-08-07 19:49 ` jason at gcc dot gnu.org
@ 2014-08-07 19:50 ` jason at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu.org @ 2014-08-07 19:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62043
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |jason at gcc dot gnu.org
Resolution|--- |FIXED
Target Milestone|4.9.2 |4.10.0
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-08-07 19:50 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-07 1:45 [Bug c++/62043] New: [4.9/4.10 Regression] GCC hangs / aborts / double free or corruption (!prev) on invalid input d.g.gorbachev at gmail dot com
2014-08-07 1:47 ` [Bug c++/62043] " d.g.gorbachev at gmail dot com
2014-08-07 2:36 ` pinskia at gcc dot gnu.org
2014-08-07 9:38 ` rguenth at gcc dot gnu.org
2014-08-07 19:49 ` jason at gcc dot gnu.org
2014-08-07 19:50 ` jason at gcc dot gnu.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).