[rt.cpan.org #118094] Race condition exists when building cache for pp built executables

[email protected] ("Roderich Schupp via RT")
Newsgroups perl.par
Message-ID <[email protected]>
Fri Dec 30 05:53:05 2016: Request 118094 was acted upon.
Transaction: Correspondence added by RSCHUPP
       Queue: PAR-Packer
     Subject: Race condition exists when building cache for pp built executables
   Broken in: 1.017, 1.032
    Severity: Important
       Owner: Nobody
  Requestors: [email protected]
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=118094 >


On 2016-09-26 16:31:25, [email protected] wrote:
> These errors only seem to occur when:
> 1. multiple instances of the executable is started simultaneously; the
> more instances started the more likely the problem is to occur.

Yeah, during bootstrap (and later) files are extracted from the executable
and written to the cache area without any precaution that several concurrently
running processes might do the same.

Fixed in versions PAR 1.014 and PAR::Packer 1.036, just uploaded to CPAN.

Cheers, Roderich
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.