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/11/04 02:32:58 UTC

[jira] [Work logged] (TS-4554) ASAN crash (stack overflow) with H2 priorities

     [ https://issues.apache.org/jira/browse/TS-4554?focusedWorklogId=31575&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-31575 ]

ASF GitHub Bot logged work on TS-4554:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Nov/16 02:32
            Start Date: 04/Nov/16 02:32
    Worklog Time Spent: 10m 
      Work Description: GitHub user masaori335 opened a pull request:

    https://github.com/apache/trafficserver/pull/1189

    TS-4554: Add some limitations in Http2DependencyTree

    - Set max depth of Http2DependencyTree
      When the depth over the maximum, new node will be a children of root node.
    - Limit number of Http2DependencyTree node
    - Remove node from Http2DependencyTree when delete streams
    
    (cherry picked from commit c71fa8c5e4c4c80217e7927752fd6febb5812ba7)
    
    Conflicts:
    	proxy/http2/Http2ConnectionState.cc

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/masaori335/trafficserver 6.2.x_ts-4554

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/1189.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 #1189
    
----
commit 4b3711ff1628f263f6f1225fbb69e9bb0ca0002e
Author: Masaori Koshiba <ma...@apache.org>
Date:   2016-07-28T11:06:09Z

    TS-4554: Add some limitations in Http2DependencyTree
    
    - Set max depth of Http2DependencyTree
      When the depth over the maximum, new node will be a children of root node.
    - Limit number of Http2DependencyTree node
    - Remove node from Http2DependencyTree when delete streams
    
    (cherry picked from commit c71fa8c5e4c4c80217e7927752fd6febb5812ba7)
    
    Conflicts:
    	proxy/http2/Http2ConnectionState.cc

----


Issue Time Tracking
-------------------

    Worklog Id:     (was: 31575)
    Time Spent: 2h 50m  (was: 2h 40m)

> ASAN crash (stack overflow) with H2 priorities
> ----------------------------------------------
>
>                 Key: TS-4554
>                 URL: https://issues.apache.org/jira/browse/TS-4554
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: HTTP/2
>    Affects Versions: 7.0.0
>            Reporter: Leif Hedstrom
>            Assignee: Masaori Koshiba
>              Labels: ASAN
>             Fix For: 7.0.0
>
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> I'm seeing (truncated):
> {code}
> ASAN:SIGSEGV
> =================================================================
> ==11178==ERROR: AddressSanitizer: stack-overflow on address 0x2aab63633ff0 (pc 0x0000007ddaa9 bp 0x2aab63634050 sp 0x2aab63633ff0 T6)
>     #0 0x7ddaa8 in Http2DependencyTree<Http2Stream*>::_find(Http2DependencyTree<Http2Stream*>::Node*, unsigned int) /usr/local/src/trafficserver/proxy/http2/Http2DependencyTree.h:134
>     #1 0x7ddaa8 in Http2DependencyTree<Http2Stream*>::_find(Http2DependencyTree<Http2Stream*>::Node*, unsigned int) /usr/local/src/trafficserver/proxy/http2/Http2DependencyTree.h:140
>     #2 0x7ddaa8 in Http2DependencyTree<Http2Stream*>::_find(Http2DependencyTree<Http2Stream*>::Node*, unsigned int) /usr/local/src/trafficserver/proxy/http2/Http2DependencyTree.h:140
> .
> .
> .
>     #2261 0x7ddc34 in Http2DependencyTree<Http2Stream*>::_find(Http2DependencyTree<Http2Stream*>::Node*, unsigned int) /usr/local/src/trafficserver/proxy/http2/Http2DependencyTree.h:140
>     #2262 0x7ddc34 in Http2DependencyTree<Http2Stream*>::_find(Http2DependencyTree<Http2Stream*>::Node*, unsigned int) /usr/local/src/trafficserver/proxy/http2/Http2DependencyTree.h:140
>     #2263 0x7ddc34 in Http2DependencyTree<Http2Stream*>::_find(Http2DependencyTree<Http2Stream*>::Node*, unsigned int) /usr/local/src/trafficserver/proxy/http2/Http2DependencyTree.h:140
> SUMMARY: AddressSanitizer: stack-overflow /usr/local/src/trafficserver/proxy/http2/Http2DependencyTree.h:134 Http2DependencyTree<Http2Stream*>::_find(Http2DependencyTree<Http2Stream*>::Node*, unsigned int)
> Thread T6 ([ET_NET 5]) created by T0 ([ET_NET 0]) here:
>     #0 0x2aab5b0d50c4 in __interceptor_pthread_create ../../../../libsanitizer/asan/asan_interceptors.cc:179
>     #1 0xcfdb99 in ink_thread_create ../../lib/ts/ink_thread.h:147
>     #2 0xcfdb99 in Thread::start(char const*, unsigned long, void* (*)(void*), void*) /usr/local/src/trafficserver/iocore/eventsystem/Thread.cc:99
>     #3 0xd0562e in EventProcessor::start(int, unsigned long) /usr/local/src/trafficserver/iocore/eventsystem/UnixEventProcessor.cc:140
>     #4 0x497b59 in main /usr/local/src/trafficserver/proxy/Main.cc:1746
>     #5 0x2aab5ee11b14 in __libc_start_main (/lib64/libc.so.6+0x21b14)
> ==11178==ABORTING
> {code}



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