[Bug libgcj/22253] New: ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc

andreast at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 30 15:16:00 GMT 2005


I get the following ICE:
/Volumes/export/gcc/gcc-cvs/gcc/libjava/gnu/gcj/xlib/natWindow.cc: In member
function 'virtual void gnu::gcj::xlib::Window::setWMProtocols(JArray<jint>*)':
/Volumes/export/gcc/gcc-cvs/gcc/libjava/gnu/gcj/xlib/natWindow.cc:110: internal
compiler error: Bus error

gdb session looks like this:

Starting program: /Volumes/export/gcc/gcc-cvs/objdir/gcc/cc1plus -fpreprocessed
natWindow.ii -feliminate-unused-debug-symbols -fPIC -quiet -dumpbase
natWindow.cc -auxbase-strip gnu/gcj/xlib/.libs/lib_gnu_awt_xlib_la-natWindow.o
-g -O2 -Wswitch-enum -Wextra -Wall -version -fno-rtti -fnon-call-exceptions
-fdollars-in-identifiers -fno-common -o natWindow.s
GNU C++ version 4.1.0 20050630 (experimental) (powerpc-apple-darwin8.1.0)
        compiled by GNU C version 4.1.0 20050630 (experimental).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: de29724eb145ed5e30b8ec939d966d8a

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000030
bitmap_set_bit (head=0x2c, bit=16) at
/Volumes/export/gcc/gcc-cvs/gcc/gcc/bitmap.c:427
427       if (head->current == 0

The config is this one, but I have to try if it fails also with xlib only.

[wolfram:gcc/gcc-cvs/objdir] andreast% ./gcc/xgcc -v
Using built-in specs.
Target: powerpc-apple-darwin8.1.0
Configured with: /Volumes/export/gcc/gcc-cvs/gcc/configure
--prefix=/Volumes/export/gcc/gcc-cvs/testbin --enable-java-awt=gtk,xlib
--enable-gtk-cairo --disable-checking --disable-multilib
--enable-languages=c,c++,java

-- 
           Summary: ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: andreast at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
 GCC build triplet: powerpc-apple-darwin8.1.0
  GCC host triplet: powerpc-apple-darwin8.1.0
GCC target triplet: powerpc-apple-darwin8.1.0


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



More information about the Gcc-bugs mailing list