You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/09/14 08:37:21 UTC
[jira] [Work logged] (TS-4833) Crash in
Http2ConnectionState::send_a_data_frame
[ https://issues.apache.org/jira/browse/TS-4833?focusedWorklogId=29032&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-29032 ]
ASF GitHub Bot logged work on TS-4833:
--------------------------------------
Author: ASF GitHub Bot
Created on: 14/Sep/16 08:36
Start Date: 14/Sep/16 08:36
Worklog Time Spent: 10m
Work Description: GitHub user masaori335 opened a pull request:
https://github.com/apache/trafficserver/pull/1018
TS-4833: Check stream is not closed when restart it
I found below in dumped stream object in [frame #0](https://issues.apache.org/jira/browse/TS-4833?focusedCommentId=15475142&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15475142)
```
_state=HTTP2_STREAM_STATE_HALF_CLOSED_REMOTE
closed=true
```
I think restarting closed stream is root cause.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/masaori335/trafficserver ts-4833
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/1018.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1018
----
----
Issue Time Tracking
-------------------
Worklog Id: (was: 29032)
Time Spent: 10m
Remaining Estimate: 0h
> Crash in Http2ConnectionState::send_a_data_frame
> ------------------------------------------------
>
> Key: TS-4833
> URL: https://issues.apache.org/jira/browse/TS-4833
> Project: Traffic Server
> Issue Type: Bug
> Components: HTTP/2
> Reporter: Leif Hedstrom
> Priority: Critical
> Labels: A, crash
> Fix For: 7.0.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> I'm moving this away from TS-4541, since we now suspect these might not be related.
> My trace is
> {code}
> (gdb) bt
> #0 Http2ConnectionState::send_a_data_frame (this=this@entry=0x238, stream=stream@entry=0x2ae514423b00, payload_length=@0x2aaab3e04988: 0)
> at Http2ConnectionState.cc:1029
> #1 0x00002aaaaacf8d67 in Http2ConnectionState::send_data_frames (this=0x238, stream=0x2ae514423b00) at Http2ConnectionState.cc:1104
> #2 0x00002aaaaacff695 in Http2Stream::send_response_body (this=<optimized out>) at Http2Stream.cc:543
> #3 0x00002aaaaacf3ff2 in Http2ConnectionState::restart_streams (this=0x2ab803790288) at Http2ConnectionState.cc:914
> #4 rcv_window_update_frame (cstate=..., frame=...) at Http2ConnectionState.cc:627
> #5 0x00002aaaaacf9718 in Http2ConnectionState::main_event_handler (this=0x2ab803790288, event=<optimized out>, edata=<optimized out>)
> at Http2ConnectionState.cc:823
> #6 0x00002aaaaacef1b3 in Continuation::handleEvent (data=0x2aaab3e04ab0, event=2253, this=0x2ab803790288)
> at ../../iocore/eventsystem/I_Continuation.h:153
> #7 send_connection_event (cont=cont@entry=0x2ab803790288, event=event@entry=2253, edata=edata@entry=0x2aaab3e04ab0) at Http2ClientSession.cc:58
> #8 0x00002aaaaacef452 in Http2ClientSession::state_complete_frame_read (this=0x2ab803790050, event=<optimized out>, edata=0x2aaaf549b718)
> at Http2ClientSession.cc:426
> #9 0x00002aaaaacf0972 in Continuation::handleEvent (data=0x2aaaf549b718, event=100, this=0x2ab803790050)
> at ../../iocore/eventsystem/I_Continuation.h:153
> #10 Http2ClientSession::state_start_frame_read (this=0x2ab803790050, event=<optimized out>, edata=0x2aaaf549b718) at Http2ClientSession.cc:399
> #11 0x00002aaaaae67d6b in Continuation::handleEvent (data=0x2aaaf549b718, event=100, this=<optimized out>)
> at ../../iocore/eventsystem/I_Continuation.h:153
> #12 read_signal_and_update (vc=0x2aaaf549b600, vc@entry=0x1, event=event@entry=100) at UnixNetVConnection.cc:153
> #13 UnixNetVConnection::readSignalAndUpdate (this=this@entry=0x2aaaf549b600, event=event@entry=100) at UnixNetVConnection.cc:1036
> #14 0x00002aaaaae47633 in SSLNetVConnection::net_read_io (this=0x2aaaf549b600, nh=0x2aaab250acc0, lthread=0x2aaab2507000) at SSLNetVConnection.cc:595
> #15 0x00002aaaaae554cc in NetHandler::mainNetEvent (this=0x2aaab250acc0, event=<optimized out>, e=<optimized out>) at UnixNet.cc:513
> #16 0x00002aaaaae8d226 in Continuation::handleEvent (data=0x2aaab0bfa640, event=5, this=<optimized out>) at I_Continuation.h:153
> #17 EThread::process_event (calling_code=5, e=0x2aaab0bfa640, this=0x2aaab2507000) at UnixEThread.cc:148
> #18 EThread::execute (this=0x2aaab2507000) at UnixEThread.cc:275
> #19 0x00002aaaaae8c026 in spawn_thread_internal (a=0x2aaab0b25be0) at Thread.cc:86
> #20 0x00002aaaad6b3aa1 in start_thread (arg=0x2aaab3e05700) at pthread_create.c:301
> #21 0x00002aaaae8bc93d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)