public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rmathew at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug java/14439] Segmentation fault compiling java/text/Normalizer.class
Date: Fri, 11 Jun 2004 12:23:00 -0000	[thread overview]
Message-ID: <20040611122310.30906.qmail@sourceware.org> (raw)
In-Reply-To: <20040305024925.14439.9pcgvl502@sneakemail.com>


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


  parent reply	other threads:[~2004-06-11 12:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-05  2:49 [Bug libgcj/14439] New: " 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 [this message]
2004-06-25 20:18 ` mckinlay at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040611122310.30906.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).