[Bug 958821] Threaded glob segfaults

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=958821



--- Comment #3 from Petr Pisar <ppisar@xxxxxxxxxx> ---
Upstream fix is in blead now:

commit facf34ef484d62d15b2da11ee03d01942a22ff15
Author: Brian Fraser <fraserbn@xxxxxxxxx>
Date:   Sat Sep 21 03:19:52 2013 -0300

    File::Glob: Dup glob state in CLONE()

    This solves [perl #119897] and [perl #117823], and restores the
    behavior of glob() in conjunction with threads of 5.14 and older.

    Since 5.16, code that used glob() inside a thread had been
    unintentionally sharing state between threads, which lead to things
    like this crashing and failing assertions:

    ./perl -Ilib -Mthreads -e 'scalar glob("*"); threads->create(sub {
glob("*")

-- 
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=SbsLDQj3Cl&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





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux