Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=958821
Bug ID: 958821
Summary: Threaded glob segfaults
Product: Fedora
Version: 18
Component: perl
Severity: unspecified
Priority: unspecified
Assignee: mmaslano(a)redhat.com
Reporter: ppisar(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: cweyl(a)alumni.drew.edu, iarnell(a)gmail.com,
jplesnik(a)redhat.com, kasal(a)ucw.cz, lkundrak(a)v3.sk,
mmaslano(a)redhat.com,
perl-devel(a)lists.fedoraproject.org, ppisar(a)redhat.com,
psabata(a)redhat.com, rc040203(a)freenet.de,
tcallawa(a)redhat.com
Category: ---
Since 5.16.0, perl segfaults when using glob in multi-threaded environment.
This has been reported to upstream as
<
https://rt.perl.org:443/rt3/Ticket/Display.html?id=117823>. Tests case:
use warnings;
use strict;
use threads;
use threads::shared;
my $nthread = 20;
sub work {
foreach (1..10000) {
my @files = <*.supp>;
}
}
my @threads;
foreach my $i (1..$nthread) {
push @threads, threads->create(\&work);
}
foreach my $t (@threads) {
$t->join();
}
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=Jn3RLKH7AF&a=cc_unsubscribe