public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/14439] New: Segmentation fault compiling java/text/Normalizer.class
@ 2004-03-05  2:49 9pcgvl502 at sneakemail dot com
  2004-03-05  2:54 ` [Bug java/14439] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: 9pcgvl502 at sneakemail dot com @ 2004-03-05  2:49 UTC (permalink / raw)
  To: gcc-bugs

gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)


$ unzip /usr/local/java/jdk1.3.1_09/jre/lib/rt.jar "java/text/Normalizer.cl*"
Archive:  /usr/local/java/jdk1.3.1_09/jre/lib/rt.jar
 extracting: java/text/Normalizer.class

$ gcj -c -g -O java/text/Normalizer.class
gcj: Internal error: Segmentation fault (program jc1)
Please submit a full bug report.

-- 
           Summary: Segmentation fault compiling java/text/Normalizer.class
           Product: gcc
           Version: 3.2.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: 9pcgvl502 at sneakemail dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug java/14439] Segmentation fault compiling java/text/Normalizer.class
  2004-03-05  2:49 [Bug libgcj/14439] New: Segmentation fault compiling java/text/Normalizer.class 9pcgvl502 at sneakemail dot com
@ 2004-03-05  2:54 ` pinskia at gcc dot gnu dot org
  2004-05-07 12:32 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-05  2:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-05 02:54 -------
Can you try a newer compiler such as 3.3.3? (please do not attach the .class file as it is copyright and 
you cannot distribute it).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
          Component|libgcj                      |java
           Keywords|                            |ice-on-valid-code


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


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

* [Bug java/14439] Segmentation fault compiling java/text/Normalizer.class
  2004-03-05  2:49 [Bug libgcj/14439] New: Segmentation fault compiling java/text/Normalizer.class 9pcgvl502 at sneakemail dot com
  2004-03-05  2:54 ` [Bug java/14439] " pinskia at gcc dot gnu dot org
@ 2004-05-07 12:32 ` pinskia at gcc dot gnu dot org
  2004-06-11 12:23 ` rmathew at gcc dot gnu dot org
  2004-06-25 20:18 ` mckinlay at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-07 12:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-07 12:32 -------
Does this still happen in a newer compiler, 3.4.0 also just released with a huge amount 
of bug fixes fro GCJ, Can you try 3.4.0?

-- 


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


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

* [Bug java/14439] Segmentation fault compiling java/text/Normalizer.class
  2004-03-05  2:49 [Bug libgcj/14439] New: Segmentation fault compiling java/text/Normalizer.class 9pcgvl502 at sneakemail dot com
  2004-03-05  2:54 ` [Bug java/14439] " pinskia at gcc dot gnu dot org
  2004-05-07 12:32 ` pinskia at gcc dot gnu dot org
@ 2004-06-11 12:23 ` rmathew at gcc dot gnu dot org
  2004-06-25 20:18 ` mckinlay at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: rmathew at gcc dot gnu dot org @ 2004-06-11 12:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rmathew at gcc dot gnu dot org  2004-06-11 12:22 -------
I could not find "java/text/Normalizer" in the current JDK 1.4.2.03 on 
Linux-x86, but I did find "sun/text/Normalizer" which does indeed cause
mainline GCJ to ICE like so:

-------------------------------------- 8< --------------------------------------
(gdb) r
Starting program: /home/ranmath/gcc/libexec/gcc/i686-pc-linux-gnu/3.5.0/jc1 sun/
text/Normalizer.class -fhash-synchronization -fno-use-divide-subroutine -fuse-bo
ehm-gc -fnon-call-exceptions -fno-omit-frame-pointer -fkeep-inline-functions -qu
iet -dumpbase Normalizer.class -mtune=pentiumpro -auxbase Normalizer -g -O -o /t
mp/ccWNHEMA.s

Program received signal SIGSEGV, Segmentation fault.
0xb74e0258 in vfprintf () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb74e0258 in vfprintf () from /lib/tls/libc.so.6
#1  0xb74fe23c in vsprintf () from /lib/tls/libc.so.6
#2  0xb74e8ecd in sprintf () from /lib/tls/libc.so.6
#3  0x08087a1e in append_gpp_mangled_name (name=0x84c9cc5 "sun", len=3)
    at /home/ranmath/src/gcc/gcc-20040611/gcc/java/mangle_name.c:62
#4  0x08087008 in mangle_record_type (type=Variable "type" is not available.
)
    at /home/ranmath/src/gcc/gcc-20040611/gcc/java/mangle.c:372
#5  0x080877ad in java_mangle_decl (obstack=0xbf6006d8, decl=0xb742c414)
    at /home/ranmath/src/gcc/gcc-20040611/gcc/java/mangle.c:122
#6  0x0806c6bf in layout_class (this_class=0xb7426c3c)
    at /home/ranmath/src/gcc/gcc-20040611/gcc/java/class.c:2017
#7  0x08085ae5 in read_class (name=0xb742a4d0)
    at /home/ranmath/src/gcc/gcc-20040611/gcc/java/jcf-parse.c:545
#8  0x08085e02 in load_class (class_or_name=0xb742aa24, verbose=1)
    at /home/ranmath/src/gcc/gcc-20040611/gcc/java/jcf-parse.c:585
#9  0x08085ee1 in load_inner_classes (cur_class=Variable "cur_class" is not avai
lable.
)
    at /home/ranmath/src/gcc/gcc-20040611/gcc/java/jcf-parse.c:690
#10 0x08085aec in read_class (name=0xb742a4d0)
    at /home/ranmath/src/gcc/gcc-20040611/gcc/java/jcf-parse.c:546
#11 0x08085e02 in load_class (class_or_name=0xb742aa24, verbose=1)
    at /home/ranmath/src/gcc/gcc-20040611/gcc/java/jcf-parse.c:585
#12 0x08085ee1 in load_inner_classes (cur_class=Variable "cur_class" is not avai
lable.
)
    at /home/ranmath/src/gcc/gcc-20040611/gcc/java/jcf-parse.c:690
---Type <return> to continue, or q <return> to quit---
#13 0x08085aec in read_class (name=0xb742a4d0)
    at /home/ranmath/src/gcc/gcc-20040611/gcc/java/jcf-parse.c:546
#14 0x08085e02 in load_class (class_or_name=0xb742aa24, verbose=1)
    at /home/ranmath/src/gcc/gcc-20040611/gcc/java/jcf-parse.c:585
#15 0x08085ee1 in load_inner_classes (cur_class=Variable "cur_class" is not avai
lable.
)
    at /home/ranmath/src/gcc/gcc-20040611/gcc/java/jcf-parse.c:690
#16 0x08085aec in read_class (name=0xb742a4d0)
    at /home/ranmath/src/gcc/gcc-20040611/gcc/java/jcf-parse.c:546
#17 0x08085e02 in load_class (class_or_name=0xb742aa24, verbose=1)
    at /home/ranmath/src/gcc/gcc-20040611/gcc/java/jcf-parse.c:585
#18 0x08085ee1 in load_inner_classes (cur_class=Variable "cur_class" is not avai
lable.
)
    at /home/ranmath/src/gcc/gcc-20040611/gcc/java/jcf-parse.c:690
#19 0x08085aec in read_class (name=0xb742a4d0)
    at /home/ranmath/src/gcc/gcc-20040611/gcc/java/jcf-parse.c:546
#20 0x08085e02 in load_class (class_or_name=0xb742aa24, verbose=1)
    at /home/ranmath/src/gcc/gcc-20040611/gcc/java/jcf-parse.c:585
#21 0x08085ee1 in load_inner_classes (cur_class=Variable "cur_class" is not avai
lable.
)
    at /home/ranmath/src/gcc/gcc-20040611/gcc/java/jcf-parse.c:690
#22 0x08085aec in read_class (name=0xb742a4d0)
    at /home/ranmath/src/gcc/gcc-20040611/gcc/java/jcf-parse.c:546
#23 0x08085e02 in load_class (class_or_name=0xb742aa24, verbose=1)
    at /home/ranmath/src/gcc/gcc-20040611/gcc/java/jcf-parse.c:585
#24 0x08085ee1 in load_inner_classes (cur_class=Variable "cur_class" is not avai
lable.
)
---Type <return> to continue, or q <return> to quit---
[MANY more similar frames]
-------------------------------------- 8< --------------------------------------


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|0000-00-00 00:00:00         |2004-06-11 12:23:08
               date|                            |


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


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

* [Bug java/14439] Segmentation fault compiling java/text/Normalizer.class
  2004-03-05  2:49 [Bug libgcj/14439] New: Segmentation fault compiling java/text/Normalizer.class 9pcgvl502 at sneakemail dot com
                   ` (2 preceding siblings ...)
  2004-06-11 12:23 ` rmathew at gcc dot gnu dot org
@ 2004-06-25 20:18 ` mckinlay at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: mckinlay at redhat dot com @ 2004-06-25 20:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mckinlay at redhat dot com  2004-06-25 20:13 -------
No response from reporter. GCJ does not support compilation of the Sun class
libraries, and GCJ developers can't debug problems with Sun class libraries
because looking at those class libraries may contaminate us. I'm closing this bug.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WONTFIX


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


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

end of thread, other threads:[~2004-06-25 20:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-05  2:49 [Bug libgcj/14439] New: Segmentation fault compiling java/text/Normalizer.class 9pcgvl502 at sneakemail dot com
2004-03-05  2:54 ` [Bug java/14439] " pinskia at gcc dot gnu dot org
2004-05-07 12:32 ` pinskia at gcc dot gnu dot org
2004-06-11 12:23 ` rmathew at gcc dot gnu dot org
2004-06-25 20:18 ` mckinlay at redhat dot com

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).