Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1051069: slime: 2.2.28 gives "Lisp connection closed unexpectedly: connection broken by remote peer"

29 views
Skip to first unread message

Gijs Hillenius

unread,
Sep 2, 2023, 3:20:04 AM9/2/23
to
Package: slime
Version: 2:2.28+dfsg-1
Severity: important

Dear Maintainer,

Slime 2:2.28+dfsg-1 will result in
Lisp connection closed unexpectedly: connection broken by remote peer
as soon as I evaluate a Lisp file.

../../usr/share/emacs/site-lisp/elpa/slime-2.28/contrib/slime-references.el: Warning: ‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead.
Polling "/tmp/slime.87709" .. 1 (Abort with ‘M-x slime-abort-connection’.)
Polling "/tmp/slime.87709" .. 2 (Abort with ‘M-x slime-abort-connection’.)
Polling "/tmp/slime.87709" .. 3 (Abort with ‘M-x slime-abort-connection’.)
Connecting to Swank on port 42941..
Connected. Let the hacking commence!
Open my.lisp
Lisp connection closed unexpectedly: connection broken by remote peer

A work around is to go back to 2:2.27 where this disconnect doesn't occur.


-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.4.0-3-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages slime depends on:
ii dh-elpa-helper 2.0.17
ii emacsen-common 3.0.5

Versions of packages slime recommends:
ii cl-swank 2:2.28+dfsg-1
ii emacs 1:29.1+1-5
ii emacs-gtk [info-browser] 1:29.1+1-5

Versions of packages slime suggests:
ii hyperspec 1.33

-- no debconf information

Gijs Hillenius

unread,
Sep 3, 2023, 4:10:05 AM9/3/23
to

some more info


emacs -q --debug-init

evaluate this:

(require 'slime)
(setq inferior-lisp-program "sbcl")

m-x slime

load some lisp code, and see the connection closed.

This is reported in *Messages*:

Lisp connection closed unexpectedly: connection broken by remote peer

Error during redisplay: (eval (slime-modeline-string)) signaled (error "Connection closed.") [2 times]



M-x slime also returns 19 warnings from the native compiler..

Gijs Hillenius

unread,
Sep 10, 2023, 6:40:04 AM9/10/23
to

It looks like I managed to resolve this by cleaning out

.cache/common-lisp/

which forces the rebuilding of

.cache/common-lisp/2.3.7.debian-linux-x64/

when I restarted Emacs, and M-x slime
0 new messages