Comment 10 for bug 1730495

Revision history for this message
Robert Brown (robert-brown) wrote : Re: [Bug 1730495] Re: x86-64 sbcl crashes reloading swank

Thanks very much! The Slime commit fixes the problem for me.

On Mon, Nov 6, 2017 at 4:32 PM, Stas Boukarev <email address hidden> wrote:

> In
> https://github.com/slime/slime/commit/55fc578ed829b95a63c31cec242bd8
> 6a6e0be39e
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1730495
>
> Title:
> x86-64 sbcl crashes reloading swank
>
> Status in SBCL:
> Invalid
>
> Bug description:
>
> On my 64-bit Intel Ubuntu Linux laptop, if I start Emacs and then run
> SBCL with Slime, the following expression when evaluated in the Slime
> REPL crashes SBCL:
>
> (swank-loader::init :reload t)
>
> Doing the same thing on my Raspberry PI works fine. I'm pretty sure
> that the expression worked about a year ago on 64-bit Intel hardware.
>
> I see the problem with I load an ASDF system that depends on the
> swank ASDF system, since swank.asd causes ASDF to execute the above
> expression after its code is loaded.
>
>
> sbcl --version:
> SBCL 1.4.1.56-ff7a0f1
>
> uname -a:
> Linux chuwi 4.10.0-38-generic #42~16.04.1-Ubuntu SMP Tue Oct 10 16:32:20
> UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
>
> *features*:
> (:ASDF3.3 :ASDF3.2 :ASDF3.1 :ASDF3 :ASDF2 :ASDF :OS-UNIX
> :NON-BASE-CHARS-EXIST-P :ASDF-UNICODE
> :64-BIT :64-BIT-REGISTERS :ALIEN-CALLBACKS :ANSI-CL :ASH-RIGHT-VOPS
> :C-STACK-IS-CONTROL-STACK
> :COMMON-LISP :COMPACT-INSTANCE-HEADER :COMPARE-AND-SWAP-VOPS
> :COMPLEX-FLOAT-VOPS :CYCLE-COUNTER
> :ELF :FLOAT-EQL-VOPS :FP-AND-PC-STANDARD-SAVE :GENCGC
> :IEEE-FLOATING-POINT :IMMOBILE-CODE
> :IMMOBILE-SPACE :INLINE-CONSTANTS :INTEGER-EQL-VOP :LARGEFILE
> :LINKAGE-TABLE :LINUX :LITTLE-ENDIAN
> :MEMORY-BARRIER-VOPS :MULTIPLY-HIGH-VOPS :OS-PROVIDES-BLKSIZE-T
> :OS-PROVIDES-DLADDR
> :OS-PROVIDES-DLOPEN :OS-PROVIDES-GETPROTOBY-R :OS-PROVIDES-POLL
> :OS-PROVIDES-PUTWC
> :OS-PROVIDES-SUSECONDS-T :PACKAGE-LOCAL-NICKNAMES
> :PRECISE-ARG-COUNT-ERROR :RAW-INSTANCE-INIT-VOPS
> :RAW-SIGNED-WORD :RELOCATABLE-HEAP :SB-CORE-COMPRESSION :SB-DOC
> :SB-EVAL :SB-FUTEX :SB-LDB
> :SB-PACKAGE-LOCKS :SB-SIMD-PACK :SB-SOURCE-LOCATIONS :SB-THREAD
> :SB-UNICODE :SB-XREF-FOR-INTERNAL
> :SBCL :STACK-ALLOCATABLE-CLOSURES :STACK-ALLOCATABLE-FIXED-OBJECTS
> :STACK-ALLOCATABLE-LISTS
> :STACK-ALLOCATABLE-VECTORS :STACK-GROWS-DOWNWARD-NOT-UPWARD
> :SYMBOL-INFO-VOPS :UNBIND-N-VOP
> :UNDEFINED-FUN-RESTARTS :UNIX :UNWIND-TO-FRAME-AND-CALL-VOP :X86-64)
>
>
> The Emacs *inferior-lisp* buffer contains the following at the end:
>
>
> fatal error encountered in SBCL pid 5629(tid 0x7fffefdaf700):
> %PRIMITIVE HALT called; the party is over.
>
>
> Error opening /dev/tty: No such device or address
> Welcome to LDB, a low-level debugger for the Lisp runtime environment.
> ldb> fatal error encountered in SBCL pid 5629(tid 0x7ffff446f700):
> %PRIMITIVE HALT called; the party is over.
>
>
> Welcome to LDB, a low-level debugger for the Lisp runtime environment.
> ldb>
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/sbcl/+bug/1730495/+subscriptions
>