Aron Xu created TS-3702:
---------------------------
Summary: Crash in cache handling with https
Key: TS-3702
URL: https://issues.apache.org/jira/browse/TS-3702
Project: Traffic Server
Issue Type: Bug
Components: Cache
Reporter: Aron Xu
There's a random crash that happens in 5.3.0 on Linux x86_64. It's only seen
with https requests, either GET/POST requests. Requesting the same URL without
HTTPS never reproduce a crash on the same installation.
(gdb) bt full
#0 ink_aio_read (op=op@entry=0x2b9e4e7e0180) at AIO.cc:585
No locals.
#1 0x00002b9e3bf0cd2e in CacheVC::handleRead (this=this@entry=0x2b9e4e7e0000)
at Cache.cc:2756
o = <optimized out>
#2 0x00002b9e3bf2e41a in do_read_call (akey=0x2b9e4e7e0038,
this=0x2b9e4e7e0000) at P_CacheInternal.h:707
No locals.
#3 Cache::open_read (this=<optimized out>, cont=<optimized out>,
key=<optimized out>, request=0x2b9e4e3f3078, params=<optimized out>,
type=<optimized out>, hostname=0x2b9e4e43e02e "portal.bfsu.edu.cn ",
host_len=18) at CacheRead.cc:138
lock = {m = {m_ptr = 0x2b9e3c254410}, lock_acquired = true}
vol = <optimized out>
c = 0x2b9e4e7e0000
result = {w = {2697, 15360, 11224, 0, 0}}
last_collision = 0x2b9e4e527470
od = 0x0
#4 0x00002b9e3bf0bc36 in open_read (type=<optimized out>, params=<optimized
out>, request=<optimized out>, url=<optimized out>, cont=<optimized out>,
this=<optimized out>) at P_CacheInternal.h:1074
md5 = {b = {8565970937377538256, 10916790875855195096}, u64 =
{8565970937377538256, 10916790875855195096}, u32 = {3736420560, 1994420526,
1116933080, 2541763446}, u8 =
"\320@\265\336.q\340v\330\v\223Bv;\200\227"}
#5 CacheProcessor::open_read (this=0x20, cont=0x2b9e4e3f4398,
url=0x2b9e4e3f2a10, cluster_cache_local=224, request=0x2b9e4e3f3078,
params=0x2b9e4e3f2a50,
pin_in_cache=0, type=CACHE_FRAG_TYPE_HTTP) at Cache.cc:3598
No locals.
#6 0x00002b9e3bdd9563 in HttpCacheSM::do_cache_open_read
(this=this@entry=0x2b9e4e3f4398) at HttpCacheSM.cc:211
action_handle = <optimized out>
#7 0x00002b9e3bdd989d in HttpCacheSM::open_read
(this=this@entry=0x2b9e4e3f4398, url=url@entry=0x2b9e4e3f2a10,
hdr=hdr@entry=0x2b9e4e3f3078,
params=params@entry=0x2b9e4e3f2a50, pin_in_cache=<optimized out>) at
HttpCacheSM.cc:243
act_return = <optimized out>
#8 0x00002b9e3bdea404 in HttpSM::do_cache_lookup_and_read
(this=0x2b9e4e3f2970) at HttpSM.cc:4389
#13 0x00002b9e3bdfd903 in HttpSM::set_next_state (this=0x2b9e4e3f2970) at
HttpSM.cc:6888
__FUNCTION__ = "set_next_state"
#14 0x00002b9e3bdf1501 in HttpSM::state_read_client_request_header
(this=0x2b9e4e3f2970, event=100, data=0x21) at HttpSM.cc:777
__FUNCTION__ = "state_read_client_request_header"
bytes_used = 137
state = PARSE_DONE
#15 0x00002b9e3bdff3f4 in HttpSM::main_handler (this=0x2b9e4e3f2970, event=100,
data=0x2b9e4c6d8f88) at HttpSM.cc:2554
jump_point = <optimized out>
---Type <return> to continue, or q <return> to quit---
__FUNCTION__ = "main_handler"
vc_entry = <optimized out>
#16 0x00002b9e3bf75dc9 in handleEvent (data=0x2b9e4c6d8f88, event=100,
this=<optimized out>) at ../../iocore/eventsystem/I_Continuation.h:145
No locals.
#17 read_signal_and_update (vc=vc@entry=0x2b9e4c6d8e70, event=event@entry=100)
at UnixNetVConnection.cc:139
No locals.
#18 UnixNetVConnection::readSignalAndUpdate (this=this@entry=0x2b9e4c6d8e70,
event=event@entry=100) at UnixNetVConnection.cc:959
No locals.
#19 0x00002b9e3bf5a6ed in SSLNetVConnection::net_read_io (this=0x2b9e4c6d8e70,
nh=<optimized out>, lthread=<optimized out>) at SSLNetVConnection.cc:546
ret = <optimized out>
bytes = <optimized out>
s = 0x2b9e4c6d8f80
__FUNCTION__ = "net_read_io"
buf = @0x2b9e4c6d8fa8: {mbuf = 0x2b9e3ca57da0, entry = 0x0}
r = <optimized out>
lock = {m = {m_ptr = 0x2b9e3c9b6df0}, lock_acquired = true}
#20 0x00002b9e3bf66d9a in NetHandler::mainNetEvent (this=0x2b9e43dd3760,
event=1, e=0x21) at UnixNet.cc:546
epd = 0x2b9e4c6d9090
__FUNCTION__ = "mainNetEvent"
poll_timeout = 1050915552
vc = 0x21
#21 0x00002b9e3bf938d0 in handleEvent (data=0x2b9e3c197900, event=5,
this=<optimized out>) at I_Continuation.h:145
No locals.
#22 EThread::process_event (this=this@entry=0x2b9e43dd0010, e=0x2b9e3c197900,
calling_code=calling_code@entry=5) at UnixEThread.cc:128
c_temp = <optimized out>
lock = {m = {m_ptr = 0x2b9e3c241fe0}, lock_acquired = true}
#23 0x00002b9e3bf940ec in EThread::execute (this=0x2b9e43dd0010) at
UnixEThread.cc:252
done_one = false
e = <optimized out>
NegativeQueue = {<DLL<Event, Event::Link_link>> = {head = 0x0}, tail =
<optimized out>}
next_time = 1434631708814486124
#24 0x00002b9e3bf933a6 in spawn_thread_internal (a=0x2b9e43ce1870) at
Thread.cc:85
p = 0x2b9e43ce1870
#25 0x00002b9e3e82b0a4 in start_thread (arg=0x2b9e4c201700) at
pthread_create.c:309
__res = <optimized out>
pd = 0x2b9e4c201700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {47958881998592,
4878458854653079137, 0, 47958622478432, 0, 47958881998592, 1481504253703138913,
1481606754489773665}, mask_was_saved = 0}}, priv = {pad = {0x0,
0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#26 0x00002b9e3f54c04d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)