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: mmasl...@redhat.com Reporter: ppi...@redhat.com QA Contact: extras...@fedoraproject.org CC: cw...@alumni.drew.edu, iarn...@gmail.com, jples...@redhat.com, ka...@ucw.cz, lkund...@v3.sk, mmasl...@redhat.com, perl-devel@lists.fedoraproject.org, ppi...@redhat.com, psab...@redhat.com, rc040...@freenet.de, tcall...@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 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel