public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/47584] New: [4.6 regression] internal compiler error: sigsegv in libcpp/line-map.c:285
@ 2011-02-02 7:06 jojelino at gmail dot com
2011-02-02 7:07 ` [Bug driver/47584] " jojelino at gmail dot com
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: jojelino at gmail dot com @ 2011-02-02 7:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47584
Summary: [4.6 regression] internal compiler error: sigsegv in
libcpp/line-map.c:285
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: driver
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jojelino@gmail.com
Starting program: /usr/libexec/gcc/i686-pc-mingw32/4.6.0/cc1.exe -quiet -v -I
/usr/include/w32api -I ../../../../include/QtCore -I
../../../../include/QtNetwork -I ../../../../include/QtGui -I
../../../../include -I bridge/qt -I page/qt -I platform/graphics/qt -I
platform/network/qt -I platform/qt -I ../WebKit/qt/Api -I
../WebKit/qt/WebCoreSupport -I . -I accessibility -I bindings/js -I bridge -I
bridge/c -I bridge/jsc -I css -I dom -I dom/default -I editing -I history -I
html -I html/canvas -I inspector -I loader -I loader/appcache -I loader/archive
-I loader/icon -I notifications -I page -I page/animation -I platform -I
platform/animation -I platform/graphics -I platform/graphics/filters -I
platform/graphics/transforms -I platform/image-decoders -I platform/mock -I
platform/network -I platform/sql -I platform/text -I plugins -I rendering -I
rendering/style -I storage -I svg -I svg/animation -I svg/graphics -I
svg/graphics/filters -I websockets -I wml -I workers -I xml -I generated -I
../JavaScriptCore -I ../../webkit -I ../JavaScriptCore/assembler -I
../JavaScriptCore/bytecode -I ../JavaScriptCore/bytecompiler -I
../JavaScriptCore/debugger -I ../JavaScriptCore/interpreter -I
../JavaScriptCore/jit -I ../JavaScriptCore/parser -I ../JavaScriptCore/pcre -I
../JavaScriptCore/profiler -I ../JavaScriptCore/runtime -I
../JavaScriptCore/wtf -I ../JavaScriptCore/wtf/symbian -I
../JavaScriptCore/wtf/unicode -I ../JavaScriptCore/yarr -I
../JavaScriptCore/API -I ../JavaScriptCore/ForwardingHeaders -I
../JavaScriptCore/generated -I ../include/QtWebKit -I
../../../../include/QtWebKit -I .rcc/release-shared -I tmp -I plugins/win -I
platform/win -I ../../sqlite -I ../../../../include/phonon -I
../../../../include/ActiveQt -I .moc/release-shared -I
../../../../mkspecs/win32-g++ -D UNICODE=1 -D QT_LARGEFILE_SUPPORT=1 -D
QT_SH---Type <return> to continue, or q <return> to quit---
ARED -D QT_THREAD_SUPPORT -D UNICODE -D QT_LARGEFILE_SUPPORT -D BUILDING_QT__=1
-D WTF_USE_ACCELERATED_COMPOSITING -D USE_SYSTEM_MALLOC -D NDEBUG -D QT_MAKEDLL
-D QT_NO_CAST_TO_ASCII -D QT_ASCII_CAST_WARNINGS -D QT3_SUPPORT -D
QT_MOC_COMPAT -D QT_USE_FAST_OPERATOR_PLUS -D QT_USE_FAST_CONCATENATION -D
_USE_MATH_DEFINES -D BUILD_WEBKIT -D _HAS_TR1=0 -D BUILDING_QT__ -D
BUILDING_JavaScriptCore -D BUILDING_WTF -D ENABLE_VIDEO=1 -D
ENABLE_JAVASCRIPT_DEBUGGER=1 -D ENABLE_DATABASE=1 -D ENABLE_EVENTSOURCE=1 -D
ENABLE_OFFLINE_WEB_APPLICATIONS=1 -D ENABLE_DOM_STORAGE=1 -D
ENABLE_ICONDATABASE=1 -D ENABLE_CHANNEL_MESSAGING=1 -D
ENABLE_ORIENTATION_EVENTS=0 -D ENABLE_SQLITE=1 -D ENABLE_DASHBOARD_SUPPORT=0 -D
ENABLE_FILTERS=1 -D ENABLE_XPATH=1 -D ENABLE_WCSS=0 -D ENABLE_WML=0 -D
ENABLE_SHARED_WORKERS=1 -D ENABLE_WORKERS=1 -D ENABLE_XHTMLMP=0 -D
ENABLE_DATAGRID=0 -D ENABLE_RUBY=1 -D ENABLE_SANDBOX=1 -D ENABLE_PROGRESS_TAG=1
-D ENABLE_BLOB_SLICE=0 -D ENABLE_3D_RENDERING=1 -D ENABLE_SVG=1 -D
ENABLE_SVG_FONTS=1 -D ENABLE_SVG_FOREIGN_OBJECT=1 -D ENABLE_SVG_ANIMATION=1 -D
ENABLE_SVG_AS_IMAGE=1 -D ENABLE_SVG_USE=1 -D ENABLE_DATALIST=1 -D
ENABLE_TILED_BACKING_STORE=1 -D ENABLE_NETSCAPE_PLUGIN_API=1 -D
ENABLE_WEB_SOCKETS=1 -D ENABLE_XSLT=0 -D ENABLE_QT_BEARER=1 -D
ENABLE_TOUCH_EVENTS=1 -D SQLITE_CORE -D SQLITE_OMIT_LOAD_EXTENSION -D
SQLITE_OMIT_COMPLETE -D QT_DLL -D QT_NO_DEBUG -D QT_GUI_LIB -D QT_NETWORK_LIB
-D QT_CORE_LIB -D QT_HAVE_MMX -D QT_HAVE_3DNOW -D QT_HAVE_SSE -D QT_HAVE_MMXEXT
-D QT_HAVE_SSE2 -D QT_HAVE_SSE3 -D QT_HAVE_SSSE3 -D QT_HAVE_SSE4_1 -D
QT_HAVE_SSE4_2 -D QT_HAVE_AVX -include .obj/release-shared/WebKit_pch.h
../../sqlite/sqlite3.c -quiet -dumpbase sqlite3.c -mtune=generic
-march=pentiumpro -auxbase-strip .obj/release-shared/sqlite3.o -O2 -Wall
-version -o /cygdrive/d/temp/cache/ccsxQ36R.s
[New Thread 7612.0x311c]
[New Thread 7612.0xc68]
[New Thread 7612.0x365c]
---Type <return> to continue, or q <return> to quit---
Program received signal SIGSEGV, Segmentation fault.
linemap_lookup (set=0x7fd20090, line=0x49) at ../.././libcpp/line-map.c:285
285 if (line >= cached->start_location)
(gdb) li
280 mn = set->cache;
281 mx = set->used;
282
283 cached = &set->maps[mn];
284 /* We should get a segfault if no line_maps have been added yet. */
285 if (line >= cached->start_location)
286 {
287 if (mn + 1 == mx || line < cached[1].start_location)
288 return cached;
289 }
(gdb) bt
#0 linemap_lookup (set=0x7fd20090, line=0x49) at ../.././libcpp/line-map.c:285
#1 0x00669fc5 in diagnostic_report_current_module (context=0x10aecc0)
at ../.././gcc/diagnostic.c:271
#2 0x008e12f7 in diagnostic_report_current_function (context=0x10aecc0,
diagnostic=0x52cbcd4) at ../.././gcc/tree-diagnostic.c:38
#3 0x008e135f in default_tree_diagnostic_starter (context=0x10aecc0,
diagnostic=0x52cbcd4) at ../.././gcc/tree-diagnostic.c:46
#4 0x0066a6d1 in diagnostic_report_diagnostic (context=0x10aecc0,
diagnostic=0x52cbcd4) at ../.././gcc/diagnostic.c:542
#5 0x0066aeba in fatal_error (gmsgid=0xd219ba "had to relocate PCH")
at ../.././gcc/diagnostic.c:821
#6 0x006dc28b in gt_pch_restore (f=0x570bb14) at ../.././gcc/ggc-common.c:649
#7 0x00493cd3 in c_common_read_pch (pfile=0x5713c38,
name=0x576a880 "./.obj/release-shared/WebKit_pch"..., fd=0x4,
orig_name=0x575a0e8 "./.obj/release-shared/WebKit_pch"...)
at ../.././gcc/c-family/c-pch.c:433
#8 0x00c2b310 in should_stack_file (import=0x0, file=0x575b180,
pfile=0x5713c38) at ../.././libcpp/files.c:716
#9 _cpp_stack_file (pfile=0x5713c38, file=0x575b180, import=0x0)
at ../.././libcpp/files.c:801
#10 0x00c2bd27 in cpp_push_include (pfile=0x5713c38,
fname=0x52ccc95 ".obj/release-shared/WebKit_pch.h")
at ../.././libcpp/files.c:1350
---Type <return> to continue, or q <return> to quit---
#11 0x00490b5c in push_command_line_include ()
at ../.././gcc/c-family/c-opts.c:1374
#12 0x00493264 in c_common_parse_file () at ../.././gcc/c-family/c-opts.c:1074
#13 0x0066d38f in compile_file () at ../.././gcc/toplev.c:579
#14 do_compile () at ../.././gcc/toplev.c:1878
#15 toplev_main (argc=0x15a, argv=0x570a2d8) at ../.././gcc/toplev.c:1941
#16 0x00c74670 in main (argc=0x15a, argv=0x570a2d8) at ../.././gcc/main.c:36
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug driver/47584] [4.6 regression] internal compiler error: sigsegv in libcpp/line-map.c:285
2011-02-02 7:06 [Bug driver/47584] New: [4.6 regression] internal compiler error: sigsegv in libcpp/line-map.c:285 jojelino at gmail dot com
@ 2011-02-02 7:07 ` jojelino at gmail dot com
2011-02-02 7:23 ` jojelino at gmail dot com
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jojelino at gmail dot com @ 2011-02-02 7:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47584
--- Comment #1 from gee <jojelino at gmail dot com> 2011-02-02 07:07:15 UTC ---
Created attachment 23208
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23208
source. -save-temps failed with segmentation fault
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug driver/47584] [4.6 regression] internal compiler error: sigsegv in libcpp/line-map.c:285
2011-02-02 7:06 [Bug driver/47584] New: [4.6 regression] internal compiler error: sigsegv in libcpp/line-map.c:285 jojelino at gmail dot com
2011-02-02 7:07 ` [Bug driver/47584] " jojelino at gmail dot com
@ 2011-02-02 7:23 ` jojelino at gmail dot com
2011-02-02 12:11 ` [Bug target/47584] " rguenth at gcc dot gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jojelino at gmail dot com @ 2011-02-02 7:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47584
--- Comment #2 from gee <jojelino at gmail dot com> 2011-02-02 07:23:19 UTC ---
Created attachment 23209
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23209
precompiled header
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/47584] [4.6 regression] internal compiler error: sigsegv in libcpp/line-map.c:285
2011-02-02 7:06 [Bug driver/47584] New: [4.6 regression] internal compiler error: sigsegv in libcpp/line-map.c:285 jojelino at gmail dot com
2011-02-02 7:07 ` [Bug driver/47584] " jojelino at gmail dot com
2011-02-02 7:23 ` jojelino at gmail dot com
@ 2011-02-02 12:11 ` rguenth at gcc dot gnu.org
2011-02-02 18:34 ` [Bug pch/47584] " pinskia at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-02-02 12:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47584
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |i686-pc-mingw32
Component|driver |target
Version|unknown |4.6.0
Target Milestone|--- |4.6.0
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-02-02 12:10:48 UTC ---
I suspect PCH on mingw might simply not work reliably.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug pch/47584] [4.6 regression] internal compiler error: sigsegv in libcpp/line-map.c:285
2011-02-02 7:06 [Bug driver/47584] New: [4.6 regression] internal compiler error: sigsegv in libcpp/line-map.c:285 jojelino at gmail dot com
` (2 preceding siblings ...)
2011-02-02 12:11 ` [Bug target/47584] " rguenth at gcc dot gnu.org
@ 2011-02-02 18:34 ` pinskia at gcc dot gnu.org
2011-02-02 18:48 ` ktietz at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-02-02 18:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47584
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Host| |i686-pc-mingw32
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-02-02 18:33:57 UTC ---
(In reply to comment #3)
> I suspect PCH on mingw might simply not work reliably.
Which means this is a host issue rather than a target one :).
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug pch/47584] [4.6 regression] internal compiler error: sigsegv in libcpp/line-map.c:285
2011-02-02 7:06 [Bug driver/47584] New: [4.6 regression] internal compiler error: sigsegv in libcpp/line-map.c:285 jojelino at gmail dot com
` (3 preceding siblings ...)
2011-02-02 18:34 ` [Bug pch/47584] " pinskia at gcc dot gnu.org
@ 2011-02-02 18:48 ` ktietz at gcc dot gnu.org
2011-02-02 19:33 ` jojelino at gmail dot com
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ktietz at gcc dot gnu.org @ 2011-02-02 18:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47584
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ktietz at gcc dot gnu.org
--- Comment #5 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-02-02 18:48:32 UTC ---
Yeah, this is an old issue about fixed sized memory arena for .pch in
implementation of mingw here. Some of this stuff would be better done via
generic malloc/realloc instead of trying to emulate mmap here via file-mapping.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug pch/47584] [4.6 regression] internal compiler error: sigsegv in libcpp/line-map.c:285
2011-02-02 7:06 [Bug driver/47584] New: [4.6 regression] internal compiler error: sigsegv in libcpp/line-map.c:285 jojelino at gmail dot com
` (4 preceding siblings ...)
2011-02-02 18:48 ` ktietz at gcc dot gnu.org
@ 2011-02-02 19:33 ` jojelino at gmail dot com
2011-02-04 13:45 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jojelino at gmail dot com @ 2011-02-02 19:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47584
gee <jojelino at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Host|i686-pc-mingw32 |i686-pc-cygwin
--- Comment #6 from gee <jojelino at gmail dot com> 2011-02-02 19:33:39 UTC ---
i686-pc-mingw32-gcc -v
Using built-in specs.
COLLECT_GCC=i686-pc-mingw32-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-mingw32/4.6.0/lto-wrapper.exe
Target: i686-pc-mingw32
Configured with: ./configure --config-cache --prefix=/usr
--enable-win32-registry --enable-threads=win32 --enable-languages=c,c++,lto
--with-win32-nlsapi=unicode --enable-tls --disable-bootstrap
--target=i686-pc-mingw32 --enable-shared --enable-interpreter
--disable-sjlj-exceptions --enable-gomp
Thread model: win32
gcc version 4.6.0 20110202 (experimental) (GCC)
i'm sorry for this.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug pch/47584] [4.6 regression] internal compiler error: sigsegv in libcpp/line-map.c:285
2011-02-02 7:06 [Bug driver/47584] New: [4.6 regression] internal compiler error: sigsegv in libcpp/line-map.c:285 jojelino at gmail dot com
` (5 preceding siblings ...)
2011-02-02 19:33 ` jojelino at gmail dot com
@ 2011-02-04 13:45 ` jakub at gcc dot gnu.org
2011-02-08 15:04 ` rguenth at gcc dot gnu.org
2011-03-07 10:36 ` [Bug pch/47584] " rguenth at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-02-04 13:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47584
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-04 13:45:32 UTC ---
If this is an old problem, is it really a regression then?
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug pch/47584] [4.6 regression] internal compiler error: sigsegv in libcpp/line-map.c:285
2011-02-02 7:06 [Bug driver/47584] New: [4.6 regression] internal compiler error: sigsegv in libcpp/line-map.c:285 jojelino at gmail dot com
` (6 preceding siblings ...)
2011-02-04 13:45 ` jakub at gcc dot gnu.org
@ 2011-02-08 15:04 ` rguenth at gcc dot gnu.org
2011-03-07 10:36 ` [Bug pch/47584] " rguenth at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-02-08 15:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47584
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.02.08 15:02:07
Ever Confirmed|0 |1
--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-02-08 15:02:07 UTC ---
Probably memory usage for the PCH changed between releases.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug pch/47584] internal compiler error: sigsegv in libcpp/line-map.c:285
2011-02-02 7:06 [Bug driver/47584] New: [4.6 regression] internal compiler error: sigsegv in libcpp/line-map.c:285 jojelino at gmail dot com
` (7 preceding siblings ...)
2011-02-08 15:04 ` rguenth at gcc dot gnu.org
@ 2011-03-07 10:36 ` rguenth at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-03-07 10:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47584
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.6.0 |---
Summary|[4.6 regression] internal |internal compiler error:
|compiler error: sigsegv in |sigsegv in
|libcpp/line-map.c:285 |libcpp/line-map.c:285
--- Comment #9 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-07 10:36:33 UTC ---
Not an (important) regression. We should at least try to reject the PCH
instead of segfaulting.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2011-03-07 10:36 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-02 7:06 [Bug driver/47584] New: [4.6 regression] internal compiler error: sigsegv in libcpp/line-map.c:285 jojelino at gmail dot com
2011-02-02 7:07 ` [Bug driver/47584] " jojelino at gmail dot com
2011-02-02 7:23 ` jojelino at gmail dot com
2011-02-02 12:11 ` [Bug target/47584] " rguenth at gcc dot gnu.org
2011-02-02 18:34 ` [Bug pch/47584] " pinskia at gcc dot gnu.org
2011-02-02 18:48 ` ktietz at gcc dot gnu.org
2011-02-02 19:33 ` jojelino at gmail dot com
2011-02-04 13:45 ` jakub at gcc dot gnu.org
2011-02-08 15:04 ` rguenth at gcc dot gnu.org
2011-03-07 10:36 ` [Bug pch/47584] " rguenth 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).