Groups | Search | Server Info | Login | Register


Groups > comp.protocols.kerberos > #5437

Re: Threading support (on HP-UX)

From "Greg Hudson" <ghudson@mit.edu>
Newsgroups comp.protocols.kerberos
Subject Re: Threading support (on HP-UX)
Date 2025-09-17 14:41 -0400
Organization TNet Consulting
Message-ID <mailman.11.1758134487.2340612.kerberos@mit.edu> (permalink)
References <fa9ed2fd-2d13-434a-a9fd-5ae49e36223c@innomotics.com> <d84f1782-49dd-4cde-967e-2e2c7f487b5a@mit.edu> <106a85ba-19fc-4a66-9809-8550293dc9bb@innomotics.com> <f0d5cb1a-54b0-4883-a8e7-fea890729517@mit.edu>

Show all headers | View raw


On 9/17/25 06:31, Osipov, Michael (IN IT IN) wrote:
>> if [ -r ../../lib/libgssapi_krb5.so ]; then SHLIB_PATH=`echo -L../../ 
>> lib | sed -e "s/-L//g" -e "s/ /:/g"` KRB5_CONFIG=../../config-files/ 
>> krb5.conf LC_ALL=C  ./reload; fi
>> Assertion failed: destructors_set[keynum] == 0, file threads.c, line 351

This test program loads libgssapi_krb5, uses it minimally, and unloads 
it, all repeated twice.  The assertion failure means that the library 
initializer ran both times it was loaded, but the library finalizer 
didn't run in between.  So something is wrong with the library finalizer 
support for HP-UX as determined by include/k5-platform.h and the 
autoconf stuff.  If there is a flag to block unloading when building a 
shared library, like the ELF "-z nodelete" flag, that would be the best 
fix; see the lib_unload_prevented variable in config/shlib.conf.

Back to comp.protocols.kerberos | Previous | Next | Find similar


Thread

Re: Threading support (on HP-UX) "Greg Hudson" <ghudson@mit.edu> - 2025-09-17 14:41 -0400

csiph-web