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
Win32 fork and encoding simultaneous usage error #11171
Comments
From whylivealife@gmail.comThis is a bug report for perl from whylivealife@gmail.com, Perl crashes if script simultaneously uses encoding pragma and fork. use strict; I think it crashes on macro from method at However, it doesn't crash if i close STDIN and STDOUT before calling fork. Flags: Site configuration information for perl v5.8.9: Configured by sshd_server at Wed Jan 27 16:09:40 2010. Summary of my perl5 (revision 5 version 8 subversion 9) configuration: Locally applied patches: @INC for perl v5.8.9: Environment for perl v5.8.9: |
From @kmxjust adding cross reference to related RT http://rt.perl.org/rt3/Ticket/Display.html?id=89142 |
The RT System itself - Status changed from 'new' to 'open' |
From @cpansproutI am removing the link to the encoding.pm ticket, since it is not related to encoding.pm per se. The same bug can be triggered this way: binmode STDOUT, ":encoding(utf8)"; I think this may have been fixed already, but I don’t have a threaded blead handy right now. -- Father Chrysostomos |
From @dcollinsnOn Fri Jul 15 08:55:56 2016, sprout wrote:
I do, it is fixed. I'll bisect and report back. -- |
From perl@profvince.comLe 15/07/2016 à 13:02, Dan Collins via RT a écrit :
This is a duplicate of #31923, which has been fixed in 5.24. |
From @dcollinsnOn Fri Jul 15 09:02:15 2016, dcollinsn@gmail.com wrote:
This was fixed by the same commit as 41121. commit 0ee3fa2 Properly duplicate PerlIO::encoding objects PerlIO::encoding objects are usually initialized by calling Perl methods, The proper way to duplicate the PerlIO::encoding object is to call sv_dup() This fixes [RT #31923]. :100644 100644 f79df008098f4df1f97f7f104171b89c31049a90 34c2e2436a2a14e776725ca5c40a74c8f0a4bdb7 M MANIFEST -- |
@cpansprout - Status changed from 'open' to 'pending release' |
From @khwilliamsonThank you for filing this report. You have helped make Perl better. With the release today of Perl 5.26.0, this and 210 other issues have been Perl 5.26.0 may be downloaded via: If you find that the problem persists, feel free to reopen this ticket. |
@khwilliamson - Status changed from 'pending release' to 'resolved' |
Migrated from rt.perl.org#85366 (status was 'resolved')
Searchable as RT85366$
The text was updated successfully, but these errors were encountered: