Originally filed by Luke Howard, moved from old Jira.
I have multiple non-cooperating libraries that link against Shibboleth SP/Resolver (along with OpenSAML, etc). Calling ShibbolethResolver::init() multiple times in a process appears to cause crashes (and not calling it in one library obviously is very dependent on whether the other library is installed or loaded first). I'm using the following workaround now:
Originally filed by Luke Howard, moved from old Jira.
I have multiple non-cooperating libraries that link against Shibboleth SP/Resolver (along with OpenSAML, etc). Calling ShibbolethResolver::init() multiple times in a process appears to cause crashes (and not calling it in one library obviously is very dependent on whether the other library is installed or loaded first). I'm using the following workaround now:
if (!didShibInit && SPConfig::getConfig().getFeatures() == 0) {
ShibbolethResolver::init();
didShibInit = TRUE;
}
But I'd really like to get it fixed properly.