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
Solaris: BEGIN and exec, fork, system or open(|-,-|) #8564
Comments
From Gary.Vollink@reuters.comObligatory perl -V block... Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Characteristics of this binary (from libperl): PERL5LIB="/Export/dev/production/US/SunOS5.6_sun4/lib/perl5/fis:/Export/ As English as I can describe the issue: When "use warnings FATAL => 'all'" is used, AND there is a system or Background: I ran into an issue because a home-made module was running a The final one is a recreation of the error without the "FATAL" modifier. This bug appears the same with 5.6.1, 5.8.4 and 5.8.8 on Sample #1: two files - If __END__ is added to shell_error.pl, the ./ShellErr.pm use ShellErr; my $this = 'that'; Sample #2: Removes the module, same issue. Again __END__ will mitigate shell2_err.pl BEGIN { # Only happens during BEGIN my $this = 'that'; # prints redeclaration error print $this, "\n"; Sample #3: hide errors with eval... this time it doesn't seem to be shell3_err.pl BEGIN { # Only happens during BEGIN my $this = 'that'; Sample #4: This one replicates the issue without using the "use warnings shell4_err.pl: CHECK { print "$status: CHECK!\n"; } # prints twice my $this = 'that'; # prints a redeclaration Thank you, To find out more about Reuters visit www.about.reuters.com Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd. |
From @nwc10On Thu, Aug 17, 2006 at 07:39:07AM -0700, Gary Vollink wrote:
Most strange. truss shows that all the writes are in the parent: 1609: write(1, " P A R E N T : C H E C".., 15) = 15 So it's nothing as obvious as the child process failing to _exit() at the Nicholas Clark |
The RT System itself - Status changed from 'new' to 'open' |
From @nwc10On Sun, Aug 20, 2006 at 07:47:34PM +0100, Nicholas Clark wrote:
B::Deparse shows that most of the program is duplicated. I think it's an But what's happening is that the after the child exits, the underlying Unix I say "should" because I can't remember whose "fault" all this emergent Nicholas Clark |
From @HugmeirOn Sun Aug 20 12:02:54 2006, nicholas wrote:
This is still present in 5.14.2 and blead. |
From @doy#3 here is actually an entirely separate issue, reported at [perl -doy |
Migrated from rt.perl.org#40190 (status was 'open')
Searchable as RT40190$
The text was updated successfully, but these errors were encountered: