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

Kevin D. Kissell kevink@mips.com
Wed Jun 11 04:05:02 2003


Could you please check confirm that the 4 regression tests
which succeed on alpha-linux are the same 4 that succeed
with MIPS/Linux under jit3, i.e.

HelloWorldApp.class.save
CatchLimits.class.save
TestFloatDouble, and
ThreadStop?

The 133 out of 137 number just seems like more than a
coincidence. If that's the case, and the Alpha build is defaulting 
to jit3 (as MIPS does), this could well be the Alpha-specific
manifestation of a JIT bug which MIPS experiences
as a set of OutOfMemory errors.

And is Alpha/Linux OK if you run interpreted?

----- Original Message ----- 
From: "Dalibor Topic" <robilad@yahoo.com>
To: <kaffe@kaffe.org>
Sent: Monday, June 09, 2003 3:04 PM
Subject: [kaffe] 1.1.0 on alpha-linux: make check crashes


> 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
> 
> _______________________________________________
> kaffe mailing list
> kaffe@kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
>