[ 
https://issues.apache.org/jira/browse/TS-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14076434#comment-14076434
 ] 

Sudheer Vinukonda commented on TS-2946:
---------------------------------------

This core and a few of other types of cores all seem to be happening only when 
I upgrade from ats4 to ats5. Will update the ticket with the stack traces for 
other types of core, but, it looks like, there's probably still some 
incompatibility in cache between ats4 and ats5 - particularly, when redirect 
follow is active.

> Core dump in snprintf
> ---------------------
>
>                 Key: TS-2946
>                 URL: https://issues.apache.org/jira/browse/TS-2946
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: Sudheer Vinukonda
>
> While fixing TS-2938, ran into another core dump with the below stack trace. 
> server_request object seems corrupted even in this stack trace, just like 
> TS-2938. Investigating further.
> {code}
> (gdb) #0  0x0000003ca2044283 in vfprintf () from /lib64/libc.so.6
> #1  0x0000003ca206f9d2 in vsnprintf () from /lib64/libc.so.6
> #2  0x0000003ca204f4a3 in snprintf () from /lib64/libc.so.6
> #3  0x0000000000648724 in ink_fast_ltoa (heap=0x2b7682cd0010, 
> mh=0x2b7682cd00c8, field=0x2b7682cd0298, value=<value optimized out>) at 
> ../../lib/ts/ink_string.h:449
> #4  mime_format_int64 (heap=0x2b7682cd0010, mh=0x2b7682cd00c8, 
> field=0x2b7682cd0298, value=<value optimized out>) at MIME.cc:2810
> #5  mime_field_value_set_int64 (heap=0x2b7682cd0010, mh=0x2b7682cd00c8, 
> field=0x2b7682cd0298, value=<value optimized out>) at MIME.cc:2064
> #6  0x00000000005de7f0 in value_set_int64 (request_sent_time=1405317978, 
> response_received_time=1405317978, now=1405663927, base=<value optimized 
> out>, outgoing=0x2b7679272418)
>     at ../../proxy/hdrs/MIME.h:817
> #7  value_set_int64 (request_sent_time=1405317978, 
> response_received_time=1405317978, now=1405663927, base=<value optimized 
> out>, outgoing=0x2b7679272418) at ../../proxy/hdrs/MIME.h:1334
> #8  set_age (request_sent_time=1405317978, response_received_time=1405317978, 
> now=1405663927, base=<value optimized out>, outgoing=0x2b7679272418) at 
> ../../proxy/hdrs/MIME.h:1548
> #9  HttpTransactHeaders::insert_time_and_age_headers_in_response 
> (request_sent_time=1405317978, response_received_time=1405317978, 
> now=1405663927, base=<value optimized out>, 
>     outgoing=0x2b7679272418) at HttpTransactHeaders.cc:754
> #10 0x00000000005c0aca in HttpTransact::build_response (s=0x2b7679271d38, 
> base_response=0x2b777d8b90b8, outgoing_response=0x2b7679272418, 
> outgoing_version=<value optimized out>, 
>     status_code=HTTP_STATUS_NONE, reason_phrase=0x755b4b "None") at 
> HttpTransact.cc:7772
> #11 0x00000000005d4b84 in HttpTransact::build_response_from_cache 
> (s=0x2b7679271d38, warning_code=HTTP_WARNING_CODE_NONE) at 
> HttpTransact.cc:2869
> #12 0x00000000005d6858 in HttpTransact::HandleCacheOpenReadHit 
> (s=0x2b7679271d38) at HttpTransact.cc:2755
> #13 0x00000000005922a6 in HttpSM::call_transact_and_set_next_state 
> (this=0x2b7679271cd0, f=<value optimized out>) at HttpSM.cc:6788
> #14 0x00000000005ac562 in HttpSM::handle_api_return (this=0x2b7679271cd0) at 
> HttpSM.cc:1505
> #15 0x00000000005a49e0 in HttpSM::state_api_callout (this=0x2b7679271cd0, 
> event=0, data=0x0) at HttpSM.cc:1437
> #16 0x00000000005aa402 in HttpSM::set_next_state (this=0x2b7679271cd0) at 
> HttpSM.cc:6830
> #17 0x00000000005ac562 in HttpSM::handle_api_return (this=0x2b7679271cd0) at 
> HttpSM.cc:1505
> #18 0x00000000005a49e0 in HttpSM::state_api_callout (this=0x2b7679271cd0, 
> event=0, data=0x0) at HttpSM.cc:1437
> #19 0x00000000005aa402 in HttpSM::set_next_state (this=0x2b7679271cd0) at 
> HttpSM.cc:6830
> #20 0x00000000005ac562 in HttpSM::handle_api_return (this=0x2b7679271cd0) at 
> HttpSM.cc:1505
> #21 0x00000000005a49e0 in HttpSM::state_api_callout (this=0x2b7679271cd0, 
> event=0, data=0x0) at HttpSM.cc:1437
> #22 0x00000000005a7810 in do_api_callout (this=0x2b7679271cd0, event=<value 
> optimized out>, data=0xffffffffffffb050) at HttpSM.cc:444
> #23 setup_cache_lookup_complete_api (this=0x2b7679271cd0, event=<value 
> optimized out>, data=0xffffffffffffb050) at HttpSM.cc:2403
> #24 HttpSM::state_cache_open_read (this=0x2b7679271cd0, event=<value 
> optimized out>, data=0xffffffffffffb050) at HttpSM.cc:2459
> #25 0x00000000005a7518 in HttpSM::main_handler (this=0x2b7679271cd0, 
> event=1103, data=0xffffffffffffb050) at HttpSM.cc:2501
> #26 0x0000000000585882 in handleEvent (this=0x2b76792736a0, event=1103, 
> data=0xffffffffffffb050) at ../../iocore/eventsystem/I_Continuation.h:146
> #27 HttpCacheSM::state_cache_open_read (this=0x2b76792736a0, event=1103, 
> data=0xffffffffffffb050) at HttpCacheSM.cc:137
> #28 0x00000000006dc0ee in Cache::open_read (this=<value optimized out>, 
> cont=0x2b76792736a0, key=<value optimized out>, request=0x2b76792723d8, 
> params=0x2b7679271db0, 
>     type=<value optimized out>, 
>     hostname=0x2b7659b96150 
> "ads.unister-gmbh.denewsletter_img/aidude/template/countdown/stdblue/countdown63.gifin-den-urlaub-deals.de%2Ftime_2014-07-09_2014-07-16_H_stdblue.gif&t=1405663926&ttl=4492800&sig=DtpLmS6SPFs7BWU7bvb5IA"...,
>  host_len=19) at CacheRead.cc:143
> #29 0x00000000006bcd2d in open_read (this=<value optimized out>, 
> cont=0x2b76792736a0, url=0x2b76792723f0, cluster_cache_local=<value optimized 
> out>, request=0x2b76792723d8, 
>     params=0x2b7679271db0, pin_in_cache=0, type=CACHE_FRAG_TYPE_HTTP) at 
> P_CacheInternal.h:1079
> #30 CacheProcessor::open_read (this=<value optimized out>, 
> cont=0x2b76792736a0, url=0x2b76792723f0, cluster_cache_local=<value optimized 
> out>, request=0x2b76792723d8, params=0x2b7679271db0, 
>     pin_in_cache=0, type=CACHE_FRAG_TYPE_HTTP) at Cache.cc:3440
> #31 0x0000000000585334 in do_cache_open_read (this=0x2b76792736a0, url=<value 
> optimized out>, hdr=<value optimized out>, params=<value optimized out>, 
> pin_in_cache=<value optimized out>)
>     at HttpCacheSM.cc:216
> #32 HttpCacheSM::open_read (this=0x2b76792736a0, url=<value optimized out>, 
> hdr=<value optimized out>, params=<value optimized out>, pin_in_cache=<value 
> optimized out>) at HttpCacheSM.cc:248
> #33 0x00000000005935e3 in HttpSM::do_cache_lookup_and_read 
> (this=0x2b7679271cd0) at HttpSM.cc:4279
> #34 0x00000000005aa926 in HttpSM::set_next_state (this=0x2b7679271cd0) at 
> HttpSM.cc:6943
> #35 0x00000000005ac69d in HttpSM::handle_api_return (this=0x2b7679271cd0) at 
> HttpSM.cc:1579
> #36 0x00000000005aa759 in HttpSM::set_next_state (this=0x2b7679271cd0) at 
> HttpSM.cc:7051
> #37 0x00000000005ac562 in HttpSM::handle_api_return (this=0x2b7679271cd0) at 
> HttpSM.cc:1505
> #38 0x00000000005a49e0 in HttpSM::state_api_callout (this=0x2b7679271cd0, 
> event=0, data=0x0) at HttpSM.cc:1437
> #39 0x00000000005aa402 in HttpSM::set_next_state (this=0x2b7679271cd0) at 
> HttpSM.cc:6830
> #40 0x00000000005ac562 in HttpSM::handle_api_return (this=0x2b7679271cd0) at 
> HttpSM.cc:1505
> #41 0x00000000005a49e0 in HttpSM::state_api_callout (this=0x2b7679271cd0, 
> event=0, data=0x0) at HttpSM.cc:1437
> #42 0x00000000005aa402 in HttpSM::set_next_state (this=0x2b7679271cd0) at 
> HttpSM.cc:6830
> #43 0x00000000005ac562 in HttpSM::handle_api_return (this=0x2b7679271cd0) at 
> HttpSM.cc:1505
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to