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

Susan Hinrichs edited comment on TS-3894 at 10/6/15 7:06 PM:
-------------------------------------------------------------

We have been running with this change in production starting 9/4/2015.  Have 
not seen this crash since.

The original crash stack was:

{code}
gdb) bt
#0  0x00000000005f5a45 in HttpSM::handle_server_setup_error 
(this=0x2bada4297f70, event=105, 
    data=0x2bad410af588) at HttpSM.cc:5278
#1  0x00000000005e98f9 in HttpSM::state_read_server_response_header 
(this=0x2bada4297f70, 
    event=105, data=0x2bad410af588) at HttpSM.cc:1824
#2  0x00000000005ec306 in HttpSM::main_handler (this=0x2bada4297f70, event=105, 
    data=0x2bad410af588) at HttpSM.cc:2619
#3  0x0000000000510de4 in Continuation::handleEvent (this=0x2bada4297f70, 
event=105, 
    data=0x2bad410af588) at ../iocore/eventsystem/I_Continuation.h:145
#4  0x0000000000778965 in read_signal_and_update (event=105, vc=0x2bad410af470)
    at UnixNetVConnection.cc:148
#5  0x000000000077bfdb in UnixNetVConnection::mainEvent (this=0x2bad410af470, 
event=1, 
    e=0x17c5c90) at UnixNetVConnection.cc:1171
#6  0x0000000000510de4 in Continuation::handleEvent (this=0x2bad410af470, 
event=1, data=0x17c5c90)
    at ../iocore/eventsystem/I_Continuation.h:145
#7  0x0000000000772d47 in InactivityCop::check_inactivity (this=0x169b440, 
event=2, e=0x17c5c90)
    at UnixNet.cc:107
#8  0x0000000000510de4 in Continuation::handleEvent (this=0x169b440, event=2, 
data=0x17c5c90)
    at ../iocore/eventsystem/I_Continuation.h:145
#9  0x00000000007997ee in EThread::process_event (this=0x2baa860c4010, 
e=0x17c5c90, 
    calling_code=2) at UnixEThread.cc:128
#10 0x0000000000799b09 in EThread::execute (this=0x2baa860c4010) at 
UnixEThread.cc:207
#11 0x0000000000798d99 in spawn_thread_internal (a=0x1691510) at Thread.cc:85
#12 0x00002baa8491c9d1 in start_thread () from /lib64/libpthread.so.0
#13 0x00000039522e88fd in clone () from /lib64/libc.so.6
{code}



was (Author: shinrich):
We have been running with this change in production starting 9/4/2015.  Have 
not seen this crash since.

> Missing NULL checks in HttpSM::handle_server_setup_error
> --------------------------------------------------------
>
>                 Key: TS-3894
>                 URL: https://issues.apache.org/jira/browse/TS-3894
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>            Reporter: Susan Hinrichs
>            Assignee: Susan Hinrichs
>             Fix For: 6.1.0
>
>
> In error cases, there may not be a consumer when expected.  Missing NULL 
> checks on the consumer variable c can result in crashes.



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

Reply via email to