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
Crash Perl with binmode(STDERR, ':encoding(wildlybad)') #9288
Comments
From tco2@cornell.eduThis is a bug report for perl from tco2@cornell.edu, This crashes Perl perl -e "binmode(STDERR, ':encoding(wildlybad)') or print 'fail ' ; print 'hi' " Perl Ver| Platform | result 5.6.1 | Solaris 9 Sparc, Manually built gcc CC | warns then terminates In none of the above cases is either the 'fail ' or the 'hi' printed Similar results occur when the command script is put in a file. By contrast changing STDERR to STDOUT results in normal termination The 5.6.1 lines appears to behave the same for STDOUT as it does for STDERR I discovered this when trying to figure out why use open ':locale' ':locale' Here are excerpts of running some of the above under truss(1) on Solaris 9 ====================================================================== ======================================================================
|
From nospam-abuse@bloodgate.comOn Friday 11 April 2008 23:09:06 Todd Olson wrote:
# perl -e "binmode(STDERR, ':encoding(wildlybad)')" This is perl, v5.8.8 built for x86_64-linux-gnu-thread-multi All the best, Tels -- "Memory is like an orgasm. It's a lot better if you don't have to fake -- Seymore Cray, on virtual memory |
The RT System itself - Status changed from 'new' to 'open' |
From tco2@cornell.eduGreetings, Darn! The subject should have been Crash Perl with binmode(STDERR, ':encoding(wildlybad)') Regards, |
From tco2@cornell.eduThis is a bug report for perl from tco2@cornell.edu, This crashes Perl perl -e "binmode(STDERR, ':encoding(wildlybad)') or print 'fail ' ; print 'hi' " Perl Ver| Platform | result 5.6.1 | Solaris 9 Sparc, Manually built gcc CC | warns then terminates In none of the above cases is either the 'fail ' or the 'hi' printed Similar results occur when the command script is put in a file. By contrast changing STDERR to STDOUT results in normal termination The 5.6.1 lines appears to behave the same for STDOUT as it does for STDERR I discovered this when trying to figure out why use open ':locale' ':locale' Excerpts of running some of the above under truss(1) on Solaris 9 are in the original message |
From @chornyOn Mon Apr 14 11:02:25 2008, toddolson wrote:
with perl 5.20.0
a.pl: So, binmode(STDERR, ':encoding()') does not raise a error in time and STDERR starts behaving incorrectly. -- |
Migrated from rt.perl.org#52786 (status was 'open')
Searchable as RT52786$
The text was updated successfully, but these errors were encountered: