[kaffe] kaffeh buserror

Dalibor Topic robilad at yahoo.com
Fri Jan 17 07:34:01 PST 2003


Hallo Helmer, 

could you take a look into this one? It seems that the
new kaffeh data structure is causing a crash on
ppc-macos10.

best regards,

dalibor topic

--- Marc Kleine-Budde <kleine-budde at gmx.de> wrote:
> Hi!
> 
> I tried to kompile the latest CVS version of Kaffe
> on Mac OSX.2.3 +
> Dec202 Developer Tools + newest fink binary
> distribution.
> 
> after the usual configure....
> 
> [path-to-cvs]/configure
> --prefix=/Users/frogger/kaffe-cvs --enable-debug
> --without-x --disable-sound
> 
> ...and make, kaffeh works fine till it gets the
> first '-jni' argument.
> Look at the attachment for the error. I'm not very
> familiar with gdb but I
> hope a backtrace can help. If I can help more, tell
> me what to do ;)
> 
> regards - Marc
> > [frogger at vulture:~/gyro/build/kaffe-cvs/include]$
> make
> ../kaffe/kaffeh/kaffeh -jni -classpath
>
../../../cvs/kaffe-cvs/libraries/javalib/Klasses.jar.bootstrap
> -o java_math_BigInteger.h java/math/BigInteger
> make: *** [stamp-h1all] Error 138
> [frogger at vulture:~/gyro/build/kaffe-cvs/include]$
> gdb ../kaffe/kaffeh/kaffeh
> GNU gdb 5.3-20021014 (Apple version gdb-250) (Sat
> Dec  7 02:14:27 GMT 2002)
> 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 "powerpc-apple-macos10".
> Reading symbols for shared libraries .. done
> (gdb) set args -jni -classpath
>
../../../cvs/kaffe-cvs/libraries/javalib/Klasses.jar.bootstrap
> -o java_math_BigInteger.h java/math/BigInteger
> (gdb) run
> Starting program:
>
/Users/frogger/gyro/build/kaffe-cvs/kaffe/kaffeh/kaffeh
> -jni -classpath
>
../../../cvs/kaffe-cvs/libraries/javalib/Klasses.jar.bootstrap
> -o java_math_BigInteger.h java/math/BigInteger
> [Switching to process 27358 thread 0xb03]
> Reading symbols for shared libraries . done
> Reading symbols for shared libraries ... done
> 
> Program received signal EXC_BAD_ACCESS, Could not
> access memory.
> 0x90004fb0 in strcmp ()
> (gdb) backtrace 
> #0  0x90004fb0 in strcmp ()
> #1  0x00009844 in finishMethods (this=0x66) at
> ../../../../cvs/kaffe-cvs/kaffe/kaffeh/support.c:678
> #2  0x00006f08 in readMethods (fp=0xbffff990,
> this=0xbffff9a0, einfo=0xbffff8f0) at
>
../../../../cvs/kaffe-cvs/kaffe/kaffeh/../kaffevm/readClass.c:342
> #3  0x00005e10 in readClass (classThis=0xbffff9a0,
> fp=0xbffff990, loader=0x79bea, einfo=0xbffff8f0) at
>
../../../../cvs/kaffe-cvs/kaffe/kaffeh/../kaffevm/readClass.c:87
> #4  0x0000a098 in kaffeh_findClass (nm=0xe5c0
> "java/math/BigInteger") at
> ../../../../cvs/kaffe-cvs/kaffe/kaffeh/support.c:926
> #5  0x0000a548 in main (argc=102, argv=0xd684) at
> ../../../../cvs/kaffe-cvs/kaffe/kaffeh/main.c:174
> #6  0x00001858 in _start (argc=7, argv=0xbffffb98,
> envp=0xbffffbb8) at
> /SourceCache/Csu/Csu-45/crt.c:267
> #7  0x000016d8 in start ()
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com




More information about the kaffe mailing list