Segmentation fault when using a shared_ptr for private_key
Author of Botan replied to me that The problem is the globally defined object. The problem is that the mlock pool is a singleton created on first use then destroyed sometime after main returns. First your object is created. It allocates memory. This results in the pool being created. Destruction happens LIFO. So first the … Read more