This is Fedora 7. $ gcj -v Using built-in specs. Reading specs from /usr/lib/gcc/i386-redhat-linux/4.1.2/libgcj.spec rename spec startfile to startfileorig rename spec lib to liborig Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.2 20070502 (Red Hat 4.1.2-12)
There is this curious stack trace (in GDB): ... #7889 <signal handler called> #7890 0x006fc7e6 in ?? () from /lib/libgcc_s.so.1 #7891 0x006fd6b2 in _Unwind_Backtrace () from /lib/libgcc_s.so.1 #7892 0x02d9ac4e in _Jv_StackTrace::GetStackTrace () from /usr/lib/libgcj.so.8rh #7893 0x02dd5ecc in java::lang::VMThrowable::fillInStackTrace () from /usr/lib/libgcj.so.8rh #7894 0x03259492 in java::lang::Throwable::fillInStackTrace () from /usr/lib/libgcj.so.8rh #7895 0x03258ddd in java::lang::Throwable::Throwable () from /usr/lib/libgcj.so.8rh #7896 0x03258da3 in java::lang::Throwable::Throwable () from /usr/lib/libgcj.so.8rh #7897 0x0323cefb in java::lang::Exception::Exception () from /usr/lib/libgcj.so.8rh #7898 0x0324369b in java::lang::RuntimeException::RuntimeException () from /usr/lib/libgcj.so.8rh #7899 0x032418db in java::lang::NullPointerException::NullPointerException () from /usr/lib/libgcj.so.8rh #7900 0x02d89b08 in ?? () from /usr/lib/libgcj.so.8rh #7901 <signal handler called> #7902 0x006fc7e6 in ?? () from /lib/libgcc_s.so.1 #7903 0x006fd6b2 in _Unwind_Backtrace () from /lib/libgcc_s.so.1 ---Type <return> to continue, or q <return> to quit--- #7904 0x02d9ac4e in _Jv_StackTrace::GetStackTrace () from /usr/lib/libgcj.so.8rh #7905 0x02dd5ecc in java::lang::VMThrowable::fillInStackTrace () from /usr/lib/libgcj.so.8rh #7906 0x03259492 in java::lang::Throwable::fillInStackTrace () from /usr/lib/libgcj.so.8rh #7907 0x03258ddd in java::lang::Throwable::Throwable () from /usr/lib/libgcj.so.8rh #7908 0x03258da3 in java::lang::Throwable::Throwable () from /usr/lib/libgcj.so.8rh #7909 0x0323cefb in java::lang::Exception::Exception () from /usr/lib/libgcj.so.8rh #7910 0x0324369b in java::lang::RuntimeException::RuntimeException () from /usr/lib/libgcj.so.8rh #7911 0x032418db in java::lang::NullPointerException::NullPointerException () from /usr/lib/libgcj.so.8rh #7912 0x02d89b08 in ?? () from /usr/lib/libgcj.so.8rh #7913 <signal handler called> #7914 0x006fc7e6 in ?? () from /lib/libgcc_s.so.1 #7915 0x006fd6b2 in _Unwind_Backtrace () from /lib/libgcc_s.so.1 #7916 0x02d9ac4e in _Jv_StackTrace::GetStackTrace () from /usr/lib/libgcj.so.8rh #7917 0x02dd5ecc in java::lang::VMThrowable::fillInStackTrace () from /usr/lib/libgcj.so.8rh #7918 0x03259492 in java::lang::Throwable::fillInStackTrace () from /usr/lib/libgcj.so.8rh #7919 0x03258ddd in java::lang::Throwable::Throwable () from /usr/lib/libgcj.so.8rh #7920 0x03258da3 in java::lang::Throwable::Throwable () from /usr/lib/libgcj.so.8rh #7921 0x0323cefb in java::lang::Exception::Exception () from /usr/lib/libgcj.so.8rh #7922 0x0324369b in java::lang::RuntimeException::RuntimeException () from /usr/lib/libgcj.so.8rh #7923 0x032418db in java::lang::NullPointerException::NullPointerException () from /usr/lib/libgcj.so.8rh #7924 0x02d89b08 in ?? () from /usr/lib/libgcj.so.8rh #7925 <signal handler called> #7926 0x08368d70 in aga::stpcpy (dest=0x64353f5d "", _src=0x836c92b "&ssi=") at chomp.cpp:174 As you can see, fillInStackTrace goes into an infinite loop, presumably due to SIGSEGV in itself, until it stack overflows. I can provide the binary and the core if somebody is interested in fixing this. -- Summary: infinite loop (SIGSEGV) in java::lang::Throwable::fillInStackTrace Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: artem at bizlink dot ru GCC build triplet: i386-redhat-linux GCC host triplet: i386-redhat-linux GCC target triplet: i386-redhat-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32836