Upstream bug report: https://rt.perl.org/Public/Bug/Display.html?id=119897 Upstream patch: http://perl5.git.perl.org/perl.git/commitdiff_plain/facf34e?hp=ce3470dcce263170c48127c11bb2a47ca92f2616 For easier visualization, and cut&paste, reproducer repeated here: ---8<--- #!/usr/bin/perl 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(); } ---8<---
Created attachment 1069481 [details] File::Glob: Dup glob state in CLONE() Backport of the proposed patch for 5.16.3.
Pushed as perl-5.16.3-287.el7.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2191.html