Susan Hinrichs created TS-3797:
----------------------------------
Summary: 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
Reporter: Susan Hinrichs
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)