fail assert at CacheVC::handleReadDone --------------------------------------
Key: TS-1060 URL: https://issues.apache.org/jira/browse/TS-1060 Project: Traffic Server Issue Type: Bug Components: Core, HTTP Affects Versions: 3.0.1 Environment: v3.0.x, with some patch from taobao Reporter: Zhao Yongming Assignee: Zhao Yongming Fix For: 3.0.2 {code} #0 0x0000003f96032a45 in raise () from /lib64/libc.so.6 #1 0x0000003f96034225 in abort () from /lib64/libc.so.6 #2 0x00002b0dea6f6394 in ink_die_die_die (retval=1) at ink_error.cc:43 #3 0x00002b0dea6f6466 in ink_fatal_va(int, const char *, typedef __va_list_tag __va_list_tag *) (return_code=1, message_format=0x2b0deb9ed240 "Cache.cc:1959: failed assert `((Doc *) buf->data())->magic == DOC_MAGIC`", ap=0x2b0deb9ed140) at ink_error.cc:65 #4 0x00002b0dea6f6531 in ink_fatal (return_code=1, message_format=0x2b0deb9ed240 "Cache.cc:1959: failed assert `((Doc *) buf->data())->magic == DOC_MAGIC`") at ink_error.cc:73 #5 0x00002b0dea6f4ece in _ink_assert (a=0x773770 "((Doc *) buf->data())->magic == DOC_MAGIC", f=0x7726be "Cache.cc", l=1959) at ink_assert.cc:44 #6 0x000000000069429a in CacheVC::handleReadDone (this=0x3d51710, event=3900, e=0x0) at Cache.cc:1959 #7 0x00000000004e02fa in Continuation::handleEvent (this=0x3d51710, event=3900, data=0x0) at ../iocore/eventsystem/I_Continuation.h:146 #8 0x00000000006b7715 in Cache::open_read (this=0x3aeaf00, cont=0x2b0e20737fa8, key=0x2b0deb9ed9c0, request=0x2b0e207365d0, params=0x2b0e20735e08, type=CACHE_FRAG_TYPE_HTTP, hostname=0x2b0e300458cb "img01.taobaocdn.combao/uploaded/i1/T1701bXfdDXXaCZpA__104916.jpg_160x160.jpgimg01.taobaocdn.comhttp://img01.taobaocdn.com/bao/uploaded/i1/T1701bXfdDXXaCZpA__104916.jpg_160x160.jpg", host_len=19) at CacheRead.cc:231 #9 0x000000000069cfcf in Cache::open_read (this=0x3aeaf00, cont=0x2b0e20737fa8, url=0x2b0e207365e8, request=0x2b0e207365d0, params=0x2b0e20735e08, type=CACHE_FRAG_TYPE_HTTP) at P_CacheInternal.h:1080 #10 0x000000000069a9f6 in CacheProcessor::open_read (this=0xf44d30, cont=0x2b0e20737fa8, url=0x2b0e207365e8, request=0x2b0e207365d0, params=0x2b0e20735e08, pin_in_cache=0, type=CACHE_FRAG_TYPE_HTTP) at Cache.cc:3041 #11 0x000000000055937c in HttpCacheSM::do_cache_open_read (this=0x2b0e20737fa8) at HttpCacheSM.cc:220 #12 0x00000000005594cd in HttpCacheSM::open_read (this=0x2b0e20737fa8, url=0x2b0e207365e8, hdr=0x2b0e207365d0, params=0x2b0e20735e08, pin_in_cache=0) at HttpCacheSM.cc:252 #13 0x000000000057802d in HttpSM::do_cache_lookup_and_read (this=0x2b0e20735d10) at HttpSM.cc:3911 #14 0x00000000005808d6 in HttpSM::set_next_state (this=0x2b0e20735d10) at HttpSM.cc:6455 #15 0x00000000005801fa in HttpSM::call_transact_and_set_next_state (this=0x2b0e20735d10, f=0) at HttpSM.cc:6346 #16 0x000000000056f82a in HttpSM::handle_api_return (this=0x2b0e20735d10) at HttpSM.cc:1519 #17 0x0000000000585eb5 in HttpSM::do_api_callout (this=0x2b0e20735d10) at HttpSM.cc:502 #18 0x000000000058026a in HttpSM::set_next_state (this=0x2b0e20735d10) at HttpSM.cc:6380 #19 0x00000000005801fa in HttpSM::call_transact_and_set_next_state (this=0x2b0e20735d10, f=0) at HttpSM.cc:6346 #20 0x0000000000580391 in HttpSM::set_next_state (this=0x2b0e20735d10) at HttpSM.cc:6396 #21 0x00000000005801fa in HttpSM::call_transact_and_set_next_state (this=0x2b0e20735d10, f=0) at HttpSM.cc:6346 #22 0x000000000056f82a in HttpSM::handle_api_return (this=0x2b0e20735d10) at HttpSM.cc:1519 #23 0x0000000000585eb5 in HttpSM::do_api_callout (this=0x2b0e20735d10) at HttpSM.cc:502 #24 0x000000000058026a in HttpSM::set_next_state (this=0x2b0e20735d10) at HttpSM.cc:6380 #25 0x00000000005801fa in HttpSM::call_transact_and_set_next_state (this=0x2b0e20735d10, f=0) at HttpSM.cc:6346 #26 0x000000000056f82a in HttpSM::handle_api_return (this=0x2b0e20735d10) at HttpSM.cc:1519 #27 0x0000000000585eb5 in HttpSM::do_api_callout (this=0x2b0e20735d10) at HttpSM.cc:502 #28 0x000000000058026a in HttpSM::set_next_state (this=0x2b0e20735d10) at HttpSM.cc:6380 #29 0x00000000005801fa in HttpSM::call_transact_and_set_next_state (this=0x2b0e20735d10, f=0x58f002 <HttpTransact::ModifyRequest(HttpTransact::State*)>) at HttpSM.cc:6346 #30 0x000000000056d45a in HttpSM::state_read_client_request_header (this=0x2b0e20735d10, event=100, data=0x2b0e440157c8) at HttpSM.cc:783 #31 0x000000000056caf5 in HttpSM::setup_client_read_request_header (this=0x2b0e20735d10) at HttpSM.cc:645 #32 0x000000000056f74c in HttpSM::handle_api_return (this=0x2b0e20735d10) at HttpSM.cc:1495 #33 0x0000000000585eb5 in HttpSM::do_api_callout (this=0x2b0e20735d10) at HttpSM.cc:502 #34 0x000000000056c32c in HttpSM::state_add_to_list (this=0x2b0e20735d10, event=0, data=0x0) at HttpSM.cc:530 #35 0x000000000056ca1f in HttpSM::attach_client_session (this=0x2b0e20735d10, client_vc=0x2b0e1c0112c0, buffer_reader=0x2b0e1c0193d8) at HttpSM.cc:632 #36 0x000000000055a22f in HttpClientSession::new_transaction (this=0x2b0e1c0112c0) at HttpClientSession.cc:160 #37 0x000000000055b21b in HttpClientSession::state_keep_alive (this=0x2b0e1c0112c0, event=100, data=0x2b0e440157c8) at HttpClientSession.cc:428 #38 0x00000000004e02fa in Continuation::handleEvent (this=0x2b0e1c0112c0, event=100, data=0x2b0e440157c8) at ../iocore/eventsystem/I_Continuation.h:146 #39 0x00000000006e617a in read_signal_and_update (event=100, vc=0x2b0e44015600) at UnixNetVConnection.cc:138 #40 0x00000000006e6b57 in read_from_net (nh=0x2b0deb3ef668, vc=0x2b0e44015600, thread=0x2b0deb3ee010) at UnixNetVConnection.cc:320 #41 0x00000000006e86eb in UnixNetVConnection::net_read_io (this=0x2b0e44015600, nh=0x2b0deb3ef668, lthread=0x2b0deb3ee010) at UnixNetVConnection.cc:779 #42 0x00000000006e2788 in NetHandler::mainNetEvent (this=0x2b0deb3ef668, event=5, e=0x2b3ab10) at UnixNet.cc:389 #43 0x00000000004e02fa in Continuation::handleEvent (this=0x2b0deb3ef668, event=5, data=0x2b3ab10) at ../iocore/eventsystem/I_Continuation.h:146 #44 0x000000000070b2ec in EThread::process_event (this=0x2b0deb3ee010, e=0x2b3ab10, calling_code=5) at UnixEThread.cc:141 #45 0x000000000070b899 in EThread::execute (this=0x2b0deb3ee010) at UnixEThread.cc:263 #46 0x000000000070a444 in spawn_thread_internal (a=0x2b2ae00) at Thread.cc:88 #47 0x0000003f968077e1 in start_thread () from /lib64/libpthread.so.0 #48 0x0000003f960e68ed in clone () from /lib64/libc.so.6 {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira