[JIRA] Commented: (SSPCPP-473) occasional shibd crashes when using MySQL ODBC storage service on RHEL6

Sebastien Otto Korner (JIRA) noreply at shibboleth.net
Thu Jul 19 15:24:55 EDT 2012


    [ https://issues.shibboleth.net/jira/browse/SSPCPP-473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14263#comment-14263 ] 

Sebastien Otto Korner commented on SSPCPP-473:
----------------------------------------------

Thanks for looking into it, and for clarifying/confirming that the source of the problem is likely the driver or ODBC manager.  I didn't understand the evidence well enough to know if it exonerated the SP's ODBC plugin.

I will try using newer versions of unixODBC and mysql-odbc-connector, as what's included in RHEL6 is still quite old.  I will update when I have more information.  FWIW, we also have the same problem on Debian 6.0.x systems, which use similar versions of these two packages.

I agree that using catchAll to prevent the crashes is undesirable for this problem.  Staying up, but functioning improperly or not at all, is not worth it.  We have a watchdog that just restarts shibd anyway.

> occasional shibd crashes when using MySQL ODBC storage service on RHEL6
> -----------------------------------------------------------------------
>
>                 Key: SSPCPP-473
>                 URL: https://issues.shibboleth.net/jira/browse/SSPCPP-473
>             Project: Shibboleth SP - C++
>          Issue Type: Bug
>      Security Level: Standard(Standard bug, may impact functionality but does not represent a security vulnerability ) 
>    Affects Versions: 2.4.3
>         Environment: RHEL6, Apache 2.2, SP 2.4.3 from RPM, and MySQL for storage service. Using RH supplied unixODBC and mysql-connector-odbc packages with default odbcinst.ini.
>            Reporter: Sebastien Otto Korner
>            Assignee: Scott Cantor
>         Attachments: shibd-crash-mode-1.txt, shibd-crash-mode-2.txt
>
>
> When using the ODBC storage service with MySQL on RHEL6 shibd crashes periodically.  Our web servers are 1/2 RHEL5 and 1/2 RHEL6, with load spread equally between them.  The shibd on RHEL5 never crashes.  Without using the ODBC storage service shibd never crashes on any server.
> The crash frequency in terms of session creation is about once every thousand.  It does not appear to be a regular occurrence based on number of sessions since the last crash though.  For approximately half the crashes another crash follows within 30 minutes.
> Investigating the core files indicates two different failure modes, with MySQL use implicated in both.  Attached are traces representing the two failure modes.
> Let me know if you require more information.
> Thanks.
> Sebastien

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