The following error happens in many version of Linux, for example Debian 8 x86_64
[ 38s] [ RUN ] Cryptoki_Test.close_all_sessions_works
[ 38s] Makefile:41: recipe for target 'test' failed
[ 38s] make[1]: *** [test] Segmentation fault
[ 38s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/object-pkcs11-0.0.1.19/tests'
[ 38s] Makefile:54: recipe for target 'test' failed
[ 38s] make: *** [test] Error 2
[ 38s] error: Bad exit status from /var/tmp/rpm-tmp.fFo2qK (%check)