-
Notifications
You must be signed in to change notification settings - Fork 555
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 and waitpid #4485
Comments
From bergolth@ollie.wu-wien.ac.atI've written a small test-script (see below) that dumps core $SIG{'CHLD'} = sub { I've tested this with perl-5.6.0 on AIX-4.2.1 and AIX-4.3.3 and The test-script and the stack backtrace is attached below... ---------- snipp! ---------- use strict; my $RAND1= 2000; $SIG{'CHLD'} = sub { my $CHILD_PID = 0; srand(); my $i; my $pid; print "Done\n"; ---------- snipp! ---------- perl-5.6.0 on Linux-2.2.19: perl-5.6.0 on AIX-4.2.1: Perl Info
|
From @jhiHi, if you could retry your code under Perl 5.8.0? In Perl 5.8.0 signals are 'safe' meaning that signals should not be able to corrupt Perl's internal state as you observed. |
From leo@strike.wu-wien.ac.atJarkko Hietaniemi (via RT) wrote:
Great! Thanks, Alexander (Leo) Bergolth leo@leo.wu-wien.ac.at |
From nick@ing-simmons.netThis is believed fixed by "safe signals" in perl5.8.0 and later. |
nick@ing-simmons.net - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#7799 (status was 'resolved')
Searchable as RT7799$
The text was updated successfully, but these errors were encountered: