You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2016/01/13 06:52:39 UTC

[jira] [Updated] (TS-3797) Crashes due to cross-thread race conditions

     [ https://issues.apache.org/jira/browse/TS-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-3797:
------------------------------
    Component/s: Core

> Crashes due to cross-thread race conditions
> -------------------------------------------
>
>                 Key: TS-3797
>                 URL: https://issues.apache.org/jira/browse/TS-3797
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 5.3.0
>            Reporter: Susan Hinrichs
>            Assignee: Susan Hinrichs
>              Labels: yahoo
>             Fix For: 6.1.0
>
>
>  We had seen crashes with the following stack trace occasionally, but recently we have found an environment where these crashes happen so frequently that running ATS with global session pools is not feasible.
> {code}
> #0  0x00000000004fac6e in Ptr<IOBufferBlock>::operator IOBufferBlock* (
>     this=0x10) at ../lib/ts/Ptr.h:300
> #1  0x00000000005109a2 in IOBufferReader::read_avail (this=0x0)
>     at ../iocore/eventsystem/P_IOBuffer.h:606
> #2  0x0000000000777b54 in write_to_net_io (nh=0x2acc365358a0, 
>     vc=0x2acd38024960, thread=0x2acc36532010) at UnixNetVConnection.cc:540
> #3  0x000000000077747a in write_to_net (nh=0x2acc365358a0, vc=0x2acd38024960, 
>     thread=0x2acc36532010) at UnixNetVConnection.cc:407
> #4  0x0000000000770378 in NetHandler::mainNetEvent (this=0x2acc365358a0, 
>     event=5, e=0x2244730) at UnixNet.cc:562
> #5  0x0000000000510560 in Continuation::handleEvent (this=0x2acc365358a0, 
>     event=5, data=0x2244730) at ../iocore/eventsystem/I_Continuation.h:145
> #6  0x0000000000796ffe in EThread::process_event (this=0x2acc36532010, 
>     e=0x2244730, calling_code=5) at UnixEThread.cc:128
> #7  0x0000000000797508 in EThread::execute (this=0x2acc36532010)
>     at UnixEThread.cc:252
> #8  0x00000000007965a9 in spawn_thread_internal (a=0x2115540) at Thread.cc:85
> #9  0x00002acc2edd49d1 in start_thread () from /lib64/libpthread.so.0
> #10 0x00000032750e88fd in clone () from /lib64/libc.so.6
> {code}
> See https://cwiki.apache.org/confluence/display/TS/Threading+Issues+And+NetVC+Migration for analysis of the crash and a suggested solution.



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