Delayed presentation of keyboard interrupts in SBCL under WSL

Bug #1850725 reported by Paul F. Dietz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
New
Undecided
Unassigned

Bug Description

When I load a certain compiled file with sufficiently complicated :load-toplevel forms, keyboard interrupts (C-c) no longer work. However, if a different error is stimulated, the interrupt condition is signaled instead.

In the following, r10.lsp is the file containing

(eval-when (:load-toplevel)
  (loop repeat 100 do (eval '(make-list 100000))))

This is under Ubuntu running under WSL on Windows 10, with Virtual Machine Platform enabled.

--------------------------------

This is SBCL 1.5.8.27-b8ee8710a, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
* (load (compile-file "r10.lsp"))
; compiling file "/home/dietz/ansi-test/r10.lsp" (written 30 OCT 2019 07:41:25 PM):
; compiling (LOOP REPEAT ...)

; wrote /home/dietz/ansi-test/r10.fasl
; compilation finished in 0:00:00.002
T
* ^C^C
()
NIL
* (foo)
; in: FOO
; (FOO)
;
; caught STYLE-WARNING:
; undefined function: COMMON-LISP-USER::FOO
;
; compilation unit finished
; Undefined function:
; FOO
; caught 1 STYLE-WARNING condition

debugger invoked on a SB-SYS:INTERACTIVE-INTERRUPT in thread
#<THREAD "main thread" RUNNING {10005104C3}>:
  Interactive interrupt at #x7F9290BDF1F6.

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

restarts (invokable by number or by possibly-abbreviated name):
  0: [CONTINUE] Return from SB-UNIX:SIGINT.
  1: [ABORT ] Exit debugger, returning to top level.

("bogus stack frame")
0]

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.