Source-Changes-D archive

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

Re: CVS commit: src/lib/libpthread



On Thu, Jun 04, 2020 at 06:26:07PM +0000, Martin Husemann wrote:

> On Wed, Jun 03, 2020 at 10:10:24PM +0000, Andrew Doran wrote:
> > Module Name:	src
> > Committed By:	ad
> > Date:		Wed Jun  3 22:10:24 UTC 2020
> > 
> > Modified Files:
> > 	src/lib/libpthread: pthread.c pthread_cond.c pthread_mutex.c
> > 
> > Log Message:
> > Deal with a couple of problems with threads being awoken early due to
> > timeouts or cancellation where:
> 
> Not sure if it is caused by this commit or joergs TSD/malloc, but today
> most of the libpthread tests time out on aarch64, while everything but
> a few minor nits was fine on May 30.

I tried with everything updated and it seems to be hanging on exit in
jemalloc.  Haven't looked further yet.

	http://www.netbsd.org/~ad/2020/barrier.txt

Andrew


 
> Martin
> 
> (this is on a hummingboard pulse 4-core board)
> lib/libpthread/t_barrier (398/848): 1 test cases
>     barrier: [300.034098s] Failed: Test case timed out after 300 seconds
> [300.034568s]
> 
> lib/libpthread/t_cond (399/848): 9 test cases
>     bogus_timedwaits: [300.016677s] Failed: Test case timed out after 300 seconds
>     broadcast: [300.023040s] Failed: Test case timed out after 300 seconds
>     cond_timedwait_race: [300.034567s] Failed: Test case timed out after 300 seconds
>     condattr: [0.013756s] Passed.
>     destroy_after_cancel: [300.025649s] Failed: Test case timed out after 300 seconds
>     signal_before_unlock: [300.023630s] Failed: Test case timed out after 300 seconds
>     signal_before_unlock_static_init: [300.022909s] Failed: Test case timed out after 300 seconds
>     signal_delay_wait: [300.031310s] Failed: Test case timed out after 300 seconds
>     signal_wait_race: [300.025552s] Failed: Test case timed out after 300 seconds
> [2400.221956s]
> 
> lib/libpthread/t_condwait (400/848): 2 test cases
>     cond_wait_mono: [2.023083s] Passed.
>     cond_wait_real: [2.017972s] Passed.
> [4.042078s]
> 
> lib/libpthread/t_detach (401/848): 1 test cases
>     pthread_detach: [300.021242s] Failed: Test case timed out after 300 seconds
> [300.021708s]
> 
> lib/libpthread/t_equal (402/848): 1 test cases
>     pthread_equal: [300.027646s] Failed: Test case timed out after 300 seconds
> [300.028295s]
> 
> lib/libpthread/t_fork (403/848): 1 test cases
>     fork: [300.018077s] Failed: Test case timed out after 300 seconds
> [300.018975s]
> 
> lib/libpthread/t_fpu (404/848): 1 test cases
>     fpu: [0.020578s] Passed.
> [0.021314s]
> 
> lib/libpthread/t_join (405/848): 1 test cases
>     pthread_join: [0.021632s] Passed.
> [0.022411s]
> 
> lib/libpthread/t_kill (406/848): 1 test cases
>     simple: [300.033759s] Failed: Test case timed out after 300 seconds
> [300.034528s]
> 
> lib/libpthread/t_mutex (407/848): 7 test cases
>     mutex1: [300.017542s] Failed: Test case timed out after 300 seconds
>     mutex2: [300.023064s] Failed: Test case timed out after 300 seconds
>     mutex3: [300.023259s] Failed: Test case timed out after 300 seconds
>     mutex4: [300.023015s] Failed: Test case timed out after 300 seconds
>     mutex5: [300.023495s] Failed: Test case timed out after 300 seconds
>     mutexattr1: [0.013769s] Passed.
>     mutexattr2: [0.025483s] Passed.
> [1500.154160s]
> 
> lib/libpthread/t_name (408/848): 1 test cases
>     name: [0.014262s] Passed.
> [0.014951s]
> 
> ...


Home | Main Index | Thread Index | Old Index