[kaffe] 1.1.0 on alpha-linux: make check crashes

Dalibor Topic robilad@yahoo.com
Mon Jun 9 06:02:01 2003


Hi, I've also tried out 1.1.0 on alpha linux machines. While kaffe builds fine,
running make check results in most of the tests crashing during the
compilation.

make[3]: Entering directory `/tmp/kaffe/build/test/regression'
TestScript: line 4: 13170 Aborted                 $JAVA $* >$TMPRESULT 2>&1
PASS: HelloWorldApp.class.save
error compiling:
lt-kaffe-bin: ../../../kaffe-1.1.0/kaffe/kaffevm/exception.h:150:
vmExcept_setJNIFrame: Assertion `fp != 0' failed.
TestScript: line -43: 13212 Aborted                
/tmp/kaffe/build/kaffe/kaffe/kaffe-bin at.dms.kjc.Main -classpath
".:../../../kaffe-1.1.0/test/regression::.:/tmp/kaffe/kaffe-1.1.0/libraries/javalib/kjc.jar"
-d . ../../../kaffe-1.1.0/test/regression/HelloWorldApp.java
FAIL: HelloWorldApp.java

and so on

error compiling:
lt-kaffe-bin: ../../../kaffe-1.1.0/kaffe/kaffevm/exception.h:150:
vmExcept_setJNIFrame: Assertion `fp != 0' failed.
TestScript: line -43: 18367 Aborted                
/tmp/kaffe/build/kaffe/kaffe/kaffe-bin at.dms.kjc.Main -classpath
".:../../../kaffe-1.1.0/test/regression::.:/tmp/kaffe/kaffe-1.1.0/libraries/javalib/kjc.jar"
-d . ../../../kaffe-1.1.0/test/regression/TestNative.java
FAIL: TestNative.java
================================
133 of 137 tests failed
Please report to kaffe@kaffe.org
================================

bash-2.05a$ KAFFE_DEBUG=gdb /tmp/kaffe/install/bin/kjc
GNU gdb 2002-04-01-cvs
Copyright 2002 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 "alpha-linux"...
(gdb) run
Starting program: /tmp/kaffe/install/jre/bin/kaffe-bin at.dms.kjc.Main
kaffe-bin: ../../../kaffe-1.1.0/kaffe/kaffevm/exception.h:150:
vmExcept_setJNIFrame: Assertion `fp != 0' failed.

Program received signal SIGABRT, Aborted.
0x20000210388 in kill () from /lib/libc.so.6.1
(gdb) bt
#0  0x20000210388 in kill () from /lib/libc.so.6.1
#1  0x20000210178 in raise () from /lib/libc.so.6.1
#2  0x20000212038 in abort () from /lib/libc.so.6.1
#3  0x20000207988 in __assert_fail () from /lib/libc.so.6.1
#4  0x20000072b88 in Kaffe_ExceptionClear (env=0x47f1) at
../../../kaffe-1.1.0/kaffe/kaffevm/exception.h:150
#5  0x20000051f90 in processClass (class=0x12023e600, tostate=12,
einfo=0x200000dddf1) at ../../../kaffe-1.1.0/kaffe/kaffevm/classMethod.c:518
#6  0x2000008fbfc in soft_fixup_trampoline (_data=0x47f1) at
../../../kaffe-1.1.0/kaffe/kaffevm/soft.c:575
#7  0x200000b5654 in alpha_do_fixup_trampoline () at
../../../../kaffe-1.1.0/config/alpha/jit-alpha.def:3229
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0x120244d44
This warning occurs if you are debugging a function without any symbols
(for example, in a stripped executable).  In that case, you may wish to
increase the size of the search with the `set heuristic-fence-post' command.

Otherwise, you told GDB there was a function where there isn't one, or
(more likely) you have encountered a bug in GDB.

so it would be nice if any alpha developers could take a closer look.

cheers,
dalibor topic

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com