kaffe 0.9.0 segfaults: Linux 2.0.30, libc 5.4.7
Sirtaj Singh Kang
ssk at physics.unimelb.edu.au
Thu Jun 5 02:28:23 PDT 1997
Hi..
I'm shiny new on this list, so please excuse transgressions.
I have been trying to compile kaffe 0.9.0 on my 486 with linux 2.0.30,
libc 5.4.7 and gcc 2.7.2.1.
kaffe and it's assorted bundled goodies compile without a warning, but
running kaffe dies immediately.
I tried debugging it, but it seems to die before it even reaches the first
line of main()...
Program received signal SIGSEGV, Segmentation fault.
0x40009f9d in flag_verify ()
I looked for flag_verify in the code but it doesn't seem to be a function
call at all...
I'll upgrade my libc and try again. But please let me know if there is
anything I'm doing blatantly wrong.
Attached is the output of strace kaffe, if it will be of any help.
-Taj.
Sirtaj S. Kang taj at kde.org ssk at physics.unimelb.edu.au
School of Physics Univ of Melbourne http://www.ph.unimelb.edu.au/~ssk/
---------------------
execve("/usr/local/bin/kaffe", ["kaffe"], [/* 37 vars */]) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40006000
mprotect(0x8000000, 7927, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
stat("/etc/ld.so.cache", {st_mode=S_IFREG|0644, st_size=4262, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
mmap(0, 4262, PROT_READ, MAP_SHARED, 3, 0) = 0x40007000
close(3) = 0
open("/usr/local/lib/libkaffe_vm.so.0.90", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 249856, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40009000
mmap(0x40009000, 192688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x40009000
mmap(0x40039000, 3156, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2f000) = 0x40039000
mmap(0x4003a000, 48640, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4003a000
close(3) = 0
mprotect(0x40009000, 192688, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
open("/lib/libc.so.5.4.7", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 782336, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40046000
mmap(0x40046000, 550215, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x40046000
mmap(0x400cd000, 20680, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x86000) = 0x400cd000
mmap(0x400d3000, 202556, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400d3000
close(3) = 0
mprotect(0x40046000, 550215, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
open("/lib/libm.so.5.0.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 36864, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40105000
mmap(0x40105000, 25844, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x40105000
mmap(0x4010c000, 5304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6000) = 0x4010c000
close(3) = 0
mprotect(0x40105000, 25844, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
open("/lib/libdl.so.1.7.14", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 12288, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4010e000
mmap(0x4010e000, 4327, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x4010e000
mmap(0x40110000, 504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x40110000
close(3) = 0
munmap(0x40007000, 4262) = 0
mprotect(0x8000000, 7927, PROT_READ|PROT_EXEC) = 0
mprotect(0x40009000, 192688, PROT_READ|PROT_EXEC) = 0
mprotect(0x40046000, 550215, PROT_READ|PROT_EXEC) = 0
mprotect(0x40105000, 25844, PROT_READ|PROT_EXEC) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
More information about the kaffe
mailing list