Subject: bug#24852: guile --listen=/path/to/socket: "ERROR: In procedure select: Interrupted system call"

From: Christopher Allan Webber <[email-masked]>
Date: Tue, 01 Nov 2016 14:34:51 -0500

Build Guile master, then do:

  ./meta/guile --listen=/tmp/guile-socket

Connect from emacs like so:

  M-x guile-connect-local

You'll connect, but if you look at the shell you spawned Guile in,
you'll see:

  ERROR: In procedure select: Interrupted system call

You'll also find that where you would expect to have a working REPL,
it's now blocked, and does not appear to become unblocked even after
exiting the connected REPL.  You also won't be able to spawn a second
REPL via `guile-connect-local'.

This doesn't happen in Guile's 2.0.X stable releases, only in latest
master afaict.

I wonder if it has something to do with recent changes in the way ports
suspend?