Skip to content

crash caused by $_ conflict in signal handler #18431

Open
@iddq

Description

@iddq

Description
program exits on readline from stdin after sighandler executed

Steps to Reproduce
https://github.com/iddq/perlbug-sighandler/blob/main/sigtest.pl
uname > /tmp/test.txt
./sigtest.pl
killall -USR1 sigtest.pl

Expected behavior
sigtest.pl should not terminate

Perl configuration
Summary of my perl5 (revision 5 version 28 subversion 1) configuration:

Platform:
osname=linux
osvers=4.9.0
archname=x86_64-linux-gnu-thread-multi
uname='linux localhost 4.9.0 #1 smp debian 4.9.0 x86_64 gnulinux '

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions