Qiang Li created TS-3053:
----------------------------
Summary: enable-linux-native-aio crash
Key: TS-3053
URL: https://issues.apache.org/jira/browse/TS-3053
Project: Traffic Server
Issue Type: Bug
Reporter: Qiang Li
configure with --enable-linux-native-aio it will crash sometime
{code}
(gdb) bt
#0 enqueue (op=0x2aaae465ecc0) at ../../lib/ts/List.h:290
#1 ink_aio_read (op=0x2aaae465ecc0) at AIO.cc:611
#2 0x00000000006ca458 in CacheVC::handleRead (this=0x2aaae465eb40) at
Cache.cc:2756
#3 0x00000000006ef52e in Cache::open_read (this=<value optimized out>,
cont=0x2aaaf0101a30, key=<value optimized out>, request=0x2aaaf0100708,
params=0x2aaaf01000e0, type=<value optimized out>,
hostname=0x2aaaf0240073
"cdn.u1.huluxia.comhttpg1/M00/0C/8D/wKgBB1QAtUOAXXj-AAARZtl9MXk020.jpg_160x160.jpegcdn.u1.huluxia.com\377",
host_len=18)
at CacheRead.cc:136
#4 0x00000000006ccf6d in open_read (this=<value optimized out>,
cont=0x2aaaf0101a30, url=0x2aaaf0100720, cluster_cache_local=<value optimized
out>,
request=0x2aaaf0100708, params=0x2aaaf01000e0, pin_in_cache=0,
type=CACHE_FRAG_TYPE_HTTP) at P_CacheInternal.h:1083
#5 CacheProcessor::open_read (this=<value optimized out>, cont=0x2aaaf0101a30,
url=0x2aaaf0100720, cluster_cache_local=<value optimized out>,
request=0x2aaaf0100708, params=0x2aaaf01000e0, pin_in_cache=0,
type=CACHE_FRAG_TYPE_HTTP) at Cache.cc:3600
#6 0x0000000000588d94 in do_cache_open_read (this=<value optimized out>,
url=<value optimized out>, hdr=<value optimized out>,
params=<value optimized out>, pin_in_cache=<value optimized out>) at
HttpCacheSM.cc:216
#7 HttpCacheSM::open_read (this=<value optimized out>, url=<value optimized
out>, hdr=<value optimized out>, params=<value optimized out>,
pin_in_cache=<value optimized out>) at HttpCacheSM.cc:248
#8 0x00000000005961e3 in HttpSM::do_cache_lookup_and_read
(this=0x2aaaf0100000) at HttpSM.cc:4330
#9 0x00000000005af784 in HttpSM::set_next_state (this=0x2aaaf0100000) at
HttpSM.cc:6992
#10 0x00000000005a8ec2 in HttpSM::handle_api_return (this=0x2aaaf0100000) at
HttpSM.cc:1509
#11 0x00000000005a95c0 in HttpSM::state_api_callout (this=0x2aaaf0100000,
event=0, data=0x0) at HttpSM.cc:1441
#12 0x00000000005af26a in HttpSM::set_next_state (this=0x2aaaf0100000) at
HttpSM.cc:6882
#13 0x000000000059563e in HttpSM::state_remap_request (this=0x2aaaf0100000,
event=63002) at HttpSM.cc:3826
#14 0x00000000005ac598 in HttpSM::main_handler (this=0x2aaaf0100000,
event=63002, data=0x0) at HttpSM.cc:2546
#15 0x0000000000605c3a in handleEvent (this=0x2aaacc548000, event=1,
e=0x2aaaf024ed20) at ../../../iocore/eventsystem/I_Continuation.h:146
#16 RemapPlugins::run_remap (this=0x2aaacc548000, event=1, e=0x2aaaf024ed20) at
RemapPlugins.cc:180
#17 0x000000000074656f in handleEvent (this=0x2afd7171f010, e=0x2aaaf024ed20,
calling_code=1) at I_Continuation.h:146
#18 EThread::process_event (this=0x2afd7171f010, e=0x2aaaf024ed20,
calling_code=1) at UnixEThread.cc:144
#19 0x0000000000746edb in EThread::execute (this=0x2afd7171f010) at
UnixEThread.cc:195
#20 0x000000000074590a in spawn_thread_internal (a=0x1b86300) at Thread.cc:88
#21 0x00002afd68f2e9d1 in start_thread () from /lib64/libpthread.so.0
#22 0x00002afd69f24b6d in clone () from /lib64/libc.so.6
(gdb) f 1
#1 ink_aio_read (op=0x2aaae465ecc0) at AIO.cc:611
611 t->diskHandler->ready_list.enqueue(op);
(gdb) p t->diskHandler
$1 = (DiskHandler *) 0x0
(gdb)
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)