public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/17329] New: ICE: SEGV in java_gimplify_expr
@ 2004-09-05 14:06 green at redhat dot com
2004-09-05 18:50 ` [Bug java/17329] " tromey at gcc dot gnu dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: green at redhat dot com @ 2004-09-05 14:06 UTC (permalink / raw)
To: java-prs
I get a SEGV in jc1 while building jython from rhug. No small test case yet.
This happens at any optimization level.
$ ./jc1
/home/green/sources/jhbuild-src/rhug/jython/upstream/src/org/python/util/jython.java
-fhash-synchronization -fno-use-divide-subroutine -fuse-boehm-gc
-fnon-call-exceptions -fno-omit-frame-pointer -fkeep-inline-functions -quiet
-dumpbase jython.java -mtune=pentiumpro -auxbase-strip
upstream/src/org/python/util/.libs/jython.o -g -O0 -Wno-deprecated -version
-fencoding=ISO-8859-1 -fno-assert
-fclasspath=upstream/src:/home/green/sources/jhbuild-src/rhug/jython/upstream/src:/home/green/sources/jhbuild-src/rhug/jython/../gnu.readline/upstream/src:/home/green/sources/jhbuild-src/rhug/jython/../jakarta-oro/upstream/src/java:/home/green/sources/jhbuild-src/rhug/jython/../jakarta-servletapi-4/upstream/src/share
-fassume-compiled -fPIC
[lots of output deleted]
/home/green/sources/jhbuild-src/rhug/jython/upstream/src/org/python/util/jython.java:261:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
and from gdb....
Program received signal SIGSEGV, Segmentation fault.
0x080bd4eb in java_gimplify_expr (expr_p=0xf6eca334, pre_p=0xfeeae174,
post_p=0xfeeae170)
at /home/green/sources/jhbuild-src/gcc/gcc/java/java-gimplify.c:111
111 if (TREE_CODE (TREE_OPERAND (*expr_p, 0)) == VAR_DECL)
(gdb) where
#0 0x080bd4eb in java_gimplify_expr (expr_p=0xf6eca334, pre_p=0xfeeae174,
post_p=0xfeeae170)
at /home/green/sources/jhbuild-src/gcc/gcc/java/java-gimplify.c:111
During symbol reading, Incomplete CFI data; unspecified registers at
0x080bd542.During symbol reading, Incomplete CFI data; unspecified registers at
0x080bd542.During symbol reading, Incomplete CFI data; unspecified registers at
0x080bd542.During symbol reading, Incomplete CFI data; unspecified registers at
0x080bd542.#1 0x080e17cd in gimplify_expr (expr_p=0xf6eca334, pre_p=0xfeeae174,
post_p=0xfeeae170, gimple_test_f=0x80d87a4 <is_gimple_stmt>,
fallback=fb_none)
at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:3539
During symbol reading, Incomplete CFI data; unspecified registers at
0x080e1a10.During symbol reading, Incomplete CFI data; unspecified registers at
0x080e1a10.During symbol reading, Incomplete CFI data; unspecified registers at
0x080e1a10.During symbol reading, Incomplete CFI data; unspecified registers at
0x080e1a10.#2 0x080e168d in gimplify_stmt (stmt_p=0xf6eca334)
at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:3437
During symbol reading, Incomplete CFI data; unspecified registers at
0x080e1688.During symbol reading, Incomplete CFI data; unspecified registers at
0x080e1688.During symbol reading, Incomplete CFI data; unspecified registers at
0x080e1688.During symbol reading, Incomplete CFI data; unspecified registers at
0x080e1688.During symbol reading, Incomplete CFI data; unspecified registers at
0x080e1688.During symbol reading, Incomplete CFI data; unspecified registers at
0x080e1688.During symbol reading, Incomplete CFI data; unspecified registers at
0x080e1688.#3 0x080e019d in gimplify_compound_expr (expr_p=0xfeeae290,
pre_p=0xfeeae474,
want_value=1 '\001')
at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:2965
During symbol reading, Incomplete CFI data; unspecified registers at
0x080e0219.During symbol reading, Incomplete CFI data; unspecified registers at
0x080e0219.During symbol reading, Incomplete CFI data; unspecified registers at
0x080e0219.During symbol reading, Incomplete CFI data; unspecified registers at
0x080e0219.#4 0x080e230a in gimplify_expr (expr_p=0xfeeae290, pre_p=0xfeeae474,
post_p=0xfeeae470, gimple_test_f=0x80d84f4 <is_gimple_formal_tmp_rhs>,
fallback=fb_rvalue)
at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:3585
During symbol reading, Incomplete CFI data; unspecified registers at
0x080e23e1.#5 0x080d96e6 in internal_get_tmp_var (val=0xf6eca318, pre_p=0xfeeae474,
post_p=0xfeeae470, is_formal=0 '\0')
at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:468
#6 0x080d97ce in get_initialized_tmp_var (val=0xf6eca318, pre_p=0xfeeae474,
post_p=0xfeeae470)
at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:497
#7 0x080e037c in gimplify_save_expr (expr_p=0xf6de29ac, pre_p=0xfeeae474,
post_p=0xfeeae470)
at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:3045
#8 0x080e268f in gimplify_expr (expr_p=0xf6de29ac, pre_p=0xfeeae474,
post_p=0xfeeae470, gimple_test_f=0x80d896c <is_gimple_formal_tmp_var>,
fallback=fb_rvalue)
at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:3756
#9 0x080bd64c in java_gimplify_expr (expr_p=0x3c, pre_p=0xfeeae474,
post_p=0xfeeae470)
at /home/green/sources/jhbuild-src/gcc/gcc/java/java-gimplify.c:147
#10 0x080e17cd in gimplify_expr (expr_p=0xf6de29d4, pre_p=0xfeeae474,
post_p=0xfeeae470, gimple_test_f=0x80d85f8 <is_gimple_mem_rhs>,
fallback=fb_rvalue)
at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:3539
#11 0x080dfdce in gimplify_modify_expr (expr_p=0xf6ddb5c0, pre_p=0xfeeae474,
post_p=0xfeeae470, want_value=0 '\0')
at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:2852
#12 0x080e2327 in gimplify_expr (expr_p=0xf6ddb5c0, pre_p=0xfeeae474,
post_p=0xfeeae470, gimple_test_f=0x80d87a4 <is_gimple_stmt>,
fallback=fb_none)
at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:3590
#13 0x080e168d in gimplify_stmt (stmt_p=0xf6ddb5c0)
at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:3437
#14 0x080e16a1 in gimplify_to_stmt_list (stmt_p=0xf6ddb5c0)
---Type <return> to continue, or q <return> to quit---
[etc]
(gdb) p expr_p
$1 = (tree *) 0xf6eca334
(gdb) pt
<this 0xf6eca334
type <var_decl 0xf5fd189c verbose
type <integer_type 0xf6ecb3a0 int public SI
size <integer_cst 0xf6ec82a0 constant invariant 32>
unit size <integer_cst 0xf6ec80c0 constant invariant 4>
align 32 symtab 0 alias set 16 precision 32 min <integer_cst
0xf6ec8270 -2147483648> max <integer_cst 0xf6ec8288 2147483647>
pointer_to_this <pointer_type 0xf6eba414> chain <type_decl
0xf6ecb414 int>>
public static external decl_1 SI file
/home/green/sources/jhbuild-src/rhug/jython/upstream/src/org/python/core/Options.java
line 61 size <integer_cst 0xf6ec82a0 32> unit size <integer_cst 0xf6ec80c0 4>
align 32 context <record_type 0xf5fd1414 org.python.core.Options>
initial <expr_with_file_location 0xf5fcfb18>
(mem/i:SI (symbol_ref:SI ("_ZN3org6python4core7Options7verboseE") [flags
0x40] <var_decl 0xf5fd189c verbose>) [16 verbose+0 S4 A32])
chain <var_decl 0xf5fd1910 deprecatedKeywordMangling type <boolean_type
0xf6ecbf68 boolean>
public static unsigned external decl_1 QI file
/home/green/sources/jhbuild-src/rhug/jython/upstream/src/org/python/core/Options.java
line 67
size <integer_cst 0xf6ec8138 constant invariant 8>
unit size <integer_cst 0xf6ec8150 constant invariant 1>
align 8 context <record_type 0xf5fd1414 org.python.core.Options>
initial <integer_cst 0xf6ec88a0 1> chain <var_decl 0xf5fd19f8 proxyDebugDirectory>>>
side-effects readonly constant invariant public protected static deprecated
visited tree_1 tree_2 tree_4 tree_5 tree_6
chain <save_expr 0xf5f89800
type <void_type 0xf6ecbc3c void VOID
align 1 symtab 0 alias set -1
pointer_to_this <pointer_type 0xf6ecbd24> chain <type_decl
0xf6ecbcb0 void>>
side-effects invariant public tree_5>>
--
Summary: ICE: SEGV in java_gimplify_expr
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: green at redhat dot com
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17329
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/17329] ICE: SEGV in java_gimplify_expr
2004-09-05 14:06 [Bug java/17329] New: ICE: SEGV in java_gimplify_expr green at redhat dot com
@ 2004-09-05 18:50 ` tromey at gcc dot gnu dot org
2004-09-06 12:46 ` giovannibajo at libero dot it
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-09-05 18:50 UTC (permalink / raw)
To: java-prs
------- Additional Comments From tromey at gcc dot gnu dot org 2004-09-05 18:50 -------
I see this while building jython as well.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-09-05 18:50:29
date| |
Summary|ICE: SEGV in |ICE: SEGV in
|java_gimplify_expr |java_gimplify_expr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17329
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/17329] ICE: SEGV in java_gimplify_expr
2004-09-05 14:06 [Bug java/17329] New: ICE: SEGV in java_gimplify_expr green at redhat dot com
2004-09-05 18:50 ` [Bug java/17329] " tromey at gcc dot gnu dot org
@ 2004-09-06 12:46 ` giovannibajo at libero dot it
2004-09-06 16:33 ` green at redhat dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: giovannibajo at libero dot it @ 2004-09-06 12:46 UTC (permalink / raw)
To: java-prs
------- Additional Comments From giovannibajo at libero dot it 2004-09-06 12:46 -------
Is this a regression? which versions are affected?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17329
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/17329] ICE: SEGV in java_gimplify_expr
2004-09-05 14:06 [Bug java/17329] New: ICE: SEGV in java_gimplify_expr green at redhat dot com
2004-09-05 18:50 ` [Bug java/17329] " tromey at gcc dot gnu dot org
2004-09-06 12:46 ` giovannibajo at libero dot it
@ 2004-09-06 16:33 ` green at redhat dot com
2004-09-06 16:58 ` [Bug java/17329] [3.5 Regression] " giovannibajo at libero dot it
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: green at redhat dot com @ 2004-09-06 16:33 UTC (permalink / raw)
To: java-prs
------- Additional Comments From green at redhat dot com 2004-09-06 16:33 -------
Yes, this is a regression for HEAD. It was working the last time I tried (a
small number of weeks ago I think).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17329
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/17329] [3.5 Regression] ICE: SEGV in java_gimplify_expr
2004-09-05 14:06 [Bug java/17329] New: ICE: SEGV in java_gimplify_expr green at redhat dot com
` (2 preceding siblings ...)
2004-09-06 16:33 ` green at redhat dot com
@ 2004-09-06 16:58 ` giovannibajo at libero dot it
2004-09-22 0:01 ` [Bug java/17329] [4.0 " tromey at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: giovannibajo at libero dot it @ 2004-09-06 16:58 UTC (permalink / raw)
To: java-prs
------- Additional Comments From giovannibajo at libero dot it 2004-09-06 16:58 -------
Marked as regression, then, so that it catches attention.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Keywords| |ice-on-valid-code
Known to fail| |3.5.0
Known to work| |3.4.2
Summary|ICE: SEGV in |[3.5 Regression] ICE: SEGV
|java_gimplify_expr |in java_gimplify_expr
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17329
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/17329] [4.0 Regression] ICE: SEGV in java_gimplify_expr
2004-09-05 14:06 [Bug java/17329] New: ICE: SEGV in java_gimplify_expr green at redhat dot com
` (3 preceding siblings ...)
2004-09-06 16:58 ` [Bug java/17329] [3.5 Regression] " giovannibajo at libero dot it
@ 2004-09-22 0:01 ` tromey at gcc dot gnu dot org
2004-09-23 16:24 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-09-22 0:01 UTC (permalink / raw)
To: java-prs
------- Additional Comments From tromey at gcc dot gnu dot org 2004-09-22 00:01 -------
I'm testing a patch for this.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |tromey at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Known to fail|4.0 |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17329
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/17329] [4.0 Regression] ICE: SEGV in java_gimplify_expr
2004-09-05 14:06 [Bug java/17329] New: ICE: SEGV in java_gimplify_expr green at redhat dot com
` (4 preceding siblings ...)
2004-09-22 0:01 ` [Bug java/17329] [4.0 " tromey at gcc dot gnu dot org
@ 2004-09-23 16:24 ` cvs-commit at gcc dot gnu dot org
2004-09-23 16:25 ` cvs-commit at gcc dot gnu dot org
2004-09-23 16:27 ` tromey at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-09-23 16:24 UTC (permalink / raw)
To: java-prs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-09-23 16:24 -------
Subject: Bug 17329
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: tromey@gcc.gnu.org 2004-09-23 16:24:43
Modified files:
libjava : ChangeLog
Added files:
libjava/testsuite/libjava.compile: pr17329.java
Log message:
PR java/17329:
* testsuite/libjava.compile/pr17329.java: New file.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3071&r2=1.3072
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.compile/pr17329.java.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17329
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/17329] [4.0 Regression] ICE: SEGV in java_gimplify_expr
2004-09-05 14:06 [Bug java/17329] New: ICE: SEGV in java_gimplify_expr green at redhat dot com
` (5 preceding siblings ...)
2004-09-23 16:24 ` cvs-commit at gcc dot gnu dot org
@ 2004-09-23 16:25 ` cvs-commit at gcc dot gnu dot org
2004-09-23 16:27 ` tromey at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-09-23 16:25 UTC (permalink / raw)
To: java-prs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-09-23 16:25 -------
Subject: Bug 17329
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: tromey@gcc.gnu.org 2004-09-23 16:25:37
Modified files:
gcc/java : ChangeLog java-gimplify.c
Log message:
PR java/17329:
* java-gimplify.c (java_gimplify_expr) <SAVE_EXPR>: Ignore case
where operand is null.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1459&r2=1.1460
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/java-gimplify.c.diff?cvsroot=gcc&r1=1.14&r2=1.15
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17329
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/17329] [4.0 Regression] ICE: SEGV in java_gimplify_expr
2004-09-05 14:06 [Bug java/17329] New: ICE: SEGV in java_gimplify_expr green at redhat dot com
` (6 preceding siblings ...)
2004-09-23 16:25 ` cvs-commit at gcc dot gnu dot org
@ 2004-09-23 16:27 ` tromey at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-09-23 16:27 UTC (permalink / raw)
To: java-prs
------- Additional Comments From tromey at gcc dot gnu dot org 2004-09-23 16:27 -------
Fix checked in.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17329
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-09-23 16:27 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-05 14:06 [Bug java/17329] New: ICE: SEGV in java_gimplify_expr green at redhat dot com
2004-09-05 18:50 ` [Bug java/17329] " tromey at gcc dot gnu dot org
2004-09-06 12:46 ` giovannibajo at libero dot it
2004-09-06 16:33 ` green at redhat dot com
2004-09-06 16:58 ` [Bug java/17329] [3.5 Regression] " giovannibajo at libero dot it
2004-09-22 0:01 ` [Bug java/17329] [4.0 " tromey at gcc dot gnu dot org
2004-09-23 16:24 ` cvs-commit at gcc dot gnu dot org
2004-09-23 16:25 ` cvs-commit at gcc dot gnu dot org
2004-09-23 16:27 ` tromey 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).