bettydramit created TS-2676:
-------------------------------
Summary: crash when enable --enable-linux-native-aio
Key: TS-2676
URL: https://issues.apache.org/jira/browse/TS-2676
Project: Traffic Server
Issue Type: Bug
Reporter: bettydramit
Centos 6 x86_64 gitmaster version
when enable --enable-linux-native-aio ,ATS will be crash
(gdb) bt
#0 0x00000000006bb2e2 in Queue<AIOCallback, Continuation::Link_link>::enqueue
(this=0x8040, e=0x2b2077f60180) at ../../lib/ts/List.h:290
#1 0x00000000006bad5b in ink_aio_read (op=0x2b2077f60180) at AIO.cc:605
#2 0x00000000006800d5 in CacheVC::handleRead (this=0x2b2077f60000) at
Cache.cc:2605
#3 0x0000000000687922 in CacheVC::do_read_call (this=0x2b2077f60000,
akey=0x2b2077f60038) at P_CacheInternal.h:703
#4 0x000000000068088a in CacheVC::removeEvent (this=0x2b2077f60000) at
Cache.cc:2733
#5 0x0000000000680c8b in Cache::remove (this=0x3f62270, cont=0x2b1ea8a764e0,
key=0x103fbb40, type=CACHE_FRAG_TYPE_NONE, hostname=0x0,
host_len=0) at Cache.cc:2787
#6 0x000000000050e60e in CacheProcessor::remove (this=0xf91ef0,
cont=0x2b1ea8a764e0, key=0x103fbb40, cluster_cache_local=true,
frag_type=CACHE_FRAG_TYPE_NONE, rm_user_agents=true, rm_link=false,
hostname=0x0, host_len=0) at ../iocore/cache/P_CacheInternal.h:1254
#7 0x0000000000507365 in TSCacheRemove (contp=0x2b1ea8a764e0, key=0x103fbb40)
at InkAPI.cc:6644
(gdb) f 1
#1 0x00000000006bad5b in ink_aio_read (op=0x2b2077f60180) at AIO.cc:605
605 this_ethread()->diskHandler->ready_list.enqueue(op);
(gdb) list
600 int
601 ink_aio_read(AIOCallback *op, int /* fromAPI ATS_UNUSED */) {
602 op->aiocb.aio_reqprio = AIO_DEFAULT_PRIORITY;
603 op->aiocb.aio_lio_opcode = IO_CMD_PREAD;
604 op->aiocb.data = op;
605 this_ethread()->diskHandler->ready_list.enqueue(op);
606
607 return 1;
608 }
609
--
This message was sent by Atlassian JIRA
(v6.2#6252)