Subject: libreadline7: readline() interferes with blocked SIGALRM

From: Frédéric Brière <[email-masked]>
Date: Thu, 26 Jan 2017 18:15:41 -0500

Package: libreadline7
Version: 7.0-1
Severity: normal
Tags: patch upstream
Forwarded: https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html
Control: affects -1 twinkle-console

readline() in 7.0-1 calls pselect() with an empty sigmask, thereby
unblocking all signals beforehand.  This causes twinkle-console to abort
after a few seconds, due to a now-unblocked SIGALRM being delivered to
the main thread, instead of the one calling sigwait().

Upstream has posted a one-line patch to fix this issue.  Is it too late
to have it applied before the freeze?  Otherwise, twinkle-console will
be pretty much unusable in stretch.

-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-2-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages libreadline7 depends on:
ii  libc6            2.24-9
ii  libtinfo5        6.0+20161126-1
ii  readline-common  7.0-2

libreadline7 recommends no packages.

libreadline7 suggests no packages.

-- no debconf information