Bug#1104726: die() hangs with strange strings in strange environments
Niko Tyni
ntyni at debian.org
Fri May 16 15:07:39 BST 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
More information about the Perl-maintainers
mailing list