You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ted Ross (Created) (JIRA)" <ji...@apache.org> on 2012/01/27 20:40:18 UTC

[jira] [Created] (QPID-3787) Segfault in SslPlugin during shutdown

Segfault in SslPlugin during shutdown
-------------------------------------

                 Key: QPID-3787
                 URL: https://issues.apache.org/jira/browse/QPID-3787
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker
    Affects Versions: 0.14
            Reporter: Ted Ross
            Assignee: Ted Ross
            Priority: Minor
             Fix For: 0.15


If the SslPlugin (ssl.so) module is loaded but the "--ssl-cert-db" option is not set, the broker will core dump on shutdown.  This is because shutdownNSS is called in the SslPlugin destructor when initNSS was never called.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] [Updated] (QPID-3787) Segfault in SslPlugin during shutdown

Posted by "Sean MacDonald (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean MacDonald updated QPID-3787:
---------------------------------

    Attachment: sslconnector.diff
    
> Segfault in SslPlugin during shutdown
> -------------------------------------
>
>                 Key: QPID-3787
>                 URL: https://issues.apache.org/jira/browse/QPID-3787
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.14
>            Reporter: Ted Ross
>            Assignee: Ted Ross
>            Priority: Minor
>             Fix For: 0.15
>
>         Attachments: sslconnector.diff
>
>
> If the SslPlugin (ssl.so) module is loaded but the "--ssl-cert-db" option is not set, the broker will core dump on shutdown.  This is because shutdownNSS is called in the SslPlugin destructor when initNSS was never called.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] [Resolved] (QPID-3787) Segfault in SslPlugin during shutdown

Posted by "Ted Ross (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Ross resolved QPID-3787.
----------------------------

    Resolution: Fixed
    
> Segfault in SslPlugin during shutdown
> -------------------------------------
>
>                 Key: QPID-3787
>                 URL: https://issues.apache.org/jira/browse/QPID-3787
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.14
>            Reporter: Ted Ross
>            Assignee: Ted Ross
>            Priority: Minor
>             Fix For: 0.15
>
>
> If the SslPlugin (ssl.so) module is loaded but the "--ssl-cert-db" option is not set, the broker will core dump on shutdown.  This is because shutdownNSS is called in the SslPlugin destructor when initNSS was never called.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] [Commented] (QPID-3787) Segfault in SslPlugin during shutdown

Posted by "Sean MacDonald (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-3787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13204019#comment-13204019 ] 

Sean MacDonald commented on QPID-3787:
--------------------------------------

The client needs a fix for this as well or will segfault on disconnect. I have attached a patch.
                
> Segfault in SslPlugin during shutdown
> -------------------------------------
>
>                 Key: QPID-3787
>                 URL: https://issues.apache.org/jira/browse/QPID-3787
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.14
>            Reporter: Ted Ross
>            Assignee: Ted Ross
>            Priority: Minor
>             Fix For: 0.15
>
>         Attachments: sslconnector.diff
>
>
> If the SslPlugin (ssl.so) module is loaded but the "--ssl-cert-db" option is not set, the broker will core dump on shutdown.  This is because shutdownNSS is called in the SslPlugin destructor when initNSS was never called.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org