[JIRA] Commented: (SSPCPP-414) SP crashes when used in ECP mode
anand@idp.protectnetwork.org (JIRA)
noreply at shibboleth.net
Wed Dec 21 19:55:25 GMT 2011
[ https://issues.shibboleth.net/jira/browse/SSPCPP-414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13737#comment-13737 ]
anand at idp.protectnetwork.org commented on SSPCPP-414:
-----------------------------------------------------
Attached the difference between the standard and my version
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
51c51,52
< ["Campus01"]="https://obelix.obelix.com/idp/profile/SAML2/SOAP/ECP"
---
> ["Campus01"]="https://campus01.edu/idp/profile/SAML2/SOAP/ECP"
> ["Campus02"]="https://campus02.edu/idp/profile/SAML2/SOAP/ECP"
65c66
< `basename $0` Campus01 https://m1234.lab.ppops.net/secure
---
> `basename $0` Campus01 https://campus01.edu/my/secret/page jsmith
154,155c155
< #sp_resp=`curl --silent -c $cookie_file -b $cookie_file -H "$header_accept" -H "$header_paos" "$target"`
< sp_resp=`curl -k -c $cookie_file -b $cookie_file -H "$header_accept" -H "$header_paos" "$target"`
---
> sp_resp=`curl --silent -c $cookie_file -b $cookie_file -H "$header_accept" -H "$header_paos" "$target"`
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
CURL COMMAND
I use -k for my test to ignore certs and the curl looks like
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
curl -H 'Accept:text/html; application/vnd.paos+xml' -H 'PAOS:ver="urn:liberty:paos:2003-08";"urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp"' https://m1234.lab.ppops.net/secure -k
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
WHERE FROM CORE
+++++++++++++++++++++++++++++++++++++
Core was generated by `/usr/sbin/shibd -p /var/run/shibboleth/shibd.pid -f -w 30'.
Program terminated with signal 11, Segmentation fault.
#0 0x000000311fc79b60 in strlen () from /lib64/libc.so.6
(gdb) where
#0 0x000000311fc79b60 in strlen () from /lib64/libc.so.6
#1 0x000000311fc46cb9 in vfprintf () from /lib64/libc.so.6
#2 0x000000311fc699da in vsnprintf () from /lib64/libc.so.6
#3 0x0000003125029356 in log4shib::StringUtil::vform(char const*, __va_list_tag*) () from /usr/lib64/liblog4shib.so.1
#4 0x000000312501c1a6 in log4shib::Category::_logUnconditionally(int, char const*, __va_list_tag*) () from /usr/lib64/liblog4shib.so.1
#5 0x000000312501b42e in log4shib::Category::debug(char const*, ...) () from /usr/lib64/liblog4shib.so.1
#6 0x00000031263cde81 in opensaml::saml2p::SAML2ECPEncoder::encode(xmltooling::GenericResponse&, xmltooling::XMLObject*, char const*, opensaml::saml2md::EntityDescriptor const*, char const*, opensaml::MessageEncoder::ArtifactGenerator const*, xmltooling::Credential const*, unsigned short const*, unsigned short const*) const () from /usr/lib64/libsaml.so.7
#7 0x0000003126ac2c96 in shibsp::AbstractHandler::sendMessage(opensaml::MessageEncoder const&, xmltooling::XMLObject*, char const*, char const*, opensaml::saml2md::RoleDescriptor const*, shibsp::Application const&, xmltooling::HTTPResponse&, bool) const () from /usr/lib64/libshibsp.so.5
#8 0x0000003126b0ac89 in shibsp::SAML2SessionInitiator::doRequest(shibsp::Application const&, xmltooling::HTTPRequest const*, xmltooling::HTTPResponse&, char const*, unsigned short const*, bool, char const*, unsigned short const*, bool, bool, char const*, char const*, char const*, char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&) const () from /usr/lib64/libshibsp.so.5
#9 0x0000003126b0e2b8 in shibsp::SAML2SessionInitiator::receive(shibsp::DDF&, std::basic_ostream<char, std::char_traits<char> >&) ()
from /usr/lib64/libshibsp.so.5
#10 0x0000003126b5a455 in shibsp::ListenerService::receive(shibsp::DDF&, std::basic_ostream<char, std::char_traits<char> >&) ()
from /usr/lib64/libshibsp.so.5
#11 0x0000003126b5d23c in shibsp::ServerThread::job() () from /usr/lib64/libshibsp.so.5
#12 0x0000003126b5dc4a in shibsp::ServerThread::run() () from /usr/lib64/libshibsp.so.5
#13 0x0000003126b5de01 in server_thread_fn(void*) () from /usr/lib64/libshibsp.so.5
#14 0x000000312100673d in start_thread () from /lib64/libpthread.so.0
#15 0x000000311fcd44bd in clone () from /lib64/libc.so.6
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> SP crashes when used in ECP mode
> --------------------------------
>
> Key: SSPCPP-414
> URL: https://issues.shibboleth.net/jira/browse/SSPCPP-414
> Project: Shibboleth SP - C++
> Issue Type: Bug
> Components: SAML 2.0 Single Sign-On
> Affects Versions: 2.4.3
> Environment: 2.6.18-238.19.1.el5.centos.plus
> Reporter: anand at idp.protectnetwork.org
> Assignee: Scott Cantor
> Attachments: core.shibd.gz, shibboleth2.xml
>
>
> This happens when I have ECP="true" for SSO.
> I use the curl from ecp.sh (bash based ecp client), and a few times it returns a browser redirect (weird!!), sometimes I have seen SessionInitiator does not exist, then after a few requests it crashes.
> The email thread is => http://shibboleth.1660669.n2.nabble.com/Setting-up-ECP-in-shibboleth-SP-tp7114452p7114452.html
> I have attached the core dump file along with the xml file.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the commits
mailing list