[JIRA] Created: (SSPCPP-432) module segmentation fault with long URLs

skoranda@uwm.edu (JIRA) noreply at shibboleth.net
Thu Mar 29 02:59:16 BST 2012


module segmentation fault with long URLs
----------------------------------------

                 Key: SSPCPP-432
                 URL: https://issues.shibboleth.net/jira/browse/SSPCPP-432
             Project: Shibboleth SP - C++
          Issue Type: Bug
          Components: Logging
    Affects Versions: 2.4.3
         Environment: # uname -a
Linux oregano.phys.uwm.edu 2.6.32-5-amd64 #1 SMP Thu Mar 22 17:26:33 UTC 2012 x86_64 GNU/Linux

# dpkg --list | grep shib
ii  libapache2-mod-shib2                     2.4.3+dfsg-2~bpo60+1         Federated web single sign-on system (Apache module)
ii  libshibsp-dev                            2.4.3+dfsg-2~bpo60+1         Federated web single sign-on system (development)
ii  libshibsp5                               2.4.3+dfsg-2~bpo60+1         Federated web single sign-on system (runtime)
ii  shibboleth-sp2-schemas                   2.4.3+dfsg-2~bpo60+1         Federated web single sign-on system (schemas)

            Reporter: skoranda at uwm.edu
            Assignee: Scott Cantor
         Attachments: gdb.txt, longURL

When attempting to access a long (1154 character) URL the Apache httpd child processes segfault. The Apache log contains lines like

[Wed Mar 28 18:32:39 2012] [notice] child pid 29527 exit signal Segmentation fault (11), possible coredump in /tmp/cores

This happens even when the URL resource is not being protected using the module and even if no content served by the SP is protected. It is only necessary to have the module loaded, that is for the Apache configuration to contain 

LoadModule mod_shib /usr/lib/apache2/modules/mod_shib_22.so

Removing the LoadModule command from the configuration fixes the issue.

The long URL being access is provided in an attachment as is the output of using gdb to examine the core file.

The gdb command used was

thread apply all bt full



--
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