Bug 809796 - regex matching in SIGALRM handler while regex match is running causes panic or segfault
Summary: regex matching in SIGALRM handler while regex match is running causes panic o...
Keywords:
Status: CLOSED DUPLICATE of bug 849703
Alias: None
Product: Fedora
Classification: Fedora
Component: perl
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
URL: https://rt.perl.org/rt3//Public/Bug/D...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-04 12:00 UTC by Petr Pisar
Modified: 2013-05-10 12:14 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-05-10 12:14:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 849703 0 unspecified CLOSED Regular Expression matching in signal handler causes side-effects 2021-02-22 00:41:40 UTC

Internal Links: 849703

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 ***


Note You need to log in before you can comment on or make changes to this bug.