develooper Front page | perl.perl5.porters | Postings from July 2016

[perl #128445] Time::HiRes test failure on threaded darwin build

Thread Previous
From:
Tony Cook via RT
Date:
July 20, 2016 05:45
Subject:
[perl #128445] Time::HiRes test failure on threaded darwin build
Message ID:
rt-4.0.18-655-1468993543-289.128445-15-0@perl.org
On Tue Jun 21 05:31:08 2016, randir wrote:
> The following test consistently fails on threaded build (and passes on
> non-threaded):
> 
> ./perl -Ilib -Idist/Time-HiRes  dist/Time-HiRes/t/clock.t
> 1..5
> # I am the main process 52997, starting the watchdog process...
> # The watchdog process 52998 launched, continuing testing...
> # I am the watchdog process 52998, sleeping for 360 seconds...
> ok 1 - require Time::HiRes;
> # have_clock_gettime   = 1
> # have_clock_getres    = 1
> # have_clock_nanosleep = 1
> # have_clock           = 1
> # CLOCK_REALTIME: try = 1
> panic: MUTEX_LOCK (22) [HiRes.xs:773] at dist/Time-HiRes/t/clock.t
> line 40.
> # I am the main process 52997, terminating the watchdog process 52998
> before it terminates me in 360 seconds (testing took 0 seconds).
> # kill KILL 52998 = 1
> # All done.
> # Looks like your test exited with 255 just after 1.
> 

This appears to have been fixed in blead, probably by 

commit c4a535af41823cc84534bf8dbecfdcc3eb7daa86
Author: Steve Hay <steve.m.hay@googlemail.com>
Date:   Fri Jul 1 08:27:18 2016 +0100

    Upgrade Time::HiRes from version 1.9734 to 1.9739

which is confusing, since it's blead upstream.

Tony

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=128445

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About