[ 
https://issues.apache.org/jira/browse/TS-4093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15066752#comment-15066752
 ] 

Lev Stipakov commented on TS-4093:
----------------------------------

Crash is caused by calling TSVConnClose inside TS_SSL_CERT_HOOK.

Thanks to gdb watch, turns out that TSVConnClose clears memory at ssl->ex_data

{code}
18:32 < lev__> this is what *ssl contains at the moment of segfault 
https://gist.github.com/stipa/7b932ec93ab11869dc63
18:38 < shinrich1> Ok, ssl->ex_data is the issue.  ssl->ex_data.sk should not 
be null if we had previously called SSL_set_ex_data in make_ssl_connection.  So 
either that call wasn't made (don't see how that could happen) or something 
cleared that value.
{code}

> ATS crashes inside ssl_callback_info
> ------------------------------------
>
>                 Key: TS-4093
>                 URL: https://issues.apache.org/jira/browse/TS-4093
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: Lev Stipakov
>
> Prerequisites: ATS 5.3.2 compiled with OpenSSL 1.0.2e.
> bt full: https://gist.github.com/stipa/9540fbc1b1ff9aaff81d
> traffic.log: https://gist.github.com/stipa/e0c0057e5e3135020194



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to