<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body style="" fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div><br>
</div>
<div>Not sure if this gdb backtrace might give someone a clue about what is happening to cause my `shibd -t` to seg fault. Any random guesses of what to check appreciated.</div>
<div><br>
</div>
<div>
<div>Program received signal SIGSEGV, Segmentation fault.</div>
<div>0x00007ffff4371c11 in BN_num_bits () from /apps/nuxeo/pkg/lib/libcrypto.so.1.0.0</div>
<div>(gdb) backtrace</div>
<div>#0 0x00007ffff4371c11 in BN_num_bits () from /apps/nuxeo/pkg/lib/libcrypto.so.1.0.0</div>
<div>#1 0x00007ffff439cd1d in RSA_size () from /apps/nuxeo/pkg/lib/libcrypto.so.1.0.0</div>
<div>#2 0x00007ffff69dae33 in xmltooling::BasicX509Credential::getKeySize() const () from /apps/nuxeo/workspace/test-home/lib/libxmltooling.so.6</div>
<div>#3 0x00007ffff69e25e8 in xmltooling::CredentialCriteria::matches(xmltooling::Credential const&) const () from /apps/nuxeo/workspace/test-home/lib/libxmltooling.so.6</div>
<div>#4 0x00007ffff69e4bf6 in xmltooling::FilesystemCredentialResolver::resolve(std::vector<xmltooling::Credential const*, std::allocator<xmltooling::Credential const*> >&, xmltooling::CredentialCriteria const*) const () from /apps/nuxeo/workspace/test-home/lib/libxmltooling.so.6</div>
<div>#5 0x00007ffff7381def in opensaml::saml2md::SignatureMetadataFilter::verifySignature(xmlsignature::Signature*, unsigned short const*) const () from /apps/nuxeo/workspace/test-home/lib/libsaml.so.8</div>
<div>#6 0x00007ffff7383c15 in opensaml::saml2md::SignatureMetadataFilter::doFilter(opensaml::saml2md::EntitiesDescriptor&, bool) const () from /apps/nuxeo/workspace/test-home/lib/libsaml.so.8</div>
<div>#7 0x00007ffff73841c6 in opensaml::saml2md::SignatureMetadataFilter::doFilter(xmltooling::XMLObject&) const () from /apps/nuxeo/workspace/test-home/lib/libsaml.so.8</div>
<div>#8 0x00007ffff7365f41 in opensaml::saml2md::MetadataProvider::doFilters(xmltooling::XMLObject&) const () from /apps/nuxeo/workspace/test-home/lib/libsaml.so.8</div>
<div>#9 0x00007ffff7388a09 in opensaml::saml2md::XMLMetadataProvider::load(bool) () from /apps/nuxeo/workspace/test-home/lib/libsaml.so.8</div>
<div>#10 0x00007ffff7387c6c in opensaml::saml2md::XMLMetadataProvider::background_load() () from /apps/nuxeo/workspace/test-home/lib/libsaml.so.8</div>
<div>#11 0x00007ffff738978d in opensaml::saml2md::XMLMetadataProvider::init() () from /apps/nuxeo/workspace/test-home/lib/libsaml.so.8</div>
<div>#12 0x00007ffff7ad83ce in (anonymous namespace)::XMLApplication::XMLApplication(shibsp::ServiceProvider const*, shibsp::ProtocolProvider const*, xercesc_3_1::DOMElement*, (anonymous namespace)::XMLApplication const*) () from /apps/nuxeo/workspace/test-home/lib/libshibsp.so.6</div>
<div>#13 0x00007ffff7adcec8 in (anonymous namespace)::XMLConfigImpl::XMLConfigImpl(xercesc_3_1::DOMElement const*, bool, (anonymous namespace)::XMLConfig*, log4shib::Category&) ()</div>
<div> from /apps/nuxeo/workspace/test-home/lib/libshibsp.so.6</div>
<div>#14 0x00007ffff7ae0129 in (anonymous namespace)::XMLConfig::background_load() () from /apps/nuxeo/workspace/test-home/lib/libshibsp.so.6</div>
<div>#15 0x00007ffff7ac770d in (anonymous namespace)::XMLConfig::init() () from /apps/nuxeo/workspace/test-home/lib/libshibsp.so.6</div>
<div>#16 0x00007ffff7a224a7 in shibsp::SPConfig::instantiate(char const*, bool) () from /apps/nuxeo/workspace/test-home/lib/libshibsp.so.6</div>
<div>#17 0x0000000000401f4a in main ()</div>
</div>
<div><br>
</div>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF516449" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Brian Tingle<br>
<b>Sent:</b> Wednesday, June 11, 2014 10:26 PM<br>
<b>To:</b> Shib Users<br>
<b>Subject:</b> incommon.pem causing `shibd -t` to seg fault<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi,
<div><br>
</div>
<div>I'm trying to upgrade my SP from 2.5.2 to 2.5.3 and upgrade from openssl 0.9.8 to 1.0.1h.</div>
<div><br>
</div>
<div>When I use my old .../etc/... directory with my new SP and I `shibd -t` I get a segmentation fault.</div>
<div><br>
</div>
<div>When I `rm etc/shibboleth/incommon.pem` and then `shibd -t` I get </div>
<div><br>
</div>
<div><span style="font-size:10pt">"overall configuration is loadable, check console for non-fatal problems" </span><a href="https://gist.github.com/tingletech/97ebe2b618634fa02147#file-no-incommon-pem-txt" style="font-size:10pt" target="_blank">https://gist.github.com/tingletech/97ebe2b618634fa02147#file-no-incommon-pem-txt</a> </div>
<div><span style="font-size:10pt"><br>
</span></div>
<div><span style="font-size:10pt">Here is an strace of the seg fault </span><a href="https://gist.github.com/tingletech/97ebe2b618634fa02147#file-strace-txt" style="font-size:10pt" target="_blank">https://gist.github.com/tingletech/97ebe2b618634fa02147#file-strace-txt</a> </div>
<div><br>
</div>
<div><span style="font-size:10pt">Does anyone have any thoughts on how I might try to debug this issue?</span></div>
<div><span style="font-size:10pt"><br>
</span></div>
<div><span style="font-size:10pt">Thanks for any clues -- Brian</span></div>
<div><span style="font-size:10pt"><br>
</span></div>
<div><span style="font-size:10pt">
<div>./xerces-c-3.1.1</div>
<div>./log4shib-1.0.8</div>
<div>./opensaml-2.5.3</div>
<div>./shibboleth-sp-2.5.3</div>
<div>./xml-security-c-1.7.2</div>
<div>./xmltooling-1.5.3</div>
</span></div>
</div>
</div>
</div>
</div>
</body>
</html>