Bug 865296

Summary: Setting OUTPUT_AUTOFLUSH in eval when STDOUT is localized in upper scope leads to segmentation fault
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perlAssignee: Jitka Plesnikova <jplesnik>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: cweyl, iarnell, jplesnik, kasal, lkundrak, mmaslano, perl-devel, ppisar, psabata, rc040203, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=115206
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-23 07:14:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Pisar 2012-10-11 07:32:58 UTC
This code segfaults:

$ perl -e 'local *STDOUT; eval q[$|=0];'

perl-5.14.2 as well as 5.16.1 are affected.

Comment 1 Fedora Update System 2012-10-18 08:49:01 UTC
perl-5.16.1-233.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/perl-5.16.1-233.fc18

Comment 2 Fedora Update System 2012-10-18 13:52:28 UTC
perl-5.14.3-217.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/perl-5.14.3-217.fc17

Comment 3 Fedora Update System 2012-10-18 15:32:35 UTC
Package perl-5.16.1-233.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing perl-5.16.1-233.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-16405/perl-5.16.1-233.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-11-06 09:31:16 UTC
perl-5.16.2-234.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/perl-5.16.2-234.fc18

Comment 5 Fedora Update System 2012-11-23 07:14:55 UTC
perl-5.16.2-234.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.