Bug 809796

Summary: regex matching in SIGALRM handler while regex match is running causes panic or segfault
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perlAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: cweyl, iarnell, kasal, lkundrak, mmaslano, ppisar, psabata, rc040203, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://rt.perl.org/rt3//Public/Bug/Display.html?id=114972
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-10 12:14:37 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-04-04 12:00:51 UTC
Running 

use strict;
use warnings;
local $SIG{"ALRM"} = sub { "foo" =~ /o/ };
alarm 1;
@bar = split m{(\b)}, 'assdf ' x 5000000; # must run more than 1 sec.

causes Perl panic or segault.

Reported to upstream <http://permalink.gmane.org/gmane.comp.lang.perl.perl5.porters/107496>.

perl-5.14.2-197.fc16.x86_64 affected.

Comment 1 Petr Pisar 2012-09-11 14:39:39 UTC
Upstream has not yet agreed on proposed fix.

Comment 2 Fedora End Of Life 2013-01-16 15:57:32 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Petr Pisar 2013-01-17 08:45:44 UTC
Still broken in F17.

Comment 4 Petr Pisar 2013-01-17 08:48:04 UTC
This is tracked as <https://rt.perl.org/rt3//Public/Bug/Display.html?id=114972> by upstream now.

Comment 5 Petr Pisar 2013-05-10 12:14:37 UTC
This looks like duplicate of bug #849703. At least, the same patch heals symptoms of this issue.

*** This bug has been marked as a duplicate of bug 849703 ***