kaffe-0.9.0 Linux problems...

descarte at hermetica.com descarte at hermetica.com
Thu May 15 10:24:56 PDT 1997


Hi. I seem to be having some problems getting kaffe-0.9.0 to run under
Linux using the shared library build.

Upon simply starting the kaffe program, it core dumps. The stack trace looks
like:

<descarte at nerfherder:native2/book> /opt/jolt/bin/kaffe
zsh: segmentation fault (core dumped)  /opt/jolt/bin/kaffe
<descarte at nerfherder:native2/book> gdb /opt/jolt/bin/kaffe core
GDB is free software and you are welcome to 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.
GDB 4.16 (i486-unknown-linux), Copyright 1996 Free Software Foundation, Inc...
Core was generated by `/opt/jolt/bin/kaffe'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /opt/jolt/lib/libkaffe_vm.so.0.90...done.
Reading symbols from /lib/libc.so.5.4.23...done.
Reading symbols from /lib/libm.so.5.0.8...done.
Reading symbols from /lib/libdl.so.1.9.2...done.
Reading symbols from /lib/ld-linux.so.1...done.
#0  0x4000afb0 in _dl_error_number ()
(gdb) bt
#0  0x4000afb0 in _dl_error_number ()
#1  0x400021e5 in _dl_boot () at boot1.c:897
#2  0x1 in ?? ()
Cannot access memory at address 0xbfffd21c.
(gdb) 

Since I suspected the libdl stuff to be causing problems, I upgraded to
the latest libc/ld.so combination ( 5.4.23 / 1.9.2 ), but the problem still
occurs. The Linux notes mentioned something about not finding libdl.so,
but that didn't apply in the case, the correct library seems to be being 
located.

If I build kaffe with --enable-staticlib, it seems to work correctly.

This problem I also had with 0.8.4. Any light you can shed would be much
appreciated. Thanks.

A.

-- 
Alligator Descartes       |
descarte at hermetica.com    |   "Lobey est le petit garcon!" -- Bud Neill
http://www.hermetica.com  |



More information about the kaffe mailing list