This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

jc1 segfaults in resolve_qualified_expression_name


Information:
1) (see below) the command [javac gives no warnings/errors on this file]
2) (see below) gdb's opinion on the matter
3) What do I do to help?  Someone want the .java file?  Who, where?

Thanks
-Steve Ashe
-----------------------------------------------------------------------


$ gcj -v --CLASSPATH=.. -C  XGridLayout.java
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/specs
gcc version 2.95.1 19990816 (release)
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/jc1 XGridLayout.java -quiet -g1 -version -fCLASSPATH=.. -fsyntax-only -femit-class-files -o XGridLayout.s
GNU Java version 2.95.1 19990816 (release) (i686-pc-linux-gnu) compiled by GNU C version 2.95 19990728 (release).
gcj: Internal compiler error: program jc1 got fatal signal 11


$ gdb  /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/jc1 core
GNU gdb 4.18
Copyright 1998 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 "i686-pc-linux-gnu"...
Core was generated by `/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/jc1 XGridLayout.java -quiet -g1'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
#0  resolve_qualified_expression_name (wfl=0x822b6c0, found_decl=0xbfffef4c,
    where_found=0xbfffef50, type_found=0xbfffef54) at ./parse.y:6647
6647    ./parse.y: No such file or directory.

(gdb) where
#0  resolve_qualified_expression_name (wfl=0x822b6c0, found_decl=0xbfffef4c,
    where_found=0xbfffef50, type_found=0xbfffef54) at ./parse.y:6647
#1  0x8054f9e in resolve_field_access (qual_wfl=0x822b6c0, field_decl=0x0,
    field_type=0x0) at ./parse.y:6328
#2  0x8054f2c in resolve_expression_name (id=0x822b6c0, orig=0x0)
    at ./parse.y:6293
#3  0x805770e in java_complete_lhs (node=0x822b6c0) at ./parse.y:8185
#4  0x8056f17 in java_complete_tree (node=0x822b6c0) at ./parse.y:7822
#5  0x8057a8e in java_complete_lhs (node=0x822b718) at ./parse.y:8372
#6  0x8056f17 in java_complete_tree (node=0x822b718) at ./parse.y:7822
#7  0x8057af9 in java_complete_lhs (node=0x822b730) at ./parse.y:8381
#8  0x8056f17 in java_complete_tree (node=0x822b730) at ./parse.y:7822
#9  0x805755f in java_complete_lhs (node=0x822baf4) at ./parse.y:8122          #10 0x8056f17 in java_complete_tree (node=0x822baf4) at ./parse.y:7822
#11 0x805775c in java_complete_lhs (node=0x822bb10) at ./parse.y:8202
#12 0x8056f17 in java_complete_tree (node=0x822bb10) at ./parse.y:7822
#13 0x8057064 in java_complete_lhs (node=0x822b574) at ./parse.y:7917
#14 0x8056f17 in java_complete_tree (node=0x822b574) at ./parse.y:7822
#15 0x80570fe in java_complete_lhs (node=0x822b418) at ./parse.y:7947
#16 0x8056f17 in java_complete_tree (node=0x822b418) at ./parse.y:7822
#17 0x80570fe in java_complete_lhs (node=0x822b020) at ./parse.y:7947
#18 0x8056f17 in java_complete_tree (node=0x822b020) at ./parse.y:7822
#19 0x80572b7 in java_complete_lhs (node=0x822af04) at ./parse.y:8002
#20 0x8056f17 in java_complete_tree (node=0x822af04) at ./parse.y:7822
#21 0x80576b9 in java_complete_lhs (node=0x822af1c) at ./parse.y:8167
#22 0x8056f17 in java_complete_tree (node=0x822af1c) at ./parse.y:7822
#23 0x8057648 in java_complete_lhs (node=0x822af34) at ./parse.y:8148
#24 0x8056f17 in java_complete_tree (node=0x822af34) at ./parse.y:7822
#25 0x80574c4 in java_complete_lhs (node=0x822af4c) at ./parse.y:8094
#26 0x8056f17 in java_complete_tree (node=0x822af4c) at ./parse.y:7822
#27 0x80570fe in java_complete_lhs (node=0x822ae2c) at ./parse.y:7947
#28 0x8056f17 in java_complete_tree (node=0x822ae2c) at ./parse.y:7822
#29 0x8057064 in java_complete_lhs (node=0x822ad68) at ./parse.y:7917
#30 0x8056f17 in java_complete_tree (node=0x822ad68) at ./parse.y:7822
#31 0x80570fe in java_complete_lhs (node=0x822a6e8) at ./parse.y:7947
#32 0x8056f17 in java_complete_tree (node=0x822a6e8) at ./parse.y:7822
#33 0x80570fe in java_complete_lhs (node=0x822a3a4) at ./parse.y:7947
#34 0x8056f17 in java_complete_tree (node=0x822a3a4) at ./parse.y:7822
#35 0x80570fe in java_complete_lhs (node=0x8229f84) at ./parse.y:7947
#36 0x8056f17 in java_complete_tree (node=0x8229f84) at ./parse.y:7822
#37 0x805487a in java_complete_expand_method (mdecl=0x8229d80)
    at ./parse.y:5940
#38 0x8054722 in java_complete_expand_methods () at ./parse.y:5875
#39 0x8054b39 in java_expand_classes () at ./parse.y:6100
#40 0x806fa24 in yyparse () at ../../../gcc-2.95.1/gcc/java/jcf-parse.c:898
#41 0x8078f61 in compile_file (name=0xbffffb4a "XGridLayout.java")
    at ../../gcc-2.95.1/gcc/toplev.c:3265
#42 0x807c20b in main (argc=10, argv=0xbffff9c4)
    at ../../gcc-2.95.1/gcc/toplev.c:5441


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]