bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI, (brand new?) test-lock failure on Darwin, via nixos/hydra


From: Jim Meyering
Subject: Re: FYI, (brand new?) test-lock failure on Darwin, via nixos/hydra
Date: Fri, 06 Jan 2012 16:31:08 +0100

Bruno Haible wrote:
> Jim Meyering wrote:
>> At least on darwin, using the very latest from gnulib,
>>
>>   http://hydra.nixos.org/build/1731154
>>
>> that shows how grep's gnulib-tests exposed one failure:
>>
>> building test-lock.log
>> FAIL: test-lock
>
> And the test's log [1] says:
>
>   FAIL: test-lock (exit: 134)
>   ===========================
>
>   Starting test_lock ... OK
>   Starting test_rwlock ...
>
> Since on this platform the glthread/lock's gl_rwlock_t is the same as
> pthread_rwlock_t, it means that one of the functions
>   pthread_rwlock_init
>   pthread_rwlock_rdlock
>   pthread_rwlock_wrlock
>   pthread_rwlock_unlock
>   pthread_rwlock_destroy
> must have failed. Possibly because the machine was too loaded.
>
> I don't know what a program could reasonably do when it wants to
> acquire a lock and the OS function to do so fails. Therefore the
> test simply aborts in this case.

Thanks for investigating.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]