Segmentation fault on Raspberry pi

Christer Enfors christer.enfors at gmail.com
Wed Dec 18 08:28:59 UTC 2013


Greetings!

I'm trying to run SLIME on a Raspberry pi (a USD 35 computer), but it seems
CLisp crashes when I try to start SLIME:

===CUT===
(progn (load "/usr/share/common-lisp/source/slime/swank-loader.lisp"
:verbose t\
) (funcall (read-from-string "swank-loader:init")) (funcall
(read-from-string "\
swank:start-server") "/tmp/slime.9481"))

  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      8         8           8     8        8    8
   \  `-+-'  /       8         8           8      ooooo   8oooo
    `-__|__-'        8         8           8           8  8
        |            8     o   8           8     o     8  8
  ------+------       ooooo    8oooooo  ooo8ooo   ooooo   8

Welcome to GNU CLISP 2.49 (2010-07-07) <http://clisp.cons.org/>

Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2000
Copyright (c) Sam Steingold, Bruno Haible 2001-2010

Type :h and hit Enter for context help.

[1]>
;; Loading file /usr/share/common-lisp/source/slime/swank-loader.lisp ...
;;  Loading file /usr/share/common-lisp/source/cl-asdf/asdf.lisp ...
*** - handle_fault error2 ! address = 0x369564a4 not in
[0x1ab8c000,0x1acda7c0)\
 !
SIGSEGV cannot be cured. Fault address = 0x369564a4.
GC count: 0
Space collected by GC: 0 0
Run time: 0 500000
Real time: 1 281123
GC time: 0 0
Permanently allocated: 90368 bytes.
Currently in use: 2422148 bytes.
Free space: 4 bytes.

Process inferior-lisp segmentation fault
===CUT===

Seems to me like it's running out of memory, which is surprising
considering the Raspberry pi has 512 MB RAM, oodles of which is free:

===CUT===
enfors at raspberrypi /etc $ free
             total       used       free     shared    buffers     cached
Mem:        448736     357180      91556          0      26416     291876
-/+ buffers/cache:      38888     409848
Swap:       102396          0     102396
enfors at raspberrypi /etc $
===CUT===

(In case the formatting looks off on your display, it has 91 MB free RAM,
409 MB if you don't count buffers).

Other information:
Operating system: Latest version of Raspberian (based on Debian, I believe)
CLisp implementation: GNU CLISP version 2.49
Emacs version: 23.4.1

I'm not sure how to extract SLIME's version number, but it's the one that
came with Emacs.

Any help is greatly appreciated.

-- 
Christer Enfors
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20131218/169d91fb/attachment.html>


More information about the slime-devel mailing list