Re: [kaffe] Details on backported stuff...

2003-09-01 Thread Jim Pick
On Sun, 31 Aug 2003 16:22:25 -0600 (MDT)
Timothy Stack [EMAIL PROTECTED] wrote:

 
 hi,
 
 I've back ported some stuff from the JanosVM to do run time
 access/link checking on the byte code, some verification related
 stuff, and test cases for all of the above.  Hopefully, it will work
 fine, I've tested it with a fair amount of local stuff.  However, you
 might get an IllegalAccessError in weird places, if so, just send
 email and I'll get to fixing it.

When doing a make install (and make check too), kjc seems to be
triggering IllegalAccessErrors...

make[3]: Entering directory 
`/home/jim/jimpick/kaffe/build/test-head/build/test/regression/compile_time'
java.lang.IllegalAccessError: java/security/SecureClassLoader.defineClass
   at kaffe.lang.AppClassLoader$JarSource.findClass (AppClassLoader.java:143)
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:291)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.IllegalAccessError: java/security/SecureClassLoader.defineClass
   at kaffe.lang.AppClassLoader$JarSource.findClass (AppClassLoader.java:143)
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:291)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
and so on...

Using Jikes, the jitBasic test is failing for me too.

Cheers,

 - Jim


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Details on backported stuff...

2003-09-01 Thread Jim Pick
On Sun, 31 Aug 2003 21:26:50 -0600
Timothy Stack [EMAIL PROTECTED] wrote:

 I'm not seeing this, whats the error?  I'm using jikes 1.18 btw...

It's segfaulting.

Program received signal SIGSEGV, Segmentation fault.
0x4004ffd9 in pushFrame (pe=0xb180, ps=0xb010, op=3, script_pos=0xc, 
values_pos=12,
args=0xc Address 0xc out of bounds) at 
../../../kaffe/kaffe/kaffevm/stringParsing.c:115
115 VA_LIST_COPY(pf-args, args);
(gdb) bt
#0  0x4004ffd9 in pushFrame (pe=0xb180, ps=0xb010, op=3, script_pos=0xc, 
values_pos=12,
args=0xc Address 0xc out of bounds) at 
../../../kaffe/kaffe/kaffevm/stringParsing.c:115
#1  0x4005098a in parseString_private (pe=0xb180, subString=0x7, script=0x0, 
values=0x0, op=3,
args=0xb1ac \f) at ../../../kaffe/kaffe/kaffevm/stringParsing.c:605
#2  0x40050fc5 in parseString (str=0xc Address 0xc out of bounds, op=5)
at ../../../kaffe/kaffe/kaffevm/stringParsing.c:806
#3  0x08049bb5 in main (argc=1, argv=0xb2d4) at 
../../../kaffe/test/internal/jit_stub.c:165

This is on a Debian unstable machine, gcc version 3.3.2 20030812
(Debian prerelease), Jikes 1.18.  I'm not seing this on my Red Hat 8.0
machine.  I'll dig deeper.

Cheers,

 - Jim

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe