Need testing on other machines

David Gilbert david.gilbert at linaro.org
Tue Nov 1 12:40:35 UTC 2011


Hi,
  The attached test intermittently fails on my panda running the 11.09
(3.0.0-1404-linaro-lt-omap) kernel;
 but it works on guinep and Michael's ursa and pavo running much older
kernels; I'd appreciate it if
 people could try it on whatever machine with whatever kernel they
have and report the result to me
 so I can try and nail down what it fails on. (It fails in both natty
and oneiric chroots for me)

To compile:

gcc pthreadtest.c -o pthreadtest -lpthread

To run:

for SEQ in `seq 1 1000`
do
  ./pthreadtest
done

if it finishes then its fine, for me it'll fail sooner or later with:

Start thread test 0x110dc 0x110dc


and just stop.
(It sits there in a futex inside pthread_cond_wait on cond_wait's
internal structure)

Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pthreadtest.c
Type: text/x-csrc
Size: 1821 bytes
Desc: not available
URL: <http://lists.linaro.org/pipermail/linaro-dev/attachments/20111101/9d03f9c4/attachment.c>


More information about the linaro-dev mailing list