This queue is for tickets about the AnyEvent-FileLock CPAN distribution.

Report information
The Basics
Id:
123196
Status:
resolved
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
CHORNY [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Important
Broken in:
0.04
Fixed in:
(no value)



Subject: AnyEvent-FileLock.t hangs on Windows
1..4 ok 1 - use AnyEvent::FileLock; # Subtest: file handle as locking target ok 1 - got lock 1..1 ok 2 - file handle as locking target # Subtest: retry to get lock EV: error in callback (ignoring): Can't use an undefined value as a symbol reference at t/AnyEvent-FileLock.t line 41. (hangs) version 0.03 did not hang. -- Alexandr Ciornii, http://chorny.net
On Thu Oct 05 10:12:55 2017, CHORNY wrote:
Show quoted text
> 1..4 > ok 1 - use AnyEvent::FileLock; > # Subtest: file handle as locking target > ok 1 - got lock > 1..1 > ok 2 - file handle as locking target > # Subtest: retry to get lock > EV: error in callback (ignoring): Can't use an undefined value as a > symbol reference at t/AnyEvent-FileLock.t line 41. > (hangs) > > > > version 0.03 did not hang.
I have just uploaded version 0.05 with should fix the issue. Could you test it? https://metacpan.org/release/SALVA/AnyEvent-FileLock-0.05
On Thu Oct 05 15:42:15 2017, SALVA wrote:
Show quoted text
> I have just uploaded version 0.05 with should fix the issue. Could you > test it?
It does not pass tests, but it does not hang anymore. -- Alexandr Ciornii, http://chorny.net
That issue was caused by locks not being reentrant on Windows. A new version that doesn't run the failing tests on Windows is now available from CPAN: https://metacpan.org/release/SALVA/AnyEvent-FileLock-0.06 Thank you for reporting the issue!!!


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.