The pkcs11 test crash on Fedora with softhsm 2.6.1-5. Also miekg's test cases with softhsm crash on Fedora (test needs proper path adjustment for softhsm shared object).
The pkcs11 test runs stable on Ubuntu 21.10 for example with softhsm 2.6.1-2.
Example crash output:
=== RUN TestPkcs11EncryptDecrypt
Inconsistency detected by ld.so: dl-close.c: 256: _dl_close_worker: Assertion `imap->l_type == lt_loaded && !imap->l_nodelete_active' failed!
FAIL github.com/containers/ocicrypt/crypto/pkcs11 1.323s
The pkcs11 test crash on Fedora with softhsm 2.6.1-5. Also miekg's test cases with softhsm crash on Fedora (test needs proper path adjustment for softhsm shared object). The pkcs11 test runs stable on Ubuntu 21.10 for example with softhsm 2.6.1-2.
Example crash output:
The miekg's pkcs11 test cases crash in a similar way on
ctxt.Destroy()
: