Hello,
tried to get some more information from the crash.


# IKARUS_SRC_DIR=.   IKARUS_BUILD_DIR=.   IKARUS_FASL_DIRECTORY=''   
IKARUS_LIBRARY_PATH=.:.:./../lib  gdb -q --args   ../src/ikarus -b 
./ikarus.boot.4.prebuilt   --r6rs-script ./makefile.ss
Reading symbols from ../src/ikarus...done.
(gdb) directory 
/home/benutzer/debian/ikarus/ikarus/orig/ikarus-0.0.3+bzr.2010.01.26/src
Source directories searched: 
/home/benutzer/debian/ikarus/ikarus/orig/ikarus-0.0.3+bzr.2010.01.26/src:$cdir:$cwd
(gdb) run
Starting program: 
/home/benutzer/debian/ikarus/ikarus/orig/ikarus-0.0.3+bzr.2010.01.26/src/ikarus 
-b ./ikarus.boot.4.prebuilt --r6rs-script ./makefile.ss
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0xb7c890b8 in ?? ()
(gdb) bt
#0  0xb7c890b8 in ?? ()
#1  0x80007ffe in memmove (__len=<optimized out>, __src=<optimized out>, 
__dest=<optimized out>) at /usr/include/i386-linux-gnu/bits/string3.h:59
#2  ik_exec_code (pcb=0x80021008, code_ptr=3065696261, argcount=0, cp=0) at 
ikarus-exec.c:73
#3  0x80008f59 in ik_fasl_load (pcb=0x80021008, fasl_file=0xbffff75f 
"./ikarus.boot.4.prebuilt") at ikarus-fasl.c:114
#4  0x80009f21 in ikarus_main (argc=3, argv=0xbffff5c4, boot_file=0xbffff75f 
"./ikarus.boot.4.prebuilt") at ikarus-main.c:87
#5  0x8000509c in main (argc=3, argv=<optimized out>) at ikarus.c:72
(gdb) up
#1  0x80007ffe in memmove (__len=<optimized out>, __src=<optimized out>, 
__dest=<optimized out>) at /usr/include/i386-linux-gnu/bits/string3.h:59
59        return __builtin___memmove_chk (__dest, __src, __len, __bos0 
(__dest));
(gdb) up
#2  ik_exec_code (pcb=0x80021008, code_ptr=3065696261, argcount=0, cp=0) at 
ikarus-exec.c:73
73          memmove((char*)(long)new_fbase + argc,
(gdb) print/x new_fbase
$2 = 0xb78dfa14
(gdb) print argc
$3 = <optimized out>
(gdb) list
68            exit(-10);
69          }
70          pcb->next_k = k->next;
71          ikptr fbase = pcb->frame_base - wordsize;
72          ikptr new_fbase = fbase - framesize;
73          memmove((char*)(long)new_fbase + argc,
74                  (char*)(long)fbase + argc,
75                  -argc);
76          memcpy((char*)(long)new_fbase, (char*)(long)top, framesize);
77          argc = ik_asm_reenter(pcb, new_fbase, argc);
(gdb) print framesize
$4 = 12
(gdb) print/x fbase
$5 = <optimized out>
(gdb) up
#3  0x80008f59 in ik_fasl_load (pcb=0x80021008, fasl_file=0xbffff75f 
"./ikarus.boot.4.prebuilt") at ikarus-fasl.c:114
114         ikptr val = ik_exec_code(pcb, v, 0, 0);
(gdb) print pcb
$6 = (ikpcb *) 0x80021008
(gdb) print *pcb
$7 = {allocation_pointer = 3083378008, allocation_redline = 3083722752, 
frame_pointer = 3079535140, frame_base = 3079535140, frame_redline = 
3075350528, next_k = 3083377997, system_stack = 3221222284, dirty_vector = 
3063017472, arg_list = 3075297577, 
  engine_counter = 15420512, interrupted = 0, base_rtd = 3075301477, 
collect_key = 47, callbacks = 0x0, root0 = 0x0, root1 = 0x0, segment_vector = 
0xb6919000, weak_pairs_ap = 3086998576, weak_pairs_ep = 3086999552, heap_base = 
3079536640, heap_size = 4194304, 
  heap_pages = 0x0, cached_pages = 0xb7fd2c08, uncached_pages = 0xb7fd2c00, 
cached_pages_base = 3086794752, cached_pages_size = 32768, stack_base = 
3075342336, stack_size = 4194304, symbol_table = 47, gensym_table = 3075268613, 
protected_list = {0xb6ac7000, 0xb6abf000, 
    0x0, 0x0, 0x0}, dirty_vector_base = 0xb6bf9000, segment_vector_base = 
0xb6bf3000, memory_base = 3061841920, memory_end = 3087007744, collection_id = 
2, allocation_count_minor = 8169088, allocation_count_major = 0, collect_utime 
= {tv_sec = 0, tv_usec = 4000}, 
  collect_stime = {tv_sec = 0, tv_usec = 4000}, collect_rtime = {tv_sec = 0, 
tv_usec = 9718}, last_errno = 0}
(gdb) print/x *pcb
$8 = {allocation_pointer = 0xb7c89d58, allocation_redline = 0xb7cde000, 
frame_pointer = 0xb78dfa24, frame_base = 0xb78dfa24, frame_redline = 
0xb74e2000, next_k = 0xb7c89d4d, system_stack = 0xbffff38c, dirty_vector = 
0xb691f000, arg_list = 0xb74d5129, 
  engine_counter = 0xeb4c60, interrupted = 0x0, base_rtd = 0xb74d6065, 
collect_key = 0x2f, callbacks = 0x0, root0 = 0x0, root1 = 0x0, segment_vector = 
0xb6919000, weak_pairs_ap = 0xb7ffdc30, weak_pairs_ep = 0xb7ffe000, heap_base = 
0xb78e0000, heap_size = 0x400000, 
  heap_pages = 0x0, cached_pages = 0xb7fd2c08, uncached_pages = 0xb7fd2c00, 
cached_pages_base = 0xb7fcc000, cached_pages_size = 0x8000, stack_base = 
0xb74e0000, stack_size = 0x400000, symbol_table = 0x2f, gensym_table = 
0xb74ce005, protected_list = {0xb6ac7000, 
    0xb6abf000, 0x0, 0x0, 0x0}, dirty_vector_base = 0xb6bf9000, 
segment_vector_base = 0xb6bf3000, memory_base = 0xb6800000, memory_end = 
0xb8000000, collection_id = 0x2, allocation_count_minor = 0x7ca680, 
allocation_count_major = 0x0, collect_utime = {tv_sec = 0x0, 
    tv_usec = 0xfa0}, collect_stime = {tv_sec = 0x0, tv_usec = 0xfa0}, 
collect_rtime = {tv_sec = 0x0, tv_usec = 0x25f6}, last_errno = 0x0}
(gdb) print v
$9 = <optimized out>



But as the package already dropped out of stretch and
upstream development seems to have stopped some years ago...

Kind regards,
Bernhard

Reply via email to