Debian Bug report logs - #852750
libreadline7: readline() interferes with blocked SIGALRM

version graph

Package: libreadline7; Maintainer for libreadline7 is Matthias Klose <[email protected]>; Source for libreadline7 is src:readline (PTS, buildd, popcon).

Affects: twinkle-console

Reported by: Frédéric Brière <[email protected]>

Date: Thu, 26 Jan 2017 23:18:02 UTC

Severity: serious

Tags: fixed-upstream, patch, upstream

Found in version readline/7.0-1

Fixed in version readline/7.0-3

Done: Matthias Klose <[email protected]>

Bug is archived. No further changes may be made.

Forwarded to https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Matthias Klose <[email protected]>:
Bug#852750; Package libreadline7. (Thu, 26 Jan 2017 23:18:04 GMT) (full text, mbox, link).


Acknowledgement sent to Frédéric Brière <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Matthias Klose <[email protected]>. (Thu, 26 Jan 2017 23:18:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Frédéric Brière <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: libreadline7: readline() interferes with blocked SIGALRM
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



Added indication that 852750 affects twinkle-console Request was from Frédéric Brière <[email protected]> to [email protected]. (Thu, 26 Jan 2017 23:18:04 GMT) (full text, mbox, link).


Information forwarded to [email protected], Matthias Klose <[email protected]>:
Bug#852750; Package libreadline7. (Sun, 14 May 2017 16:00:04 GMT) (full text, mbox, link).


Acknowledgement sent to Peter Colberg <[email protected]>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <[email protected]>. (Sun, 14 May 2017 16:00:04 GMT) (full text, mbox, link).


Message #12 received at [email protected] (full text, mbox, reply):

From: Peter Colberg <[email protected]>
To: [email protected]
Cc: Frédéric Brière <[email protected]>
Subject: Re: Bug#852750: libreadline7: readline() interferes with blocked SIGALRM
Date: Sun, 14 May 2017 11:57:44 -0400
Control: tags -1 fixed-upstream
Control: severity -1 serious
Justification: renders package twinkle-console unusable by all users

Hi Matthias,

Could you apply upstream patch 003 to resolve this issue?

https://ftp.gnu.org/gnu/readline/readline-7.0-patches/readline70-003

Please let me know if you are busy, in which case I can offer to
upload an NMU (via sponsorship) and request an unblock for stretch.

Regards,
Peter



Added tag(s) fixed-upstream. Request was from Peter Colberg <[email protected]> to [email protected]. (Sun, 14 May 2017 16:00:05 GMT) (full text, mbox, link).


Severity set to 'serious' from 'normal' Request was from Peter Colberg <[email protected]> to [email protected]. (Sun, 14 May 2017 16:00:05 GMT) (full text, mbox, link).


Reply sent to Matthias Klose <[email protected]>:
You have taken responsibility. (Mon, 15 May 2017 21:09:13 GMT) (full text, mbox, link).


Notification sent to Frédéric Brière <[email protected]>:
Bug acknowledged by developer. (Mon, 15 May 2017 21:09:13 GMT) (full text, mbox, link).


Message #21 received at [email protected] (full text, mbox, reply):

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: Bug#852750: fixed in readline 7.0-3
Date: Mon, 15 May 2017 21:08:29 +0000
Source: readline
Source-Version: 7.0-3

We believe that the bug you reported is fixed in the latest version of
readline, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <[email protected]> (supplier of updated readline package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 15 May 2017 13:00:23 -0700
Source: readline
Binary: libreadline7 lib64readline7 readline-common libreadline-dev lib64readline-dev libreadline7-dbg rlfe lib32readline7 lib32readline-dev readline-doc
Architecture: source
Version: 7.0-3
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <[email protected]>
Changed-By: Matthias Klose <[email protected]>
Description:
 lib32readline-dev - GNU readline and history libraries, development files (32-bit)
 lib32readline7 - GNU readline and history libraries, run-time libraries (32-bit)
 lib64readline-dev - GNU readline and history libraries, development files (64-bit)
 lib64readline7 - GNU readline and history libraries, run-time libraries (64-bit)
 libreadline-dev - GNU readline and history libraries, development files
 libreadline7 - GNU readline and history libraries, run-time libraries
 libreadline7-dbg - GNU readline and history libraries, debugging libraries
 readline-common - GNU readline and history libraries, common files
 readline-doc - GNU readline and history libraries, documentation and examples
 rlfe       - Front-end using readline to "cook" input lines for other programs
Closes: 852750
Changes:
 readline (7.0-3) unstable; urgency=medium
 .
   * Apply upstream patches 002 and 003. Closes: #852750.
Checksums-Sha1:
 875fad9fe37706c09e7a33a4232c9b3f0650876b 2538 readline_7.0-3.dsc
 681616c51d54d305858a8094d48649feb39d0c5a 30012 readline_7.0-3.debian.tar.xz
 251e97b5a2b7398195c90e09ac43e237bb8ec501 7040 readline_7.0-3_source.buildinfo
Checksums-Sha256:
 f27a5dc9053b88641e3effc6c03b7840cbbbd887e8dcaf05d9e336c7bc7c6a53 2538 readline_7.0-3.dsc
 bf166310d6ca7716f2bd0e9e06cee2458b0157f7989d028730fc305643560175 30012 readline_7.0-3.debian.tar.xz
 95a00c6ff9a6ffc21e4dfad7f04a9284218ed2bc1dfb4aa611553a1467622a29 7040 readline_7.0-3_source.buildinfo
Files:
 c753d77505dd6b7b24fad5a2c722a444 2538 libs important readline_7.0-3.dsc
 52392ece8b9b3864e031f77f8e7e69b8 30012 libs important readline_7.0-3.debian.tar.xz
 273bb1db593134c978af7fb8c7c0b830 7040 libs important readline_7.0-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAlkaCv0QHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9Wr2EACwczQDxCK5Pm6P/+wDnFyy0CoDZPLYSdH1
oo2AYBIhXK5BIvKitOS75K0Va8EaXQog//8jHenYNesoA/DfCmNUxzliSxf+vQ6V
qL4e7m5FKJHDXp7CqwXbemJNHlB5zsA6mFstqttO65rrPvfxFxVVIti26FIXZhai
AqvIj0a7w04aE+4/QRWHoqPqO+G4gEu+AHqw91NsbHYu71iDzFqXSfxCp5Vjbmxm
XBMAi2bbxWirekatZb4Cc+mhNPGeVusvRgQXrpcITC2WkMcK5vq8TtFgXGMwzwjy
CbonRMGzqqvE2xMSIn17n3HMlHRgM87mCH/SAXeImwIP2jwRQKTSmreSJSWra45o
kD/0da3Iq0qcMuCL4uSjAEpU/oDYX8CF/8KyenUUd2f7y2ucNGteulie0rgn2GRj
Q598yiEexuBL3/V3/X9lMwgLI9NEBHd409r7jtMmt5EnunBukV6OFPdxJ9sqG8Mq
u0qAE+iuwSx1IrdFXg374DIa57qpX6KQg+7EuNUH+/6pBBC3vT7HLIwDuEIP+VfG
aVnT8wymxHEjZXJ5P/Pp2c1CSpVYM8OgdCZPZ5ofjf+kOvMTusYTFqsX13yeN8sQ
/58JFwmf+IgAFJtGKkSqZJRgnadG3YYSCWMXNwYXrL0ohg523zQlTbOKNy7m+28E
Qmm2Lfv7aA==
=6aay
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <[email protected]> to [email protected]. (Sun, 16 Jul 2017 07:42:48 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Fri May 16 09:35:43 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.