Bug#1093776: perl: occasionally hangs and no longer responds to trapped signals
Vincent Lefevre
vincent at vinc17.net
Wed Jan 22 15:39:04 GMT 2025
Package: perl
Version: 5.36.0-7+deb12u1
Severity: normal
I have a Perl script that hung twice. Some signals are trapped
in the following way:
$SIG{'INT'} = sub
{ maplepid and quitmaple;
$SIG{'PIPE'} = 'DEFAULT';
warn "Interrupt\n";
exit; };
$SIG{'QUIT'} = sub
{ maplepid and quitmaple;
$SIG{'PIPE'} = 'DEFAULT';
warn "Quit\n";
$SIG{'QUIT'} = 'DEFAULT';
kill 'QUIT', $$; };
While strace shows that perl received these signals, perl doesn't
output anything (note: maplepid returns undef) and these signals
are completely ignored.
Note that this issue is rather rare: the script is running
continuously, the this issue occurred twice in several months.
-- System Information:
Debian Release: 12.9
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-30-amd64 (SMP w/28 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages perl depends on:
ii dpkg 1.21.22
ii libperl5.36 5.36.0-7+deb12u1
ii perl-base 5.36.0-7+deb12u1
ii perl-modules-5.36 5.36.0-7+deb12u1
Versions of packages perl recommends:
ii netbase 6.4
Versions of packages perl suggests:
pn libtap-harness-archive-perl <none>
pn libterm-readline-gnu-perl | libterm-readline-perl-perl <none>
ii make 4.3-4.1
ii perl-doc 5.36.0-7+deb12u1
-- no debconf information
--
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the Perl-maintainers
mailing list