Skip Menu |

This queue is for tickets about the Apache-DBI-Cache CPAN distribution.

Report information
The Basics
Id: 80615
Status: new
Priority: 0/
Queue: Apache-DBI-Cache

People
Owner: Nobody in particular
Requestors: ribasushi [...] leporine.io
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Global destruction detection is not thread-safe
Your distribution is using the construct END { $global_destroy = 1 } in [1], which is not thread safe as described here [2]. Please consider switching to https://metacpan.org/release/Devel-GlobalDestruction, which has both an XS and a PurePerl variant, both of which are tested to behave correctly under ithreads. [1] https://metacpan.org/source/OPI/Apache-DBI-Cache-0.08/lib/Apache/DBI/Cache.pm#L240 [2] https://metacpan.org/source/RIBASUSHI/Devel-GlobalDestruction-0.09/lib/Devel/GlobalDestruction.pm#60