SBCL dies when it has an USB device opened which gets unplugged and SLIME is open

Bug #1637840 reported by Johan Sjolen on 2016-10-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

What I do:

I run SBCL with SLIME and I have a uno32 board (using the FT232R USB serial converter) plugged in.
I do
(defparameter out (open "/dev/ttyUSB0" :element-type 'base-char :direction :io :if-exists :append))
and I then unplug the USB device.

What happens:
SBCL dies (Lisp connection unexpectedly closed error in SLIME). This only happens when SLIME is used.

What I expected to happen:
SBCL not dying/replicates behavior when running SBCL from bash (nothing happens, write-char + force-output gives I/O error).

Test case:
1. Plug in USB device
2. Run SLIME in Emacs
3.. Open with OPEN as described above in SLIME
4. Unplug device

SBCL version: 1.3.10

uname -a:

Linux johan-ThinkPad-T520 3.13.0-63-generic #103-Ubuntu SMP Fri Aug 14 21:42:59 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


Stas Boukarev (stassats) wrote :

Can't reproduce.

Changed in sbcl:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers