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@xxxxxxxxxx Reporter: ppisar@xxxxxxxxxx QA Contact: extras-qa@xxxxxxxxxxxxxxxxx CC: cweyl@xxxxxxxxxxxxxxx, iarnell@xxxxxxxxx, jplesnik@xxxxxxxxxx, kasal@xxxxxx, lkundrak@xxxxx, mmaslano@xxxxxxxxxx, perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, ppisar@xxxxxxxxxx, psabata@xxxxxxxxxx, rc040203@xxxxxxxxxx, tcallawa@xxxxxxxxxx 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 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel