On Tue, Feb 21, 2012 at 7:22 AM, Rickard Bellgrim <[email protected]> wrote: > The auto_ptr() is destroyed during atexit(). It may e.g. be that it > does not set it to NULL. Thus the invalid pointer. The save way is not > to have any dependencies between two different auto_ptr() objects > during their destruction phase. If there is a need for a dependency, > then it should be solved in a different way. E.g. a parent singleton > object which takes care of the destruction order or, as in this case, > move the MutexFactory object into the SoftHSMInternal since it is the > only one who uses it.
The MutexFactory is now an other type of Singleton object. Could you please try r6177 in SoftHSM trunk. // Rickard _______________________________________________ Opendnssec-user mailing list [email protected] https://lists.opendnssec.org/mailman/listinfo/opendnssec-user
