[Opendnssec-user] ods-ksmutil key list --zone segfaults

Rickard Bellgrim rickard at opendnssec.org
Tue Feb 21 06:54:13 UTC 2012


On Tue, Feb 21, 2012 at 7:22 AM, Rickard Bellgrim
<rickard at opendnssec.org> 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



More information about the Opendnssec-user mailing list