public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/26556]  New: javax/imageio/stream/ImageOutputStreamImpl.java:0: ICE: Segmentation fault
@ 2006-03-04 15:00 danglin at gcc dot gnu dot org
  2006-03-04 15:04 ` [Bug middle-end/26556] [4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: danglin at gcc dot gnu dot org @ 2006-03-04 15:00 UTC (permalink / raw)
  To: java-prs

In trying to bring up libjava on hppa2.0w-hp-hpux11.11, I get the following
ICE:

/mnt/gnu/gcc-3.3/objdir/gcc/gcj
-B/mnt/gnu/gcc-3.3/objdir/hppa2.0w-hp-hpux11.11/
libjava/ -B/mnt/gnu/gcc-3.3/objdir/gcc/ -fclasspath=
-fbootclasspath=/mnt/gnu/gc
c-3.3/objdir/hppa2.0w-hp-hpux11.11/libjava/classpath/lib --encoding=UTF-8
-Wno-d
eprecated -fbootstrap-classes -g -O2 -fjni -findirect-dispatch -c
@javax-imageio
.list -fPIC -o .libs/javax-imageio.o
javax/imageio/stream/ImageOutputStreamImpl.java: In class
'javax.imageio.stream.
ImageOutputStreamImpl':
javax/imageio/stream/ImageOutputStreamImpl.java: In method
'javax.imageio.stream
.ImageOutputStreamImpl.writeLong(long)':
javax/imageio/stream/ImageOutputStreamImpl.java:0: internal compiler error:
Segm
entation fault

-bash-2.05b$ ./gcj -B/mnt/gnu/gcc-3.3/objdir/hppa2.0w-hp-hpux11.11/libjava -B.>
Reading specs from ./specs
Reading specs from
/mnt/gnu/gcc-3.3/objdir/hppa2.0w-hp-hpux11.11/libjava/libgcj.spec
rename spec lib to liborig
Target: hppa2.0w-hp-hpux11.11
Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu/bin/as
--enable-shared --disable-nls --with-local-prefix=/opt/gnu
--prefix=/opt/gnu/gcc/gcc-4.2.0 --enable-debug=no --enable-threads=posix
--with-gmp=/opt/gnu/gcc/gcc-4.2.0 --disable-libmudflap
--enable-languages=c,c++,objc,obj-c++,fortran,java
Thread model: posix
gcc version 4.2.0 20060303 (experimental)

# gdb ../../gcc/jc1
GNU gdb 6.4.50.20051230-cvs
Copyright (C) 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "hppa2.0w-hp-hpux11.11"...
(gdb) set args javax-imageio.list -fhash-synchronization
-fuse-divide-subroutine -fcheck-references -fuse-boehm-gc
-fkeep-inline-functions -quiet -dumpbase ccScZ1E2jx -auxbase-strip yyy.s -g -O2
-Wno-deprecated -version -ffilelist-file -fclasspath=
-fbootclasspath=/mnt/gnu/gcc-3.3/objdir/hppa2.0w-hp-hpux11.11/libjava/classpath/lib
-fencoding=UTF-8 -fbootstrap-classes -fjni -findirect-dispatch -fPIC -o yyy.s
(gdb) r
Starting program: /mnt/gnu/gcc-3.3/objdir/gcc/jc1 javax-imageio.list
-fhash-synchronization -fuse-divide-subroutine -fcheck-references
-fuse-boehm-gc -fkeep-inline-functions -quiet -dumpbase ccScZ1E2jx
-auxbase-strip yyy.s -g -O2 -Wno-deprecated -version -ffilelist-file
-fclasspath=
-fbootclasspath=/mnt/gnu/gcc-3.3/objdir/hppa2.0w-hp-hpux11.11/libjava/classpath/lib
-fencoding=UTF-8 -fbootstrap-classes -fjni -findirect-dispatch -fPIC -o yyy.s
GNU Java version 4.2.0 20060303 (experimental) (hppa2.0w-hp-hpux11.11)
        compiled by GNU C version 4.2.0 20060303 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Class path starts here:
    ./
    /mnt/gnu/gcc-3.3/objdir/hppa2.0w-hp-hpux11.11/libjava/classpath/lib/
(system)

Program received signal SIGSEGV, Segmentation fault.
0x00242290 in ggc_marked_p (p=0x0) at ../../gcc/gcc/ggc-page.c:597
597       return base[L1][L2];
(gdb) bt
#0  0x00242290 in ggc_marked_p (p=0x0) at ../../gcc/gcc/ggc-page.c:597
#1  0x00215f5c in type_hash_marked_p (p=0x0) at ../../gcc/gcc/tree.c:4206
#2  0x001d85d4 in ggc_htab_delete (slot=0x7adc6bc4, info=0x4000adac)
    at ../../gcc/gcc/ggc-common.c:92
#3  0x004da158 in htab_traverse_noresize (htab=0x0,
    callback=@0x40013382: 0x1d8590 <ggc_htab_delete>, info=0x4000adac)
    at ../../gcc/libiberty/hashtab.c:729
#4  0x001d854c in ggc_mark_roots () at ../../gcc/gcc/ggc-common.c:129
#5  0x00242dc4 in ggc_collect () at ../../gcc/gcc/ggc-page.c:1884
#6  0x0024457c in execute_todo (flags=1073898456) at ../../gcc/gcc/passes.c:789
#7  0x002448e0 in execute_one_pass (pass=0x4000c050)
    at ../../gcc/gcc/passes.c:884
#8  0x002449ec in execute_pass_list (pass=0x4000c050)
    at ../../gcc/gcc/passes.c:909
#9  0x00244a00 in execute_pass_list (pass=0x40003608)
    at ../../gcc/gcc/passes.c:910
#10 0x000d309c in tree_rest_of_compilation (fndecl=0x7ae83b80)
    at ../../gcc/gcc/tree-optimize.c:418
#11 0x00086ef4 in java_expand_body (fndecl=0x0)
    at ../../gcc/gcc/java/decl.c:2147
#12 0x0026f394 in cgraph_expand_function (node=0x7aaaca00)
    at ../../gcc/gcc/cgraphunit.c:1102
#13 0x00270c6c in cgraph_assemble_pending_functions ()
---Type <return> to continue, or q <return> to quit---
    at ../../gcc/gcc/cgraphunit.c:354
#14 0x002701e0 in cgraph_finalize_function (decl=0x7ae83b80, nested=0 '\0')
    at ../../gcc/gcc/cgraphunit.c:480
#15 0x000871a4 in finish_method (fndecl=0x7ae83b80)
    at ../../gcc/gcc/java/decl.c:2139
#16 0x000896e0 in end_java_method () at ../../gcc/gcc/java/decl.c:2071
#17 0x000b03b4 in parse_class_file () at ../../gcc/gcc/java/jcf-parse.c:957
#18 0x000b3fb0 in java_parse_file (set_yydebug=0)
    at ../../gcc/gcc/java/jcf-parse.c:1310
#19 0x002133c0 in toplev_main (argc=1073898456, argv=0x0)
    at ../../gcc/gcc/toplev.c:999
#20 0x000c9b94 in main (argc=0, argv=0x4000adac) at ../../gcc/gcc/main.c:35
(gdb) frame 9
#9  0x00244a00 in execute_pass_list (pass=0x40003608)
    at ../../gcc/gcc/passes.c:910
910             execute_pass_list (pass->sub);
(gdb) p *pass
$2 = {name = 0x0, gate = @0x40014382: 0xd2c88 <gate_all_optimizations>,
  execute = 0, sub = 0x4000bc20, next = 0x4000bbe8, static_pass_number = -1,
  tv_id = 0, properties_required = 0, properties_provided = 0,
  properties_destroyed = 0, todo_flags_start = 0, todo_flags_finish = 0,
  letter = 0 '\0'}
(gdb) frame 8
#8  0x002449ec in execute_pass_list (pass=0x4000c050)
    at ../../gcc/gcc/passes.c:909
909           if (execute_one_pass (pass) && pass->sub)
(gdb) p *pass
$3 = {name = 0x521fdc "alias", gate = 0,
  execute = @0x40014f3a: 0x2ce550 <compute_may_aliases>, sub = 0x0,
  next = 0x4000bf7c, static_pass_number = 34, tv_id = 34,
  properties_required = 72, properties_provided = 512,
  properties_destroyed = 0, todo_flags_start = 0, todo_flags_finish = 151,
  letter = 0 '\0'}
(gdb) frame 10
#10 0x000d309c in tree_rest_of_compilation (fndecl=0x7ae83b80)
    at ../../gcc/gcc/tree-optimize.c:418
418       execute_pass_list (all_passes);
(gdb) p debug_tree (fndecl)
 <function_decl 7ae83b80 writeLong
    type <method_type 7ae85900
        type <void_type 7adf1660 void VOID
            align 1 symtab 9 alias set 124
            pointer_to_this <pointer_type 7adf16c0> chain <type_decl 7adf3340
void>>
        SI
        size <integer_cst 7ade5228 constant invariant 32>
        unit size <integer_cst 7ade5048 constant invariant 4>
        align 32 symtab 0 alias set 536 method basetype <record_type 7ae78480
javax.imageio.stream.ImageOutputStreamImpl>
        arg-types <tree_list 7ae82390 value <pointer_type 7ae784e0>
            chain <tree_list 7ae6eaf8 value <integer_type 7adf11e0 long>
                chain <tree_list 7ade5cc0 value <void_type 7adf1660 void>>>>
        pointer_to_this <pointer_type 7a6db720>>
    public decl_1 SI file javax/imageio/stream/ImageOutputStreamImpl.java line
0 context <record_type 7ae78480 javax.imageio.stream.ImageOutputStreamImpl>
initial <block 7ac17b98>
    arguments <parm_decl 7a2d8370 D.35258
        type <pointer_type 7ae784e0 type <record_type 7ae78480
javax.imageio.stream.ImageOutputStreamImpl>
            public unsigned SI size <integer_cst 7ade5228 32> unit size
<integer_cst 7ade5048 4>
            align 32 symtab 0 alias set 526>
        unsigned SI file javax/imageio/stream/ImageOutputStreamImpl.java line
183 size <integer_cst 7ade5228 32> unit size <integer_cst 7ade5048 4>
        align 32 context <function_decl 7ae83b80 writeLong> initial
<pointer_type 7ae784e0> arg-type <pointer_type 7ae784e0>
        chain <parm_decl 7a2d8410 D.35259 type <integer_type 7adf11e0 long>
            DI file javax/imageio/stream/ImageOutputStreamImpl.java line 183
            size <integer_cst 7ade52d0 constant invariant 64>
            unit size <integer_cst 7ade52e8 constant invariant 8>
            align 64 context <function_decl 7ae83b80 writeLong> initial
<integer_type 7adf11e0 long> arg-type <integer_type 7adf11e0 long>>>
    result <result_decl 7a2d84b0 D.35260 type <void_type 7adf1660 void>
        ignored VOID file javax/imageio/stream/ImageOutputStreamImpl.java line
183
        align 1 context <function_decl 7ae83b80 writeLong>>
    saved-insns 7aa62300 chain <function_decl 7ae83d00 writeLongs>>
$4 = void


-- 
           Summary: javax/imageio/stream/ImageOutputStreamImpl.java:0: ICE:
                    Segm
                    entation fault
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.11
  GCC host triplet: hppa2.0w-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11


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


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

* [Bug middle-end/26556] [4.2 Regression] javax/imageio/stream/ImageOutputStreamImpl.java:0: ICE: Segmentation fault
  2006-03-04 15:00 [Bug java/26556] New: javax/imageio/stream/ImageOutputStreamImpl.java:0: ICE: Segmentation fault danglin at gcc dot gnu dot org
@ 2006-03-04 15:04 ` pinskia at gcc dot gnu dot org
  2006-03-04 15:11 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-04 15:04 UTC (permalink / raw)
  To: java-prs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
          Component|java                        |middle-end
           Keywords|                            |GC, ice-on-valid-code
            Summary|javax/imageio/stream/ImageOu|[4.2 Regression]
                   |tputStreamImpl.java:0: ICE: |javax/imageio/stream/ImageOu
                   |Segm                        |tputStreamImpl.java:0: ICE:
                   |entation fault              |Segmentation fault
   Target Milestone|---                         |4.2.0


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


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

