• Bug#1104726: die() hangs with strange strings in strange environments

    From Niko Tyni@21:1/5 to Niko Tyni on Fri May 16 16:10:01 2025
    Control: forwarded -1 https://github.com/Perl/perl5/issues/14362

    On Tue, May 06, 2025 at 12:16:50AM +0300, Niko Tyni wrote:
    On Mon, May 05, 2025 at 12:47:21PM +0200, Marc Haber wrote:
    Package: perl
    Version: 5.40.1-3
    Severity: normal

    tl;dr: die() hangs with high CPU usage in a certain environment with a lot of preparation.

    Thanks for the report.

    I got it down to

    and further to

    perl -we 'binmode(STDERR, ":encoding(us-ascii)"); warn "\x{ff}" x 100'

    It turns out this (or something very much like it) was already reported upstream at https://github.com/Perl/perl5/issues/14362 .

    I've added information to the upstream issue, but I don't expect a
    quick resolution.
    --
    Niko

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Haber@21:1/5 to Niko Tyni on Sat May 17 18:20:02 2025
    On Fri, May 16, 2025 at 05:07:39PM +0300, Niko Tyni wrote:
    It turns out this (or something very much like it) was already reported >upstream at https://github.com/Perl/perl5/issues/14362 .

    I've added information to the upstream issue, but I don't expect a
    quick resolution.

    I had worked around in adduser anyway, I think the error message is a
    bit less helpful now, but *shrug*

    I really really appreciate the way you handled this report. It gave me
    the impression that the hours I spent (on Minidebconf Hamburg) for a
    not quite minimal reproducer were well spent. Thank you for your work!

    Greetings
    Marc


    -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)