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
pipe not closed properly #10391
Comments
From winston@rentec.comThis is a bug report for perl from winston@rentec.com, Hello, I have a possible bug in perl to report. I am on a linux machine running go.pl: send.pl: recv.pl: When you run send.pl, the program will exit normally. However, if you run When I run send.pl with strace, here is the section that opens and closes the pipe([3, 5]) = 0 However, when I run go.pl with strace, here is the same section. There are pipe([2, 3]) = 0 There is no call to close on file descriptor 2. My guess is that there is Thanks, Flags: Site configuration information for perl 5.12.1: Configured by winston at Tue May 18 12:22:15 EDT 2010. Summary of my perl5 (revision 5 version 12 subversion 1) configuration: Locally applied patches: @INC for perl 5.12.1: Environment for perl 5.12.1: |
From @TuxOn Tue, 18 May 2010 11:40:22 -0700, "winston@rentec.com (via RT)"
I just tried exactly above on OpenSUSE 11.2/64 with
close(3) = 0
$ strace -f perl go.pl pipe([2, 3]) = 0 or, without -f, after I break go.pl pipe([2, 3]) = 0
-- |
The RT System itself - Status changed from 'new' to 'open' |
From @TuxOn Wed, 19 May 2010 17:51:09 +0200, "H.Merijn Brand"
FWIW this is not a regression, 5.10.0 acts the same -- |
From zefram@fysh.orgwinston@rentec.com wrote:
You can't expect this to act sensibly. You're violating the Unix A possible approach in Perl would be to check whether any newly opened -zefram |
Migrated from rt.perl.org#75172 (status was 'open')
Searchable as RT75172$
The text was updated successfully, but these errors were encountered: