stacktraces, provided by Marko, show that
both the main thread and one of the innodb threads are doing something encryption (main thread for the SSL, innodb for encryption) at the same time.
The suspected problem is that SSL_library_init() in WolfSSL, and suspicion is that there were 2 WolfSSL_Init() running in parallel close to the crash.
I have seen it also in the past on a Windows build, for which I do not have stacktraces anymore.
The proposed solution is to do SSL initialization when encryption plugin is loaded.