* [Bug middle-end/26556] [4.2 Regression] javax/imageio/stream/ImageOutputStreamImpl.java:0: ICE: Segmentation fault
  2006-03-04 15:00 [Bug java/26556] New: javax/imageio/stream/ImageOutputStreamImpl.java:0: ICE: Segmentation fault danglin at gcc dot gnu dot org
  2006-03-04 15:04 ` [Bug middle-end/26556] [4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-03-04 15:11 ` dave at hiauly1 dot hia dot nrc dot ca
  2006-06-04 17:55 ` mmitchel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2006-03-04 15:11 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from dave at hiauly1 dot hia dot nrc dot ca  2006-03-04 15:11 -------
Subject: Re:  [4.2 Regression]
javax/imageio/stream/ImageOutputStreamImpl.java:0: ICE: Segmentation fault

ICE doesn't occur at -O0.

Dave


-- 


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


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

* [Bug middle-end/26556] [4.2 Regression] javax/imageio/stream/ImageOutputStreamImpl.java:0: ICE: Segmentation fault
  2006-03-04 15:00 [Bug java/26556] New: javax/imageio/stream/ImageOutputStreamImpl.java:0: ICE: Segmentation fault danglin at gcc dot gnu dot org
  2006-03-04 15:04 ` [Bug middle-end/26556] [4.2 Regression] " pinskia at gcc dot gnu dot org
  2006-03-04 15:11 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2006-06-04 17:55 ` mmitchel at gcc dot gnu dot org
  2006-06-04 17:56 ` mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-06-04 17:55 UTC (permalink / raw)
  To: java-prs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug middle-end/26556] [4.2 Regression] javax/imageio/stream/ImageOutputStreamImpl.java:0: ICE: Segmentation fault
  2006-03-04 15:00 [Bug java/26556] New: javax/imageio/stream/ImageOutputStreamImpl.java:0: ICE: Segmentation fault danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-06-04 17:55 ` mmitchel at gcc dot gnu dot org
@ 2006-06-04 17:56 ` mmitchel at gcc dot gnu dot org
  2006-06-04 17:57 ` mmitchel at gcc dot gnu dot org
  2006-06-04 20:51 ` danglin at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-06-04 17:56 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from mmitchel at gcc dot gnu dot org  2006-06-04 17:56 -------
Reverting accidental change to WAITING state.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-06-04 17:56:45
               date|                            |


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


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

* [Bug middle-end/26556] [4.2 Regression] javax/imageio/stream/ImageOutputStreamImpl.java:0: ICE: Segmentation fault
  2006-03-04 15:00 [Bug java/26556] New: javax/imageio/stream/ImageOutputStreamImpl.java:0: ICE: Segmentation fault danglin at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-06-04 17:56 ` mmitchel at gcc dot gnu dot org
@ 2006-06-04 17:57 ` mmitchel at gcc dot gnu dot org
  2006-06-04 20:51 ` danglin at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-06-04 17:57 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from mmitchel at gcc dot gnu dot org  2006-06-04 17:57 -------
Java is not release critical.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5


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


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

* [Bug middle-end/26556] [4.2 Regression] javax/imageio/stream/ImageOutputStreamImpl.java:0: ICE: Segmentation fault
  2006-03-04 15:00 [Bug java/26556] New: javax/imageio/stream/ImageOutputStreamImpl.java:0: ICE: Segmentation fault danglin at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2006-06-04 17:57 ` mmitchel at gcc dot gnu dot org
@ 2006-06-04 20:51 ` danglin at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: danglin at gcc dot gnu dot org @ 2006-06-04 20:51 UTC (permalink / raw)
  To: java-prs



------- Comment #4 from danglin at gcc dot gnu dot org  2006-06-04 20:51 -------
I'm closing this PR as fixed although it's not clear what actually
fixed this problem.  By March 28, this problem no longer was present.


-- 

danglin at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2006-06-04 20:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-04 15:00 [Bug java/26556] New: javax/imageio/stream/ImageOutputStreamImpl.java:0: ICE: Segmentation fault danglin at gcc dot gnu dot org
2006-03-04 15:04 ` [Bug middle-end/26556] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-03-04 15:11 ` dave at hiauly1 dot hia dot nrc dot ca
2006-06-04 17:55 ` mmitchel at gcc dot gnu dot org
2006-06-04 17:56 ` mmitchel at gcc dot gnu dot org
2006-06-04 17:57 ` mmitchel at gcc dot gnu dot org
2006-06-04 20:51 ` danglin 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).