Subject: load bus error

From: Tobias Kunze <[email-masked]>
Date: Sun, 25 Apr 1999 19:09:56 -0400

Hi-

Does anyone have any idea why loading init.fas during make lispinit.mem
dumps core?

  tkunze@ulysses:/disk3/local/lisp/clisp-1999-01-08/src [17]> ./lisp.run -N
locale -norc
    i i i i i i i       ooooo    o        ooooooo   ooooo   ooooo   
    I I I I I I I      8     8   8           8     8     o  8    8  
    I I I I I I I      8         8           8     8        8    8  
    I I I I I I I      8         8           8      ooooo   8oooo   
    I  \ `+' /  I      8         8           8           8  8       
     \  `-+-'  /       8     o   8           8     o     8  8       
      `-__|__-'         ooooo    8oooooo  ooo8ooo   ooooo   8       
          |                                                         
    ------+------     Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
                      Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
                      Copyright (c) Pierpaolo Bernardi, Sam Steingold 1998

  WARNING: No initialisation file specified.
  Please try: ./lisp.run -M lispinit.mem

  > (load "init.fas")
  ;; Loading file defseq.fas ...Bus error (core dumped)

Attached you will find the dbx backtrace.  The system is Irix 6.5.2f and
the compilers are MIPSpro 7.2.1.3:

  tkunze@ulysses:~ [21]> showprods -1 eoe c_fe
  I = Installed, R = Removed

     Name                 Date        Description
  I  c_fe                 04/23/1999  C Front-end, 7.2.1.3m
  I  eoe                  04/16/1999  IRIX Execution Environment, 6.5.2f

-Tobias

______________________________________________________________________

Tobias Kunze                     [email-masked]
CCRMA, Stanford University       http://www-ccrma.stanford.edu/~tkunze

---

From: Tobias Kunze <[email-masked]>
Date: Sun, 25 Apr 1999 19:44:57 -0400

Uh, and another bus error in my brain: forgot to attach the dbx
trace...  So here it goes.

Sorry.

kunze@ulysses:/disk3/local/lisp/clisp-1999-01-08/src [19]> dbx ./lisp.run core
dbx version 7.2.1.3m Dec 23 1998 01:09:37
Core from signal SIGBUS: Bus error
(dbx) where
>  0 setjmp(0x7fff19e4, 0x10158d14, 0x10158d14, 0x10155c48, 0x10158d10, 0x10158d10, 0x10155c48, 0x10158d0c) ["/xlv52/6.5.2f/work/irix/lib/libc/libc_n32_M3/signal/setjmp.s":130, 0xfac8ac4]
   1 interpret_bytecode_(0x7fff19e4, 0x10158d14, 0x10158d14, 0x10155c48, 0x10158d10, 0x10158d10, 0x10155c48, 0x10158d0c) ["/disk3/local/lisp/clisp-1999-01-08/src/eval.d":7515, 0x100388a4]
   2 funcall_closure(0x268684e1, 0x5, 0x10158d14, 0x0, 0x10158d10, 0x10158d10, 0x10155c48, 0x10158d0c) ["/disk3/local/lisp/clisp-1999-01-08/src/eval.d":5811, 0x100303e0]
   3 funcall(0x0, 0x0, 0x10158d14, 0x10155c48, 0x10158d10, 0x10158d10, 0x10155c48, 0x10158d0c) ["/disk3/local/lisp/clisp-1999-01-08/src/eval.d":5026, 0x1002f2e4]
   4 interpret_bytecode_(0x7fff19e4, 0x10158d14, 0x10158d14, 0x10155c48, 0x10158d10, 0x10158d10, 0x10155c48, 0x10158d0c) ["/disk3/local/lisp/clisp-1999-01-08/src/eval.d":7010, 0x10035068]
   5 funcall_closure(0x26868d49, 0x0, 0x10158d14, 0x0, 0x10158d10, 0x10158d10, 0x10155c48, 0x10158d0c) ["/disk3/local/lisp/clisp-1999-01-08/src/eval.d":5829, 0x10030564]
   6 funcall(0x26868d49, 0x0, 0x10158d14, 0x10155c48, 0x10158d10, 0x10158d10, 0x10155c48, 0x10158d0c) ["/disk3/local/lisp/clisp-1999-01-08/src/eval.d":5019, 0x1002f244]
   7 C_load(0x7fff19e4, 0x10158d14, 0x10158d14, 0x10155c48, 0x10158d10, 0x10158d10, 0x10155c48, 0x10158d0c) ["/disk3/local/lisp/clisp-1999-01-08/src/debug.d":422, 0x100b0b30]
   8 eval_subr(0x10141b52, 0x10158d14, 0x10158d14, 0x10155c48, 0x10158d10, 0x10158d10, 0x0, 0x10158d0c) ["/disk3/local/lisp/clisp-1999-01-08/src/eval.d":3649, 0x10029214]
   9 eval1(0x10155c48, 0x10158d14, 0x10158d14, 0x10155c48, 0x10158d10, 0x10158d10, 0x10155c48, 0x10158d0c) ["/disk3/local/lisp/clisp-1999-01-08/src/eval.d":3128, 0x1002863c]
   10 eval(0x69a0dc23, 0x10145861, 0x10158d14, 0x10155c48, 0x10158d10, 0x10158d10, 0x10155c48, 0x10158d0c) ["/disk3/local/lisp/clisp-1999-01-08/src/eval.d":2980, 0x10027f0c]
   11 C_read_eval_print(0x7fff19e4, 0x10158d14, 0x10158d14, 0x10155c48, 0x10158d10, 0x10158d10, 0x10155c48, 0x10158d0c) ["/disk3/local/lisp/clisp-1999-01-08/src/debug.d":240, 0x100b01c8]
   12 funcall_subr(0x10141b3a, 0x1, 0x10158d14, 0x10155c48, 0x10158d10, 0x10158d10, 0x10155c48, 0x10158d0c) ["/disk3/local/lisp/clisp-1999-01-08/src/eval.d":5391, 0x1002f584]
   13 funcall(0x10141b3a, 0x0, 0x10158d14, 0x10155c48, 0x10158d10, 0x10158d10, 0x10155c48, 0x10158d0c) ["/disk3/local/lisp/clisp-1999-01-08/src/eval.d":5017, 0x1002f1f0]
   14 driver(0x7fff19e4, 0x10158d14, 0x10158d14, 0x10155c48, 0x10158d10, 0x10158d10, 0x10155c48, 0x10158d0c) ["/disk3/local/lisp/clisp-1999-01-08/src/debug.d":312, 0x100b0614]
   15 main(0x4, 0x7fff2ee8, 0x10158d14, 0x4, 0x10158d10, 0x10158d10, 0x10155c48, 0x10158d0c) ["/disk3/local/lisp/clisp-1999-01-08/src/spvw.d":2928, 0x1001e888]
   16 __start() ["/xlv55/kudzu-apr12/work/irix/lib/libc/libc_n32_M3/csu/crt1text.s":177, 0x10015584]
(dbx)

---

From: Bruno Haible <[email-masked]>
Date: Mon, 26 Apr 1999 21:13:40 +0200 (MET DST)

> Does anyone have any idea why loading init.fas during make lispinit.mem

Please try this patch. Thanks for the dbx backtrace, it quickly led me to
`setjmp' which is somewhat particular on IRIX 6.5.

                   Bruno