[16408] in Kerberos_V5_Development
Re: Finalizer crasher on OS X
daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Sep 29 10:34:54 2010
From: Greg Hudson <ghudson@mit.edu>
To: Luke Howard <lukeh@padl.com>
In-Reply-To: <62CD946D-0B03-438C-8501-4F37BC6F31FA@padl.com>
Date: Wed, 29 Sep 2010 10:34:33 -0400
Message-ID: <1285770873.20521.962.camel@ray>
Mime-Version: 1.0
Cc: "krbdev@mit.edu Dev List" <krbdev@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu
On Fri, 2010-09-24 at 15:52 -0400, Luke Howard wrote:
> Without DELAY_INITIALIZER, unfortunately it doesn't work either!
> gssint_mechglue_init() is called when the first plugin linked against
> the mechglue is loaded. But gssint_mechglue_fini() still gets called
> twice. So this does sound like an OS X bug?
It could be; if OS X is processing a dlclose() for the mechglue, and
that results in a dlclose() of another shared object which has the
mechglue as a dependency... it could easily screw up and call the
finalizer again.
I'm okay with working around this apparent bug in the manner you
suggested (setting did-run to 0) if it's easy.
_______________________________________________
krbdev mailing list krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev