[cmucl-help] help a newbee to start cmucl

Bharat Shetty bshetty at gmail.com
Tue Aug 4 04:09:35 UTC 2015


Hi Ray,

I created .cmucl-init.lisp on my home directory added (require :asdf) to
it. Then started cmucl. And i get a similar log:
$ cmucl
; Loading #P"/home/bharath/.cmucl-init.lisp".
;; Loading #P"/usr/share/common-lisp/source/cmucl/contrib/asdf/asdf.lisp".
; Converted DEFGENERIC*.
; Converted DEFUN*.
; Compiling LAMBDA (.PV-CELL. .NEXT-METHOD-CALL. X):
; Compiling Top-Level Form:
; Compiling LAMBDA (.PV-CELL. .NEXT-METHOD-CALL. X):
; Compiling Top-Level Form:
; Compiling LAMBDA (.PV-CELL. .NEXT-METHOD-CALL. X):
; Compiling Top-Level Form:
; Compiling LAMBDA (.PV-CELL. .NEXT-METHOD-CALL. X):
; Compiling Top-Level Form:
; Compiling LAMBDA (.PV-CELL. .NEXT-METHOD-CALL. X):
; Compiling Top-Level Form:
; Compiling LAMBDA (.PV-CELL. .NEXT-METHOD-CALL. X):
; Compiling Top-Level Form:

Arithmetic error DIVISION-BY-ZERO signalled.
Operation was /, operands (99.0 0.0).
   [Condition of type DIVISION-BY-ZERO]

Restarts:
  0: [CONTINUE] Return NIL from load of
"/usr/share/common-lisp/source/cl-asdf/asdf.lisp".
  1:            Return NIL from load of
"/usr/share/common-lisp/source/slime/swank-loader.lisp".
  2: [ABORT   ] Return to Top-Level.

Debug  (type H for help)

(X86:SIGFPE-HANDLER #<unused-arg> #<unused-arg> #.(SYSTEM:INT-SAP
#x3FFFACFC))
Source:
; File: target:code/float-trap.lisp
(ERROR 'DIVISION-BY-ZERO :OPERATION FOP :OPERANDS ...)
0]

So looks like the issue is with the packaged asdf itself. Can you please
give me any pointers on debugging slime initialisation ? Searching for this
only yields pages on debugging lisp from SLIME and not debugging SLIME
itself.


Regards,
Bharat


On Tue, Aug 4, 2015 at 1:47 AM, Raymond Toy <toy.raymond at gmail.com> wrote:

> >>>>> "Bharat" == Bharat Shetty <bshetty at gmail.com> writes:
>
>     Bharat> Hi,
>     Bharat> This is the log I get when i start emacs and run Alt-x slime
> therein:
>
>     Bharat> (progn (load
> "/usr/share/common-lisp/source/slime/swank-loader.lisp"
>     Bharat> :verbose t) (funcall (read-from-string "swank-loader:init"))
> (funcall
>     Bharat> (read-from-string "swank:start-server") "/tmp/slime.5905"))
>
> One possible workaround.  20c comes with asdf, so in your
> .cmucl-init.lisp add (require :asdf) so that the version from 20c is
> included instead of whatever version you're loading.  This might not
> work depending on what features of asdf you want to use.
>
> --
> Ray
>
> _______________________________________________
> cmucl-help mailing list
> cmucl-help at cmucl.cons.org
> http://lists.zs64.net/mailman/listinfo/cmucl-help
>


More information about the cmucl-help mailing list