public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/20773] New: ICE: SEGV building jar file
@ 2005-04-05 19:58 green at redhat dot com
  2005-04-05 19:59 ` [Bug java/20773] " green at redhat dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: green at redhat dot com @ 2005-04-05 19:58 UTC (permalink / raw)
  To: java-prs

I'm seeing the following:

# gcj -O2 -shared -findirect-dispatch -Wl,-Bsymbolic -fPIC -o libtritonus.jar.so
tritonus.jar 
org/tritonus/util/TCircularBuffer.java: In class
'org.tritonus.util.TCircularBuffer':
org/tritonus/util/TCircularBuffer.java: In method
'org.tritonus.util.TCircularBuffer.read(byte[],int,int)':
org/tritonus/util/TCircularBuffer.java:0: internal compiler error: Segmentation
fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.

This works at -O0 and fails at -O1 and above.

I will attach the jar file to this case.  It comes from tritonus-0.3.0 which is
Free Software.

-- 
           Summary: ICE: SEGV building jar file
           Product: gcc
           Version: 4.0.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


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


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

* [Bug java/20773] ICE: SEGV building jar file
  2005-04-05 19:58 [Bug java/20773] New: ICE: SEGV building jar file green at redhat dot com
@ 2005-04-05 19:59 ` green at redhat dot com
  2005-04-05 20:05 ` [Bug tree-optimization/20773] " pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: green at redhat dot com @ 2005-04-05 19:59 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From green at redhat dot com  2005-04-05 19:59 -------
Created an attachment (id=8539)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8539&action=view)
Problem jar file.


-- 


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


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

* [Bug tree-optimization/20773] ICE: SEGV building jar file
  2005-04-05 19:58 [Bug java/20773] New: ICE: SEGV building jar file green at redhat dot com
  2005-04-05 19:59 ` [Bug java/20773] " green at redhat dot com
@ 2005-04-05 20:05 ` pinskia at gcc dot gnu dot org
  2005-04-05 23:14 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-05 20:05 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-05 20:05 -------
This is a tree optimization problem:
#0  add_phi_arg (phi=0x45d11380, def=0x43bb83c0, e=0x0) at /Users/pinskia/src/new-fold/gcc/
gcc/tree-phinodes.c:339
#1  0x000a91a4 in tree_duplicate_sese_region (entry=0x9, exit=0x45705cc0, region=0x421c67a0, 
n_region=1, region_copy=0x421c6900) at /Users/pinskia/src/new-fold/gcc/gcc/tree-cfg.c:5221
#2  0x001aea24 in copy_loop_headers () at /Users/pinskia/src/new-fold/gcc/gcc/tree-ssa-loop-ch.c:
208
#3  0x000bbf54 in execute_pass_list (pass=0x0) at /Users/pinskia/src/new-fold/gcc/gcc/tree-
optimize.c:541
#4  0x000bbfdc in execute_pass_list (pass=0x0) at /Users/pinskia/src/new-fold/gcc/gcc/tree-
optimize.c:579


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|java                        |tree-optimization
           Keywords|                            |ice-on-valid-code


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


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

* [Bug tree-optimization/20773] ICE: SEGV building jar file
  2005-04-05 19:58 [Bug java/20773] New: ICE: SEGV building jar file green at redhat dot com
  2005-04-05 19:59 ` [Bug java/20773] " green at redhat dot com
  2005-04-05 20:05 ` [Bug tree-optimization/20773] " pinskia at gcc dot gnu dot org
@ 2005-04-05 23:14 ` pinskia at gcc dot gnu dot org
  2005-04-05 23:47 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-05 23:14 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-05 23:14 -------
Hmm, do you know what compiler the class files were created with?
I tried building tritonus's org/tritonus/share/TCircularBuffer.java to a class with both Apple's javac and 
gcj and I had no luck reproducing it.  (This is only for a semi self contained testcase).

-- 


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


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

* [Bug tree-optimization/20773] ICE: SEGV building jar file
  2005-04-05 19:58 [Bug java/20773] New: ICE: SEGV building jar file green at redhat dot com
                   ` (2 preceding siblings ...)
  2005-04-05 23:14 ` pinskia at gcc dot gnu dot org
@ 2005-04-05 23:47 ` pinskia at gcc dot gnu dot org
  2005-04-06  2:17 ` green at redhat dot com
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-05 23:47 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-05 23:47 -------
This is either a bug in tree-cfg.c or tree-ssa-loop-ch.c, I cannot figure out which one.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rakdver at gcc dot gnu dot
                   |                            |org, pinskia at gcc dot gnu
                   |                            |dot org


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


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

