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

Conan Wang commented on TS-1513:
--------------------------------

crash on git master too.

PluginVC::do_io_close is called twice at one session which may lead the crash 
(ink_assert: closed == false). 'closed' will turn true only inside 
PluginVC::do_io_close.

observed with gdb, second produce the crash:

{code}
(gdb) bt 
#0  0x0000000100070557 in PluginVC::do_io_close ()
#1  0x00000001000465d7 in TSVConnClose ()
#2  0x000000000078f9b8 in spdy_stream_io (contp=0x203c8b0, 
ev=TS_EVENT_VCONN_EOS, edata=0x205b730) at src/ts/stream.cc:232
#3  0x000000010003488e in INKContInternal::handle_event ()
#4  0x0000000100028467 in Continuation::handleEvent ()
#5  0x000000010006e510 in PluginVC::process_read_side ()
#6  0x000000010006d5a8 in PluginVC::main_handler ()
#7  0x0000000100028467 in Continuation::handleEvent ()
#8  0x00000001002a9059 in EThread::process_event ()
#9  0x00000001002a938b in EThread::execute ()
#10 0x000000010005de39 in main ()
{code}

{code}
(gdb) bt 
#0  0x0000000100070557 in PluginVC::do_io_close ()
#1  0x00000001000465d7 in TSVConnClose ()
#2  0x000000000078feba in spdy_io_stream::close (this=0x44d0f0) at 
src/ts/stream.cc:329
#3  0x000000000078fa10 in spdy_stream_io (contp=0x203c8b0, 
ev=TS_EVENT_VCONN_EOS, edata=0x205b730) at src/ts/stream.cc:240
#4  0x000000010003488e in INKContInternal::handle_event ()
#5  0x0000000100028467 in Continuation::handleEvent ()
#6  0x000000010006e510 in PluginVC::process_read_side ()
#7  0x000000010006d5a8 in PluginVC::main_handler ()
#8  0x0000000100028467 in Continuation::handleEvent ()
#9  0x00000001002a9059 in EThread::process_event ()
#10 0x00000001002a938b in EThread::execute ()
#11 0x000000010005de39 in main ()
{code}
                
> SPDY plugin crashes on connection close
> ---------------------------------------
>
>                 Key: TS-1513
>                 URL: https://issues.apache.org/jira/browse/TS-1513
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Plugins
>            Reporter: James Peach
>            Assignee: James Peach
>             Fix For: 3.3.2
>
>
> Following on from TS-1462,
> Conan Wang added a comment - 26/Sep/12 21:47
> About spdy test(on 3.2.x), request is not finished/closed normally after 
> sending http header and body. I can see Chrome is hanging for a while (for 
> seconds set in transaction_no_activity_timeout_in) before closing the 
> connection(or session). When closing the connection, ATS will crash. 
> (http://pastebin.com/kjAjkv3d)
> If I disable keep-alive, ATS will crash immediately after sending the 
> response. (http://pastebin.com/nBxWieiB)
> Spdy request/response is done correctly. (http://pastebin.com/BRXzcJJr)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to