Comment 2 for bug 1187040

Revision history for this message
Joe (joegrasse) wrote :

sysbench --test=fileio --file-test-mode=rndwr --file-total-size=100M --file-num=1 --num-threads=16 --file-io-mode=sync --max-time=10 --max-requests=0 --report-interval=10 --rand-init=on --file-fsync-freq=1

I believe the important piece here is the --report-interval parameter. I believe percentile is getting destroyed before the memcpy happens.

It looks like the return value of pthread_mutex_lock isn't being check. Maybe the lock attempt isn't successful.