* [Bug tree-optimization/20773] ICE: SEGV building jar file
  2005-04-05 19:58 [Bug java/20773] New: ICE: SEGV building jar file green at redhat dot com
                   ` (3 preceding siblings ...)
  2005-04-05 23:47 ` pinskia at gcc dot gnu dot org
@ 2005-04-06  2:17 ` green at redhat dot com
  2005-04-14 16:33 ` belyshev at depni dot sinp dot msu dot ru
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: green at redhat dot com @ 2005-04-06  2:17 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From green at redhat dot com  2005-04-06 02:17 -------
(In reply to comment #3)
> Hmm, do you know what compiler the class files were created with?

The Eclipse bytecode compiler.



-- 


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


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

* [Bug tree-optimization/20773] ICE: SEGV building jar file
  2005-04-05 19:58 [Bug java/20773] New: ICE: SEGV building jar file green at redhat dot com
                   ` (4 preceding siblings ...)
  2005-04-06  2:17 ` green at redhat dot com
@ 2005-04-14 16:33 ` belyshev at depni dot sinp dot msu dot ru
  2005-07-14  0:52 ` [Bug tree-optimization/20773] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-04-14 16:33 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From belyshev at depni dot sinp dot msu dot ru  2005-04-14 16:33 -------
Created an attachment (id=8631)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8631&action=view)
smaller testcase (4749 bytes)

confirmed on amd64 with both 4.0.0 and mainline.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #8539 is|0                           |1
           obsolete|                            |


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


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

* [Bug tree-optimization/20773] [4.0/4.1 Regression] ICE: SEGV building jar file
  2005-04-05 19:58 [Bug java/20773] New: ICE: SEGV building jar file green at redhat dot com
                   ` (5 preceding siblings ...)
  2005-04-14 16:33 ` belyshev at depni dot sinp dot msu dot ru
@ 2005-07-14  0:52 ` pinskia at gcc dot gnu dot org
  2005-07-15  9:27 ` rakdver at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-14  0:52 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-14 00:52 -------
Should have been marked as a regression.

On the mainline we get:
org/tritonus/util/TCircularBuffer.java: In class 'org.tritonus.util.TCircularBuffer':
org/tritonus/util/TCircularBuffer.java: In method 'org.tritonus.util.TCircularBuffer.read(byte[],int,int)':
org/tritonus/util/TCircularBuffer.java:0: internal compiler error: in tree_split_edge, at tree-cfg.c:3026
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

With the backtrace:
#0  internal_error (gmsgid=0x85c872e "tree_split_edge") at /home/peshtigo/pinskia/src/gnu/gcc/src/
gcc/diagnostic.c:530
#1  0x081a0ccf in fancy_abort (file=0x85c872e "tree_split_edge", line=3026, function=0x85c872e 
"tree_split_edge")
    at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/diagnostic.c:590
#2  0x0841bf06 in tree_split_edge (edge_in=0x85c872e) at /home/peshtigo/pinskia/src/gnu/gcc/src/
gcc/tree-cfg.c:3026
#3  0x083b7fd4 in split_edge (e=0xb7d62208) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/
cfghooks.c:407
#4  0x08178b08 in loop_split_edge_with (e=0xb7d62208, insns=0x0) at /home/peshtigo/pinskia/src/
gnu/gcc/src/gcc/cfgloopmanip.c:1255
#5  0x084a968c in copy_loop_headers () at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/tree-ssa-
loop-ch.c:212


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE: SEGV building jar file |[4.0/4.1 Regression] ICE:
                   |                            |SEGV building jar file
   Target Milestone|---                         |4.1.0


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


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

* [Bug tree-optimization/20773] [4.0/4.1 Regression] ICE: SEGV building jar file
  2005-04-05 19:58 [Bug java/20773] New: ICE: SEGV building jar file green at redhat dot com
                   ` (6 preceding siblings ...)
  2005-07-14  0:52 ` [Bug tree-optimization/20773] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-07-15  9:27 ` rakdver at gcc dot gnu dot org
  2005-07-18  9:40 ` rakdver at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2005-07-15  9:27 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From rakdver at gcc dot gnu dot org  2005-07-15 09:27 -------
This is a bug in ch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rakdver at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED


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


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

