Skip Menu |
 

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

Report information
The Basics
Id: 123196
Status: resolved
Priority: 0/
Queue: AnyEvent-FileLock

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

Bug Information
Severity: Important
Broken in: 0.04
Fixed in: (no value)



Subject: AnyEvent-FileLock.t hangs on Windows
Download (untitled) / with headers
text/plain 370b
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
Download (untitled) / with headers
text/plain 542b
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
Download (untitled) / with headers
text/plain 223b
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
Download (untitled) / with headers
text/plain 250b
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 is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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