New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Signal handlers aren't honoured at END time #15485
Comments
From @leonerdCreated by @leonerdThe following test program produces unexpected results: $ perl -E '$SIG{ABRT} = sub { say "Caught" }; END { kill ABRT => $$ }' The installed signal handler is not invoked, leading to the standard behaviour This appears to have broken between 5.10 and 5.12: $ perl5.10.1 -E '$SIG{ABRT} = sub { say "Caught" }; END { kill ABRT => $$ }' $ perl5.12.5 -E '$SIG{ABRT} = sub { say "Caught" }; END { kill ABRT => $$ }' Further discussion on #p5p has lead to: 18:51 <alh> Oh hey, this worked up until 5.10.1, stopped working in 5.11.0 19:02 <alh> 01be072 Perl Info
|
From zefram@fysh.orgPaul LeoNerd Evans wrote:
The change is to unhook at the C level all Perl signal handlers before -zefram |
The RT System itself - Status changed from 'new' to 'open' |
From @leonerdOn Sat, 30 Jul 2016 05:47:58 +0100
I have no great opinion on which side of GD this happens. Obviously it -- leonerd@leonerd.org.uk | https://metacpan.org/author/PEVANS |
From @LeontOn Sat, Jul 30, 2016 at 6:47 AM, Zefram <zefram@fysh.org> wrote:
Agreed.
I would argue before. Global destruction is unpredictable enough as it is, Leon |
From @xsawyerxOn 07/30/2016 04:47 PM, Leon Timmermans wrote:
I appreciate Paul's comment on this: "[...] as already GD is a weird What would worry me is that if it's after GD, people might depend on it [1] "I want" should probably not be a good enough reason. |
Migrated from rt.perl.org#128774 (status was 'open')
Searchable as RT128774$
The text was updated successfully, but these errors were encountered: