Bug#1012073: perl: restoring default signal handler may warn with 'SIGTERM handler "DEFAULT" not defined'

Niko Tyni ntyni at debian.org
Mon May 30 09:27:40 BST 2022


On Sun, May 29, 2022 at 05:38:40PM +0000, Damyan Ivanov wrote:
> Package: perl
> Version: 5.34.0-4
> Severity: normal

> While infestigating a random FTBFS in starlet (#923829), it appeared to me that 
> the problem is actually in perl.

> #   Failed test 'No warnings'
> #   at t/12bad_request_line.t line 24.
> # SIGTERM handler "DEFAULT" not defined.
> #  at /usr/share/perl5/Parallel/Prefork.pm line 71.
> # 	Parallel::Prefork::start(Parallel::Prefork=HASH(0x55cd856355b8)) called at .../lib/Plack/Handler/Starlet.pm line 78
> # 	Plack::Handler::Starlet::run(Plack::Handler::Starlet=HASH(0x55cd849b0ad8), CODE(0x55cd8562ac98)) called at t/12bad_request_line.t line 28
> # 	main::__ANON__(33415) called at /usr/share/perl5/Test/TCP.pm line 100
> # 	Test::TCP::start(Test::TCP=HASH(0x55cd8562aed8)) called at /usr/share/perl5/Test/TCP.pm line 82
> # 	Test::TCP::new("Test::TCP", "code", CODE(0x55cd8562aab8)) called at /usr/share/perl5/Test/TCP.pm line 28
> # 	Test::TCP::test_tcp("client", CODE(0x55cd854306b0), "server", CODE(0x55cd8562aab8)) called at t/12bad_request_line.t line 31
> # Looks like you failed 1 test of 2.
> t/12bad_request_line.t .. Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/2 subtests

Just a quick reply that a smaller reproducer would obviously help.

FWIW this looks somewhat similar to

https://github.com/perl/perl5/issues/10913

but I assume the 'prefork' references mean threads are not involved
here. So perhaps unrelated after all.
-- 
Niko




More information about the Perl-maintainers mailing list