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
Possible filedescriptor race condition in 5.8.3 and 5.8.6 #7869
Comments
From dam@baltic-online.deHi, I am currently working with an embedded version of Perl 5.8.3 and Perl seems to have a race condition which mixes up filehandles As the code in the IO systems seems mighty fragile I would Best regards -- Dagobert Michelsen -- |
From @gsarOn 11 Apr 2005 16:01:06 -0000, Dagobert Michelsen wrote:
I remember fixing a problem similar to the one you've reported back in http://public.activestate.com/cgi-bin/perlbrowse?patch=16331 This fix may also be relevant: http://public.activestate.com/cgi-bin/perlbrowse?patch=16333 HTH, Sarathy |
The RT System itself - Status changed from 'new' to 'open' |
From dam@baltic-online.deHi, Von "Gurusamy Sarathy via RT" <perlbug-followup@perl.org> (12 Apr 2005 03:26:42 -0000):
The code in 5.8.3 looks quite similar to your fix, however it Best regards -- Dagobert -- |
From @gsarOn Tue, 12 Apr 2005 10:35:51 +0200, "Dagobert Michelsen" wrote:
This is not correct. To be completely safe, you need to build Another potential problem is all the foo()/foo_r() functions in Still another problem is mixing malloc()s (either perl's or There are literally hundreds of other similar cases. It might
To be clear, change#16331 wasn't specific to USE_THREADS. It might be a good idea to add a separate #define for that code If you're not a perl internals whiz to know whether caveats like Incidentally, I see this in 5.8.6's PerlIOStdio_invalidate_fileno(): #if 0 which means that platforms that don't have support in Sarathy |
From dam@baltic-online.deHi, Von "Gurusamy Sarathy via RT" <perlbug-followup@perl.org> (13 Apr 2005 02:17:50 -0000):
Ok, I see the problem.
I am just finished recompiling everything with: Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration: Characteristics of this binary (from libperl): .
I would like to see a big warning when compiling Perl about
Do I need to install sfio for this on Solaris? When I start to 29143/4@4: 585.2316 -> back_perl-2.2:Perl_pp_close(0x1483b0, 0x0, 0x2c7378, 0x74c748) Best regards -- Dagobert -- |
From nick@ing-simmons.netGurusamy Sarathy <gsar@ActiveState.com> writes:
Fine. :stdio has "inhertited" that code from pre-layered code. IIRC at the time I wrote that "such platforms" were: which were only ones I had ;-) |
Migrated from rt.perl.org#34914 (status was 'open')
Searchable as RT34914$
The text was updated successfully, but these errors were encountered: