This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/8608] segmentation fault on compiling bad program


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-05-25 23:02:44
               date|                            |


------- Additional Comments From pinskia@physics.uc.edu  2003-05-25 23:02 -------
still happens on the mainline ():
tin:~/src/gnu/gcctest>gcj -C pr8608.java 
pr8608.java: In class `Bug165635':
pr8608.java: In method `Bug165635.main(java.lang.String[])':
pr8608.java:3: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
3054      ctxp->elc.line = EXPR_WFL_LINENO (cl);
(gdb) p cl
$1 = 0x0
(gdb) bt
#0  issue_warning_error_from_context (cl=0x0, msg=0x1 <Address 0x1 out of bounds>, 
ap=0x1 <Address 0x1 out of bounds>) at parse.y:3054
#1  0x08053daf in parse_error_context (cl=0x1, msg=0x1 <Address 0x1 out of bounds>) 
at parse.y:3078
#2  0x080d2b33 in check_init (exp=0x400ae000, before=0xbffec310) at /home/gates/
pinskia/src/gnu/gcc/src/gcc/java/check-init.c:490
#3  0x080d1c00 in check_init (exp=0x400550d8, before=0xbffec310) at /home/gates/
pinskia/src/gnu/gcc/src/gcc/java/check-init.c:520
#4  0x080d1e5a in check_init (exp=0x40055138, before=0xbffec310) at /home/gates/
pinskia/src/gnu/gcc/src/gcc/java/check-init.c:851
#5  0x080d20be in check_init (exp=0x400ad370, before=0xbffec310) at /home/gates/
pinskia/src/gnu/gcc/src/gcc/java/check-init.c:588
#6  0x080d20be in check_init (exp=0x400ad318, before=0xbffec310) at /home/gates/
pinskia/src/gnu/gcc/src/gcc/java/check-init.c:588
#7  0x080d20be in check_init (exp=0x400ad294, before=0xbffec310) at /home/gates/
pinskia/src/gnu/gcc/src/gcc/java/check-init.c:588
#8  0x080d41f1 in check_for_initialization (body=0x1, mdecl=0x0) at /home/gates/
pinskia/src/gnu/gcc/src/gcc/java/check-init.c:967
#9  0x0806733b in java_complete_expand_method (mdecl=0x0) at parse.y:7957
#10 0x08066176 in java_complete_expand_methods (class_decl=0x40077b64) at 
parse.y:7660
#11 0x08065e2f in java_complete_expand_class (outer=0x40077b64) at parse.y:7579
#12 0x08065d5d in java_complete_expand_classes () at parse.y:7558
#13 0x0806aad9 in java_expand_classes () at parse.y:8878
#14 0x080be552 in java_parse_file (set_yydebug=0) at /home/gates/pinskia/src/gnu/gcc/
src/gcc/java/jcf-parse.c:1119
#15 0x0830096a in compile_file () at /home/gates/pinskia/src/gnu/gcc/src/gcc/
toplev.c:2209
#16 0x08306528 in do_compile () at /home/gates/pinskia/src/gnu/gcc/src/gcc/
toplev.c:5581
#17 0x08306599 in toplev_main (argc=1, argv=0x0) at /home/gates/pinskia/src/gnu/gcc/
src/gcc/toplev.c:5612
#18 0x080d9a2b in main (argc=1, argv=0x1) at /home/gates/pinskia/src/gnu/gcc/src/gcc/
main.c:37



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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