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.
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.