linedit icon indicating copy to clipboard operation
linedit copied to clipboard

Start up linedit fails with SBCL 2.3.10

Open MartinBuchmann opened this issue 1 year ago • 1 comments

I am using linedit for years on different machines with different versions of SBCL without issues but on my latest installation it fails during start-up of SBCL with the following error:

Linedit version 0.17.6, smart mode, ESC-h for help.

debugger invoked on a OSICAT-POSIX:EFAULT in thread
#<THREAD "main thread" RUNNING {7005320673}>:
  #<EFAULT OSICAT-POSIX::%IOCTL-WITH-ARG 14 :EFAULT "Bad address">

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT] Exit debugger, returning to top level.

((FLET "CLEANUP-FUN-14" :IN LINEDIT:LINEDIT)) [cleanup]
   source: (WITH-BACKEND *EDITOR* (EDIT))
0]

It loads via quicklisp without problems, but fails as soon as I install the REPL with (funcall (intern "INSTALL-REPL" :linedit) :wrap-current t).

Any ideas what's wrong here and what I can do to solve this issue?

Thanks Martin

MartinBuchmann avatar Nov 07 '23 08:11 MartinBuchmann

Same problem on SBCL 2.4.1 running on macOS 14.2.1 on an M1 (aarch64) laptop. I have tried loading with (funcall (intern "INSTALL-REPL" :linedit) :wrap-current t :eof-quits t) and (linedit:install-repl :wrap-current t :eof-quits t), both suffer the same "Bad address" problem.

Any tips?

wyan avatar Jan 30 '24 12:01 wyan