koji-kojiro / cl-repl

A full-featured repl implementation designed to work with Roswell
GNU General Public License v3.0
153 stars 22 forks source link

fail to execute any command on SBCL 2.0.3 #50

Closed ailisp closed 4 years ago

ailisp commented 4 years ago

in ros-repl or cl-repl, type 3 get this output:

➜  ~ ros-repl
cl-repl 0.6.4 on Roswell 19.08.10.101, SBCL 2.0.3
(C) 2017-2018 TANI Kojiro <kojiro0531@gmail.com>

CL-USER> 3CORRUPTION WARNING in SBCL pid 24201(tid 0x7fe7cd4ee740):
Memory fault at (nil) (pc=0x7fe7ccfeccc0, fp=0x7fe7cd00ecc0, sp=0x7fe7cd236770) tid 0x7fe7cd4ee740
The integrity of this image is possibly compromised.
Continuing with fingers crossed.
Unhandled memory fault at #x0.
 [Condition of type MEMORY-FAULT-ERROR]

Restarts:
 0: [*ABORT] Deduce debugger level.
 1: [*EXIT] Exit CL-REPL.
 2: [*RETRY] Try evaluating again.

Backtrace:
 0: (SB-SYS:MEMORY-FAULT-ERROR #<unused argument> #.(SB-SYS:INT-SAP #X00000000))
 1: ("foreign function: call_into_lisp")
 --more--

Usage:
  Ctrl+r: select restart. Ctrl+t: show backtrace.

[1]CL-USER> 

My system:

  Operating System: Ubuntu 19.04
            Kernel: Linux 5.0.0-38-generic
      Architecture: x86-64
maxwellgisborne commented 4 years ago

I have this same problem, result of evaluating (+ 1 2) bellow

CL-USER> (+ 1 2)CORRUPTION WARNING in SBCL pid 86838(tid 0x7f36c19892c0):
Memory fault at (nil) (pc=0x7f36c148df31, fp=0x7f36c14b0960, sp=0x7f36c16d67c0) tid 0x7f36c19892c0
The integrity of this image is possibly compromised.
Continuing with fingers crossed.
Unhandled memory fault at #x0.
 [Condition of type MEMORY-FAULT-ERROR]

Restarts:
 0: [*ABORT] Deduce debugger level.
 1: [*EXIT] Exit CL-REPL.
 2: [*RETRY] Try evaluating again.

Backtrace:
 0: (SB-SYS:MEMORY-FAULT-ERROR #<unused argument> #.(SB-SYS:INT-SAP #X00000000))
 1: ("foreign function: call_into_lisp")
 --more--

Usage:
  Ctrl+r: select restart. Ctrl+t: show backtrace.

[1]CL-USER> 

My system:

Operating System: Arch Linux
Kernel: Linux 5.7.2-arch1-1
Architecture: x86-64
ohmree commented 4 years ago

Same here, using SBCL 2.0.8 compiled using Roswell.

hellerve commented 4 years ago

I believe this is a duplicate of #44.

ryukinix commented 4 years ago

One solution: https://github.com/koji-kojiro/cl-repl/pull/51