[Bug java/20495] New: [4.0 Regression] building gcj hangs on gcj-dbtool

mmazur at kernel dot pl gcc-bugzilla@gcc.gnu.org
Wed Mar 16 19:33:00 GMT 2005


Gcj is built with --enable-gtk-cairo --enable-libgcj-multifile --enable-libgcj-database. While 
building: 
 
creating gcj-dbtool 
./gcj-dbtool -n classmap.db || touch classmap.db 
 
And it hangs. Strace tells me: 
 
$ strace -p 23159 
Process 23159 attached - interrupt to quit 
futex(0x20001921b00, FUTEX_WAIT, 1, NULL <unfinished ...> 
 
And here's gdb: 
 
#0  0x0000020001736404 in pthread_once () from /lib/tls/libpthread.so.0 
#1  0x00000200018a0ab0 in backtrace () from /lib/tls/libc.so.6.1 
#2  0x0000020000b303fc in gnu::gcj::runtime::StackTrace::fillInStackTrace () 
   from /home/users/builder/rpm/BUILD/gcc-4.0-20050312/obj-alpha-pld-linux/alpha-pld-linux/libjava/.libs/libgcj.so.6 
#3  0x0000020000c092e4 in gnu::gcj::runtime::StackTrace::StackTrace () 
   from /home/users/builder/rpm/BUILD/gcc-4.0-20050312/obj-alpha-pld-linux/alpha-pld-linux/libjava/.libs/libgcj.so.6 
#4  0x0000020000b3c80c in java::lang::Class::forName () 
   from /home/users/builder/rpm/BUILD/gcc-4.0-20050312/obj-alpha-pld-linux/alpha-pld-linux/libjava/.libs/libgcj.so.6 
#5  0x0000020000f4461c in gnu::gcj::convert::UnicodeToBytes::getDefaultEncoder 
    () 
   from /home/users/builder/rpm/BUILD/gcc-4.0-20050312/obj-alpha-pld-linux/alpha-pld-linux/libjava/.libs/libgcj.so.6 
#6  0x0000020000b9eb4c in java::io::PrintStream::PrintStream () 
   from /home/users/builder/rpm/BUILD/gcc-4.0-20050312/obj-alpha-pld-linux/alpha-pld-linux/libjava/.libs/libgcj.so.6 
#7  0x0000020000b744b8 in java::lang::System::__U3c_clinit__U3e_ () 
   from /home/users/builder/rpm/BUILD/gcc-4.0-20050312/obj-alpha-pld-linux/alpha-pld-linux/libjava/.libs/libgcj.so.6 
#8  0x0000020000b3c2f4 in java::lang::Class::initializeClass () 
   from /home/users/builder/rpm/BUILD/gcc-4.0-20050312/obj-alpha-pld-linux/alpha-pld-linux/libjava/.libs/libgcj.so.6 
#9  0x0000020000b3d098 in _Jv_InitClass () 
   from /home/users/builder/rpm/BUILD/gcc-4.0-20050312/obj-alpha-pld-linux/alpha-pld-linux/libjava/.libs/libgcj.so.6 
#10 0x0000020000b73ab4 in java::lang::System::getProperty () 
   from /home/users/builder/rpm/BUILD/gcc-4.0-20050312/obj-alpha-pld-linux/alpha-pld-linux/libjava/.libs/libgcj.so.6 
#11 0x0000020000b79270 in java::lang::VMClassLoader::getSystemClassLoader () 
   from /home/users/builder/rpm/BUILD/gcc-4.0-20050312/obj-alpha-pld-linux/alpha-pld-linux/libjava/.libs/libgcj.so.6 
#12 0x0000020000b60864 in java::lang::ClassLoader::__U3c_clinit__U3e_ () 
   from /home/users/builder/rpm/BUILD/gcc-4.0-20050312/obj-alpha-pld-linux/alpha-pld-linux/libjava/.libs/libgcj.so.6 
#13 0x0000020000b3c2f4 in java::lang::Class::initializeClass () 
   from /home/users/builder/rpm/BUILD/gcc-4.0-20050312/obj-alpha-pld-linux/alpha-pld-linux/libjava/.libs/libgcj.so.6 
#14 0x0000020000afc68c in _Jv_CreateJavaVM () 
   from /home/users/builder/rpm/BUILD/gcc-4.0-20050312/obj-alpha-pld-linux/alpha-pld-linux/libjava/.libs/libgcj.so.6 
#15 0x0000020000afd1e8 in _Jv_RunMain () 
   from /home/users/builder/rpm/BUILD/gcc-4.0-20050312/obj-alpha-pld-linux/alpha-pld-linux/libjava/.libs/libgcj.so.6 
#16 0x0000020000afd488 in JvRunMain () 
   from /home/users/builder/rpm/BUILD/gcc-4.0-20050312/obj-alpha-pld-linux/alpha-pld-linux/libjava/.libs/libgcj.so.6 
#17 0x0000000120002a48 in main ()

-- 
           Summary: [4.0 Regression] building gcj hangs on gcj-dbtool
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mmazur at kernel dot pl
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org,pluto at pld-linux dot org
  GCC host triplet: alpha-pld-linux
GCC target triplet: alpha-pld-linux


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



More information about the Java-prs mailing list