This is the mail archive of the java@gcc.gnu.org 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]
Other format: [Raw text]

Re: jc1 segfaults?



Hey, can anybody else take a look at this? Here's a linux binary with
debugging symbols:

    http://www.megacz.com/jc1

Just execute it with no arguments and it crashes... wierd.

It's the main problem holding up my patch integration work.

  - a

Adam Megacz <gcj@lists.megacz.com> writes:
> Woah, I'm building this from freshly checked-out CVS... any ideas why
> this is happening? I'm not even passing it any arguments...
> 
>   - a
> 
> megacz@curry$/home/megacz/mingw-gcj/bin/gcc/jc1
> jc1: internal error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> 
> megacz@curry$gdb /home/megacz/mingw-gcj/bin/gcc/jc1
> GNU gdb 19990928
> 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"...
> (gdb) run
> Starting program: /home/megacz/mingw-gcj/bin/gcc/jc1 
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x8355702 in i386_pe_encode_section_info (decl=0x40150cb0) at ../../gcc/gcc/config/i386/winnt.c:386
> 386                               TYPE_ATTRIBUTES (TREE_TYPE (decl))))
> (gdb) bt
> #0  0x8355702 in i386_pe_encode_section_info (decl=0x40150cb0) at ../../gcc/gcc/config/i386/winnt.c:386
> #1  0x832a6eb in make_decl_rtl (decl=0x40150cb0, asmspec=0x0) at ../../gcc/gcc/varasm.c:981
> #2  0x80e2115 in define_builtin (val=BUILT_IN_ALLOCA, name=0x84360a4 "__builtin_alloca", class=BUILT_IN_NORMAL, type=0x0, fallback_p=1)
>     at ../../gcc/gcc/java/builtins.c:214
> #3  0x80e2afd in initialize_builtins () at ../../gcc/gcc/builtins.def:145
> #4  0x80b85ec in java_init_decl_processing () at ../../gcc/gcc/java/decl.c:917
> #5  0x80cd6ed in java_init (filename=0x8434154 "stdin") at ../../gcc/gcc/java/lang.c:506
> #6  0x83121a6 in lang_dependent_init (name=0x0) at ../../gcc/gcc/toplev.c:5067
> #7  0x831241c in do_compile () at ../../gcc/gcc/toplev.c:5176
> #8  0x831248d in toplev_main (argc=1, argv=0xbffff4f4) at ../../gcc/gcc/toplev.c:5209
> #9  0x80f7406 in main (argc=1, argv=0xbffff4f4) at ../../gcc/gcc/main.c:35
> (gdb) 
> 
> 

-- 


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