* [Bug tree-optimization/20773] [4.0/4.1 Regression] ICE: SEGV building jar file
  2005-04-05 19:58 [Bug java/20773] New: ICE: SEGV building jar file green at redhat dot com
                   ` (7 preceding siblings ...)
  2005-07-15  9:27 ` rakdver at gcc dot gnu dot org
@ 2005-07-18  9:40 ` rakdver at gcc dot gnu dot org
  2005-07-27 13:24 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2005-07-18  9:40 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From rakdver at gcc dot gnu dot org  2005-07-18 09:39 -------
Patch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |07/msg01132.html
           Keywords|                            |patch


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


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

* [Bug tree-optimization/20773] [4.0/4.1 Regression] ICE: SEGV building jar file
  2005-04-05 19:58 [Bug java/20773] New: ICE: SEGV building jar file green at redhat dot com
                   ` (8 preceding siblings ...)
  2005-07-18  9:40 ` rakdver at gcc dot gnu dot org
@ 2005-07-27 13:24 ` cvs-commit at gcc dot gnu dot org
  2005-07-27 16:45 ` [Bug tree-optimization/20773] [4.0 " pinskia at gcc dot gnu dot org
  2005-09-27 15:33 ` mmitchel at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-07-27 13:24 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-07-27 13:24 -------
Subject: Bug 20773

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rakdver@gcc.gnu.org	2005-07-27 13:23:35

Modified files:
	gcc            : ChangeLog tree-ssa-loop-ch.c 

Log message:
	PR tree-optimization/20773
	* tree-ssa-loop-ch.c (copy_loop_headers): Select the correct latch
	edge.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9562&r2=2.9563
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-loop-ch.c.diff?cvsroot=gcc&r1=2.18&r2=2.19



-- 


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


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

* [Bug tree-optimization/20773] [4.0 Regression] ICE: SEGV building jar file
  2005-04-05 19:58 [Bug java/20773] New: ICE: SEGV building jar file green at redhat dot com
                   ` (9 preceding siblings ...)
  2005-07-27 13:24 ` cvs-commit at gcc dot gnu dot org
@ 2005-07-27 16:45 ` pinskia at gcc dot gnu dot org
  2005-09-27 15:33 ` mmitchel at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-27 16:45 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-27 16:45 -------
Fixed on the mainline, I think the 4.0 branch's bug is slightly different also.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://gcc.gnu.org/ml/gcc-  |
                   |patches/2005-               |
                   |07/msg01132.html            |
           Keywords|patch                       |
            Summary|[4.0/4.1 Regression] ICE:   |[4.0 Regression] ICE: SEGV
                   |SEGV building jar file      |building jar file
   Target Milestone|4.1.0                       |4.0.2


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


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

* [Bug tree-optimization/20773] [4.0 Regression] ICE: SEGV building jar file
  2005-04-05 19:58 [Bug java/20773] New: ICE: SEGV building jar file green at redhat dot com
                   ` (10 preceding siblings ...)
  2005-07-27 16:45 ` [Bug tree-optimization/20773] [4.0 " pinskia at gcc dot gnu dot org
@ 2005-09-27 15:33 ` mmitchel at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-27 15:33 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-09-27 15:33 -------
Java bugs are not release critical; removing target milestone.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.2                       |---


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


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

end of thread, other threads:[~2005-09-27 15:33 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-05 19:58 [Bug java/20773] New: ICE: SEGV building jar file green at redhat dot com
2005-04-05 19:59 ` [Bug java/20773] " green at redhat dot com
2005-04-05 20:05 ` [Bug tree-optimization/20773] " pinskia at gcc dot gnu dot org
2005-04-05 23:14 ` pinskia at gcc dot gnu dot org
2005-04-05 23:47 ` pinskia at gcc dot gnu dot org
2005-04-06  2:17 ` green at redhat dot com
2005-04-14 16:33 ` belyshev at depni dot sinp dot msu dot ru
2005-07-14  0:52 ` [Bug tree-optimization/20773] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-07-15  9:27 ` rakdver at gcc dot gnu dot org
2005-07-18  9:40 ` rakdver at gcc dot gnu dot org
2005-07-27 13:24 ` cvs-commit at gcc dot gnu dot org
2005-07-27 16:45 ` [Bug tree-optimization/20773] [4.0 " pinskia at gcc dot gnu dot org
2005-09-27 15:33 ` mmitchel 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).