[ https://issues.apache.org/jira/browse/TS-1547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13771974#comment-13771974 ]
William Bardwell commented on TS-1547: -------------------------------------- I am seeing similar crashes in 3.2 based code. I think that it is corrupted cache entries, because clearing the cache lets the same requests work. memcpy(): ip = 0x7f6ac294db3e offp = 0x0000000e sp = 0x7f6ac1289d48 MIMEFieldBlockImpl::move_strings(HdrStrHeap*)(): ip = 0x0067c105 offp = 0x 000000b5 sp = 0x7f6ac1289d50 MIMEHdrImpl::move_strings(HdrStrHeap*)(): ip = 0x0067c4d3 offp = 0x0000002 7 sp = 0x7f6ac1289d90 HdrHeap::evacuate_from_str_heaps(HdrStrHeap*)(): ip = 0x0066a51e offp = 0x0 000008e sp = 0x7f6ac1289db0 HdrHeap::coalesce_str_heaps(int)(): ip = 0x0066a372 offp = 0x000000d0 sp = 0x7f 6ac1289df0 HdrHeap::allocate_str(int)(): ip = 0x0066a036 offp = 0x000000fe sp = 0x7f6ac128 9e30 HdrHeap::duplicate_str(char const*, int)(): ip = 0x0066a10c offp = 0x0000003e sp = 0x7f6a c1289e70 mime_field_value_set(HdrHeap*, MIMEHdrImpl*, MIMEField*, char const*, int, bool)(): ip = 0x00677efa offp = 0x0000006a sp = 0x7f6ac1289ec0 MIMEField::value_set(HdrHeap*, MIMEHdrImpl*, char const*, int)(): ip = 0x0057a020 offp = 0x00000044 sp = 0x7f6ac1289f00 MIMEHdr::value_set(char const*, int, char const*, int)(): ip = 0x0057a3d7 offp = 0x00000069 sp = 0x7f6ac1289f50 HttpTransact::merge_response_header_with_cached_header(HTTPHdr*, HTTPHdr*)(): ip = 0x00601a41 offp = 0x000001a5 sp = 0x7f6ac1289fb0 HttpTransact::merge_and_update_headers_for_cache_update(HttpTransact::State*)(): ip = 0x00600a55 offp = 0x000001d5 sp = 0x7f6ac128a070 HttpTransact::handle_cache_operation_on_forward_server_response(HttpTransact::State*)(): ip = 0x005ffb95 offp = 0x00001b25 sp = 0x7f6ac128a0c0 HttpTransact::handle_forward_server_connection_open(HttpTransact::State*)(): ip = 0x005fda34 offp = 0x00000824 sp = 0x7f6ac128b180 HttpTransact::handle_response_from_server(HttpTransact::State*)(): ip = 0x005faed1 offp = 0x0000028b sp = 0x7f6ac128b270 HttpTransact::HandleResponse(HttpTransact::State*)(): ip = 0x005f9810 offp = 0x000007ac sp = 0x7f6ac128b2c0 HttpSM::call_transact_and_set_next_state(void (*)(HttpTransact::State*))(): ip = 0x005dff02 offp = 0x0000006a sp = 0x7f6ac128c320 > in HTTPHdr::copy hdr ptr is error > ---------------------------------- > > Key: TS-1547 > URL: https://issues.apache.org/jira/browse/TS-1547 > Project: Traffic Server > Issue Type: Bug > Components: Cache, HTTP > Affects Versions: 3.2.0 > Reporter: Bin Chen > Labels: A, crash > Fix For: 4.2.0 > > > {code} > (gdb) bt > #0 0x0000000000503695 in HTTPHdr::copy (this=0x27e66b0, hdr=0x70) at > hdrs/HTTP.h:846 > #1 0x0000000000503a70 in HTTPInfo::response_set (this=0x2b827c5e8f80, > resp=0x70) at hdrs/HTTP.h:1343 > #2 0x000000000059a2c5 in > HttpTransact::merge_and_update_headers_for_cache_update (s=0x2b827c5e8f08) at > HttpTransact.cc:4587 > #3 0x0000000000599542 in > HttpTransact::handle_cache_operation_on_forward_server_response > (s=0x2b827c5e8f08) > at HttpTransact.cc:4394 > #4 0x000000000059765b in HttpTransact::handle_forward_server_connection_open > (s=0x2b827c5e8f08) at HttpTransact.cc:3896 > #5 0x0000000000594f11 in HttpTransact::handle_response_from_server > (s=0x2b827c5e8f08) at HttpTransact.cc:3450 > #6 0x0000000000593a82 in HttpTransact::HandleResponse (s=0x2b827c5e8f08) at > HttpTransact.cc:3140 > #7 0x000000000057b066 in HttpSM::call_transact_and_set_next_state > (this=0x2b827c5e8ea0, f=0) at HttpSM.cc:6423 > #8 0x000000000056ba10 in HttpSM::handle_api_return (this=0x2b827c5e8ea0) at > HttpSM.cc:1523 > #9 0x0000000000580db7 in HttpSM::do_api_callout (this=0x2b827c5e8ea0) at > HttpSM.cc:504 > #10 0x000000000056c835 in HttpSM::state_read_server_response_header > (this=0x2b827c5e8ea0, event=100, data=0x2b8364007578) > at HttpSM.cc:1837 > #11 0x000000000056eb47 in HttpSM::main_handler (this=0x2b827c5e8ea0, > event=100, data=0x2b8364007578) at HttpSM.cc:2462 > #12 0x00000000004e71f6 in Continuation::handleEvent (this=0x2b827c5e8ea0, > event=100, data=0x2b8364007578) > at ../iocore/eventsystem/I_Continuation.h:146 > #13 0x00000000006b80a8 in read_signal_and_update (event=100, > vc=0x2b8364007470) at UnixNetVConnection.cc:131 > #14 0x00000000006b88af in read_from_net (nh=0x2b824411c1e8, > vc=0x2b8364007470, thread=0x2b8244119010) > at UnixNetVConnection.cc:313 > #15 0x00000000006ba38d in UnixNetVConnection::net_read_io > (this=0x2b8364007470, nh=0x2b824411c1e8, lthread=0x2b8244119010) > at UnixNetVConnection.cc:813 > #16 0x00000000006b50cc in NetHandler::mainNetEvent (this=0x2b824411c1e8, > event=5, e=0x24af320) at UnixNet.cc:372 > #17 0x00000000004e71f6 in Continuation::handleEvent (this=0x2b824411c1e8, > event=5, data=0x24af320) > at ../iocore/eventsystem/I_Continuation.h:146 > #18 0x00000000006d9ddf in EThread::process_event (this=0x2b8244119010, > e=0x24af320, calling_code=5) at UnixEThread.cc:194 > #19 0x00000000006da27d in EThread::execute (this=0x2b8244119010) at > UnixEThread.cc:306 > #20 0x00000000006d8bd3 in spawn_thread_internal (a=0x2467970) at Thread.cc:88 > #21 0x00000032d38077f1 in start_thread () from /lib64/libpthread.so.0 > #22 0x00000032d34e570d in clone () from /lib64/libc.so.6 > (gdb) f 0 > #0 0x0000000000503695 in HTTPHdr::copy (this=0x27e66b0, hdr=0x70) at > hdrs/HTTP.h:846 > /usr/src/debug/trafficserver-3.2.0/proxy/hdrs/HTTP.h:846:25127:beg:0x503695 > (gdb) l > 841 > 842 if (valid()) { > 843 http_hdr_copy_onto(hdr->m_http, hdr->m_heap, m_http, m_heap, > (m_heap != hdr->m_heap) ? true : false); > 844 } else { > 845 m_heap = new_HdrHeap(); > 846 m_http = http_hdr_clone(hdr->m_http, hdr->m_heap, m_heap); > 847 m_mime = m_http->m_fields_impl; > 848 } > 849 } > 850 > (gdb) p hdr > $3 = (const HTTPHdr *) 0x70 > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira