<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<base href="https://issues.shibboleth.net/jira">
<title>Message Title</title>
</head>
<body class="jira" style="color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 1.429">
<table id="background-table" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #f5f5f5; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt" bgcolor="#f5f5f5">
<!-- header here -->
<tbody>
<tr>
<td id="header-pattern-container" style="padding: 0px; border-collapse: collapse; padding: 10px 20px">
<table id="header-pattern" cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<tbody>
<tr>
<td id="header-avatar-image-container" valign="top" style="padding: 0px; border-collapse: collapse; vertical-align: top; width: 32px; padding-right: 8px" width="32"> <img id="header-avatar-image" class="image_fix" src="cid:jira-generated-image-avatar-e82a9845-ce2f-4921-86d0-cf0a7113e63e" height="32" width="32" border="0" style="border-radius: 3px; vertical-align: top"> </td>
<td id="header-text-container" valign="middle" style="padding: 0px; border-collapse: collapse; vertical-align: middle; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 1px"> <a class="user-hover" rel="4b2dae7623fc3d21393d07d83f7f85c547489007e368d6327879a9bb311213f6@https://login.idp.eduid.se/idp.xml" id="email_4b2dae7623fc3d21393d07d83f7f85c547489007e368d6327879a9bb311213f6@https://login.idp.eduid.se/idp.xml" href="https://issues.shibboleth.net/jira/secure/ViewProfile.jspa?name=4b2dae7623fc3d21393d07d83f7f85c547489007e368d6327879a9bb311213f6%40https%3A%2F%2Flogin.idp.eduid.se%2Fidp.xml" style="color:#0052cc;; color: #3b73af; text-decoration: none">4b2dae7623fc3d21393d07d83f7f85c547489007e368d6327879a9bb311213f6@https://login.idp.eduid.se/idp.xml</a> <strong>created</strong> an issue </td>
</tr>
</tbody>
</table> </td>
</tr>
<tr>
<td id="email-content-container" style="padding: 0px; border-collapse: collapse; padding: 0 20px">
<table id="email-content-table" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0; border-collapse: separate">
<tbody>
<tr>
<!-- there needs to be content in the cell for it to render in some clients -->
<td class="email-content-rounded-top mobile-expand" style="padding: 0px; border-collapse: collapse; color: #ffffff; padding: 0 15px 0 16px; height: 15px; background-color: #ffffff; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc; border-right: 1px solid #cccccc; border-bottom: 0; border-top-right-radius: 5px; border-top-left-radius: 5px; height: 10px; line-height: 10px; padding: 0 15px 0 16px; mso-line-height-rule: exactly" height="10" bgcolor="#ffffff"> </td>
</tr>
<tr>
<td class="email-content-main mobile-expand " style="padding: 0px; border-collapse: collapse; border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; border-top: 0; border-bottom: 0; padding: 0 15px 0 16px; background-color: #ffffff" bgcolor="#ffffff">
<table class="page-title-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<tbody>
<tr>
<td class="page-title-pattern-first-line " style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; padding-top: 10px"> <a href="https://issues.shibboleth.net/jira/browse/SSPCPP" style="color: #3b73af; text-decoration: none">Shibboleth SP - C++</a> / <a href="https://issues.shibboleth.net/jira/browse/SSPCPP-927" style="color: #3b73af; text-decoration: none"><img src="cid:jira-generated-image-avatar-7363b556-6edc-441b-958f-9e1d5bb2c6cd" height="16" width="16" border="0" align="absmiddle" alt="Bug" style="vertical-align: text-bottom"></a> <a href="https://issues.shibboleth.net/jira/browse/SSPCPP-927" style="color: #3b73af; text-decoration: none">SSPCPP-927</a> </td>
</tr>
<tr>
<td style="vertical-align: top;; padding: 0px; border-collapse: collapse; padding-right: 5px; font-size: 20px; line-height: 30px; mso-line-height-rule: exactly" class="page-title-pattern-header-container"> <span class="page-title-pattern-header" style="font-family: Arial, sans-serif; padding: 0; font-size: 20px; line-height: 30px; mso-text-raise: 2px; mso-line-height-rule: exactly; vertical-align: middle"> <a href="https://issues.shibboleth.net/jira/browse/SSPCPP-927" style="color: #3b73af; text-decoration: none">shibd segfaults in libshisp.so</a> </span> </td>
</tr>
</tbody>
</table> </td>
</tr>
<tr>
<td class="email-content-main mobile-expand wrapper-special-margin" style="padding: 0px; border-collapse: collapse; border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; border-top: 0; border-bottom: 0; padding: 0 15px 0 16px; background-color: #ffffff; padding-top: 10px; padding-bottom: 5px" bgcolor="#ffffff">
<table class="keyvalue-table" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<tbody>
<tr>
<th style="color: #707070; font: normal 14px/20px Arial, sans-serif; text-align: left; vertical-align: top; padding: 2px 0">Issue Type:</th>
<td class="has-icon" style="padding: 0px; border-collapse: collapse; font: normal 14px/20px Arial, sans-serif; padding: 2px 0 2px 5px; vertical-align: top"> <img src="cid:jira-generated-image-avatar-7363b556-6edc-441b-958f-9e1d5bb2c6cd" height="16" width="16" border="0" align="absmiddle" alt="Bug" style="vertical-align: text-bottom"> Bug </td>
</tr>
<tr>
<th style="color: #707070; font: normal 14px/20px Arial, sans-serif; text-align: left; vertical-align: top; padding: 2px 0">Affects Versions:</th>
<td style="padding: 0px; border-collapse: collapse; font: normal 14px/20px Arial, sans-serif; padding: 2px 0 2px 5px; vertical-align: top"> 3.2.1, 3.1.0, 3.0.4 </td>
</tr>
<tr>
<th style="color: #707070; font: normal 14px/20px Arial, sans-serif; text-align: left; vertical-align: top; padding: 2px 0">Assignee:</th>
<td style="padding: 0px; border-collapse: collapse; font: normal 14px/20px Arial, sans-serif; padding: 2px 0 2px 5px; vertical-align: top"> <a class="user-hover" rel="cantor.2@osu.edu" id="email_cantor.2@osu.edu" href="https://issues.shibboleth.net/jira/secure/ViewProfile.jspa?name=cantor.2%40osu.edu" style="color:#0052cc;; color: #3b73af; text-decoration: none">Scott Cantor</a> </td>
</tr>
<tr>
<th style="color: #707070; font: normal 14px/20px Arial, sans-serif; text-align: left; vertical-align: top; padding: 2px 0">Components:</th>
<td style="padding: 0px; border-collapse: collapse; font: normal 14px/20px Arial, sans-serif; padding: 2px 0 2px 5px; vertical-align: top"> Session Cache, Session Initiation </td>
</tr>
<tr>
<th style="color: #707070; font: normal 14px/20px Arial, sans-serif; text-align: left; vertical-align: top; padding: 2px 0">Created:</th>
<td style="padding: 0px; border-collapse: collapse; font: normal 14px/20px Arial, sans-serif; padding: 2px 0 2px 5px; vertical-align: top"> 22/Apr/21 1:56 PM </td>
</tr>
<tr>
<th style="color: #707070; font: normal 14px/20px Arial, sans-serif; text-align: left; vertical-align: top; padding: 2px 0">Environment:</th>
<td style="padding: 0px; border-collapse: collapse; font: normal 14px/20px Arial, sans-serif; padding: 2px 0 2px 5px; vertical-align: top"> <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0; margin-top: 0">OEL 8.3</p> <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0">httpd-2.4.37-30</p> <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0">shibboleth 3.1.0-3.1</p> <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0">We have 3 application overrides (the default application is "empty") and we're using the native mapper (we tried shibrequestsetting in location / before).</p> <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0"> </p> </td>
</tr>
<tr>
<th style="color: #707070; font: normal 14px/20px Arial, sans-serif; text-align: left; vertical-align: top; padding: 2px 0">Labels:</th>
<td style="padding: 0px; border-collapse: collapse; font: normal 14px/20px Arial, sans-serif; padding: 2px 0 2px 5px; vertical-align: top"> Session </td>
</tr>
<tr>
<th style="color: #707070; font: normal 14px/20px Arial, sans-serif; text-align: left; vertical-align: top; padding: 2px 0">Priority:</th>
<td class="has-icon" style="padding: 0px; border-collapse: collapse; font: normal 14px/20px Arial, sans-serif; padding: 2px 0 2px 5px; vertical-align: top"> <img src="cid:jira-generated-image-static-major-b32b8601-2336-4dfa-bada-75e56d6e8a96" height="16" width="16" border="0" align="absmiddle" alt="Major" style="vertical-align: text-bottom"> Major </td>
</tr>
<tr>
<th style="color: #707070; font: normal 14px/20px Arial, sans-serif; text-align: left; vertical-align: top; padding: 2px 0">Reporter:</th>
<td style="padding: 0px; border-collapse: collapse; font: normal 14px/20px Arial, sans-serif; padding: 2px 0 2px 5px; vertical-align: top"> <a class="user-hover" rel="4b2dae7623fc3d21393d07d83f7f85c547489007e368d6327879a9bb311213f6@https://login.idp.eduid.se/idp.xml" id="email_4b2dae7623fc3d21393d07d83f7f85c547489007e368d6327879a9bb311213f6@https://login.idp.eduid.se/idp.xml" href="https://issues.shibboleth.net/jira/secure/ViewProfile.jspa?name=4b2dae7623fc3d21393d07d83f7f85c547489007e368d6327879a9bb311213f6%40https%3A%2F%2Flogin.idp.eduid.se%2Fidp.xml" style="color:#0052cc;; color: #3b73af; text-decoration: none">4b2dae7623fc3d21393d07d83f7f85c547489007e368d6327879a9bb311213f6@https://login.idp.eduid.se/idp.xml</a> </td>
</tr>
</tbody>
</table> </td>
</tr>
<tr>
<td class="email-content-main mobile-expand issue-description-container" style="padding: 0px; border-collapse: collapse; border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; border-top: 0; border-bottom: 0; padding: 0 15px 0 16px; background-color: #ffffff; padding-top: 5px; padding-bottom: 10px" bgcolor="#ffffff">
<table class="text-paragraph-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 2px">
<tbody>
<tr>
<td class="text-paragraph-pattern-container mobile-resize-text " style="padding: 0px; border-collapse: collapse; padding: 0 0 10px 0"> <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0; margin-top: 0">We're migrating our reverse proxy from shibd 2.x to a newer setup, as traffic hits apache (200/300 req/sec) we start to have segmentation fault during request processing.</p> <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0">It seems something related to the session recover, which is not configured and we don't use (we don't have a data sealer configured).</p> <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0">We tried to downgrade from 3.2 to 3.1 then 3.0.4 but we face the same problem in the same function.</p> <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0">We're using apache and changed mpm_event to mpm_worker.</p> <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0">We're using OEL 8.3, which should be binary compatible with RHEL and Centos, I know this is an unsupported configuration.</p> <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0">Here's the traceback of shibd 3.1 (shibboleth-3.1.0-3.1.x86_64.rpm).</p> <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0">Core was generated by `/usr/sbin/shibd -f -F'.<br> Program terminated with signal SIGSEGV, Segmentation fault.<br> #0 0x00007fbc08a35716 in <font color="#de350b"><b>shibsp::SSCache::recover</b></font> (this=0x559f7a02e7e0, app=..., <br> key=0x7fbb8403b910 "_0d5975c944b57a19b5cfd37c3cfe99da", <br> data=0x7fbb8408cb00 "1%3AgwTo%2FTos65aTSxMxw8WGJifjQME8ziyCdJDdlwghpWmYBd%2BUkjKoz4Phg75EBE3AzretN3FWMKmr%0A%2FPw8cEpbEJ2N5lWtbezvMVM6HjBOV7rpqFG7q9G%2FGbyh%2BqTD%2BEOPhPOz2dDcxmwFOtl1BMZNaMyV%0AdyGUpZHuWmqqDx%2BRzTnlx%2F"...)<br> at impl/StorageServiceSessionCache.cpp:1176<br> <font color="#de350b"><b>1176 unwrapped = XMLToolingConfig::getConfig().getDataSealer()->unwrap(dup);</b></font><br> <span class="error">[Current thread is 1 (Thread 0x7fbb7a7fc700 (LWP 19469))]</span><br> Missing separate debuginfos, use: yum debuginfo-install brotli-1.0.6-2.el8.x86_64 cyrus-sasl-lib-2.1.27-5.el8.x86_64 glibc-2.28-127.0.3.el8_3.2.x86_64 keyutils-libs-1.5.10-6.el8.x86_64 krb5-libs-1.18.2-5.el8.x86_64 libblkid-2.32.1-24.el8.x86_64 libcap-2.26-4.el8.x86_64 libcom_err-1.45.6-1.el8.x86_64 libcurl-7.61.1-14.el8_3.1.x86_64 libgcc-8.3.1-5.1.0.2.el8.x86_64 libgcrypt-1.8.5-4.el8.x86_64 libgpg-error-1.31-1.el8.x86_64 libidn2-2.2.0-1.el8.x86_64 liblog4shib2-2.0.0-4.1.x86_64 libmount-2.32.1-24.el8.x86_64 libnghttp2-1.33.0-3.el8_2.1.x86_64 libpsl-0.20.2-6.el8.x86_64 libsaml11-3.1.0-3.2.x86_64 libselinux-2.9-4.el8_3.x86_64 libssh-0.9.4-2.el8.x86_64 libunistring-0.9.9-3.el8.x86_64 libuuid-2.32.1-24.el8.x86_64 libxerces-c-3_2-3.2.3-3.2.x86_64 libxml-security-c20-2.0.2-4.1.x86_64 libxmltooling9-3.1.0-5.2.x86_64 lz4-libs-1.8.3-2.el8.x86_64 openldap-2.4.46-15.el8.x86_64 openssl-libs-1.1.1g-15.el8_3.x86_64 pcre2-10.32-2.el8.x86_64 systemd-libs-239-41.0.1.el8_3.2.x86_64 xz-libs-5.2.4-3.el8.x86_64 zlib-1.2.11-16.2.el8_3.x86_64<br> (gdb) bt<br> #0 0x00007fbc08a35716 in shibsp::SSCache::recover (this=0x559f7a02e7e0, app=..., <br> key=0x7fbb8403b910 "_0d5975c944b57a19b5cfd37c3cfe99da", <br> data=0x7fbb8408cb00 "1%3AgwTo%2FTos65aTSxMxw8WGJifjQME8ziyCdJDdlwghpWmYBd%2BUkjKoz4Phg75EBE3AzretN3FWMKmr%0A%2FPw8cEpbEJ2N5lWtbezvMVM6HjBOV7rpqFG7q9G%2FGbyh%2BqTD%2BEOPhPOz2dDcxmwFOtl1BMZNaMyV%0AdyGUpZHuWmqqDx%2BRzTnlx%2F"...)<br> at impl/StorageServiceSessionCache.cpp:1176<br> #1 0x00007fbc08a397c2 in shibsp::SSCache::receive (this=0x559f7a02e7e0, in=..., out=...)<br> at /usr/include/c++/8/bits/char_traits.h:287<br> #2 0x00007fbc08a6db52 in shibsp::ListenerService::receive (this=0x559f7a149b80, in=..., out=...)<br> at remoting/impl/ListenerService.cpp:151<br> #3 0x00007fbc08a72052 in shibsp::ServerThread::job (this=0x559f7a7b43f0) at remoting/impl/SocketListener.cpp:563<br> #4 0x00007fbc08a72c1a in shibsp::ServerThread::run (this=0x559f7a7b43f0) at remoting/impl/SocketListener.cpp:497<br> #5 0x00007fbc08a72dd5 in server_thread_fn (arg=0x559f7a7b43f0) at remoting/impl/SocketListener.cpp:433<br> #6 0x00007fbc05ca416a in start_thread () from /usr/lib64/libpthread.so.0<br> #7 0x00007fbc059d5f83 in clone () from /usr/lib64/libc.so.6</p> </td>
</tr>
</tbody>
</table> </td>
</tr>
<tr>
<td class="email-content-main mobile-expand " style="padding: 0px; border-collapse: collapse; border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; border-top: 0; border-bottom: 0; padding: 0 15px 0 16px; background-color: #ffffff" bgcolor="#ffffff">
<table id="actions-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 1px">
<tbody>
<tr>
<td id="actions-pattern-container" valign="middle" style="padding: 0px; border-collapse: collapse; padding: 10px 0 10px 24px; vertical-align: middle; padding-left: 0">
<table align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<tbody>
<tr>
<td class="actions-pattern-action-icon-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 0; vertical-align: middle"> <a href="https://issues.shibboleth.net/jira/browse/SSPCPP-927#add-comment" target="_blank" title="Add Comment" style="color: #3b73af; text-decoration: none"> <img class="actions-pattern-action-icon-image" src="cid:jira-generated-image-static-comment-icon-7ed1b67c-7519-4d43-8bb3-e652af621269" alt="Add Comment" title="Add Comment" height="16" width="16" border="0" style="vertical-align: middle"> </a> </td>
<td class="actions-pattern-action-text-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 4px; padding-left: 5px"> <a href="https://issues.shibboleth.net/jira/browse/SSPCPP-927#add-comment" target="_blank" title="Add Comment" style="color: #3b73af; text-decoration: none">Add Comment</a> </td>
</tr>
</tbody>
</table> </td>
</tr>
</tbody>
</table> </td>
</tr>
<!-- there needs to be content in the cell for it to render in some clients -->
<tr>
<td class="email-content-rounded-bottom mobile-expand" style="padding: 0px; border-collapse: collapse; color: #ffffff; padding: 0 15px 0 16px; height: 5px; line-height: 5px; background-color: #ffffff; border-top: 0; border-left: 1px solid #cccccc; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; mso-line-height-rule: exactly" height="5" bgcolor="#ffffff"> </td>
</tr>
</tbody>
</table> </td>
</tr>
<tr>
<td id="footer-pattern" style="padding: 0px; border-collapse: collapse; padding: 12px 20px">
<table id="footer-pattern-container" cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<tbody>
<tr>
<td id="footer-pattern-text" class="mobile-resize-text" width="100%" style="padding: 0px; border-collapse: collapse; color: #999999; font-size: 12px; line-height: 18px; font-family: Arial, sans-serif; mso-line-height-rule: exactly; mso-text-raise: 2px"> This message was sent by Atlassian Jira <span id="footer-build-information">(v8.5.4#805004-<span title="0444eab799707f9ad7b248d69f858774aadfd250" data-commit-id="0444eab799707f9ad7b248d69f858774aadfd250}">sha1:0444eab</span>)</span> </td>
<td id="footer-pattern-logo-desktop-container" valign="top" style="padding: 0px; border-collapse: collapse; padding-left: 20px; vertical-align: top">
<table style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<tbody>
<tr>
<td id="footer-pattern-logo-desktop-padding" style="padding: 0px; border-collapse: collapse; padding-top: 3px"> <img id="footer-pattern-logo-desktop" src="https://issues.shibboleth.net/jira/images/mail/atlassian-email-logo.png" alt="Atlassian logo" title="Atlassian logo" width="191" height="24" class="image_fix"> </td>
</tr>
</tbody>
</table> </td>
</tr>
</tbody>
</table> </td>
</tr>
</tbody>
</table>
</body>
</html>