[jira] [Comment Edited] (TS-2878) Core dump in mime_field_print
[ https://issues.apache.org/jira/browse/TS-2878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14027289#comment-14027289 ] Sudheer Vinukonda edited comment on TS-2878 at 6/11/14 4:00 PM: Indeed, [~briang] - [~bcall] mentioned that you found the possible cause to be related to TS-2837. That's great to hear - thanks for the help! Could you also please update the tests to cover the printed string? was (Author: sudheerv): Indeed, [~briang], [~bcall] mentioned that you found the possible cause to be related to TS-2837. That's great to hear - thanks for the help! Could you also please update the tests to cover the printed string? Core dump in mime_field_print - Key: TS-2878 URL: https://issues.apache.org/jira/browse/TS-2878 Project: Traffic Server Issue Type: Bug Components: Core Affects Versions: 5.0.0 Reporter: Sudheer Vinukonda Found a new core dump on one of our production hosts with the latest master. {code} (gdb) #0 0x00366a489932 in memcpy () from /lib64/libc.so.6 #1 0x006440ec in mime_field_print (field=0x2ad0c12eb398, buf_start=0x2ad0ccddf6fc b=4d=N8yEv7ppYEIU22_VquwWHph5uWBFcIT0fZmeGg--s=l0i=jE4n8cjO._g4wBfgSzBR; F=a=d7RTbXcMvSscJ6tvYRkm3uidpW7e4pvmEH8Vl9bGaVDpBGZ6bL4NJuiQDJLIQ1MsxDYfXJc-b=pfgj; Y=v=1n=3kntebmsf6jf7l=43m0h3.2705544@..., buf_length=4096, buf_index_inout=0x2acf1cd0883c, buf_chars_to_skip_inout=0x2acf1cd08838) at MIME.cc:2745 #2 0x0064422c in mime_hdr_print (mh=value optimized out, buf_start=0x2ad0ccddf000 POST /w/ygo-mail/msgedit.bp?ci=1.ts=1401981151_httpHost=m.yahoo.com.intl=MX.lang=es-mx HTTP/1.1\r\nHost: m.yahoo.com\r\nAccept-Charset: utf-8, iso-8859-1, iso-8859-2, iso-10646, us-ascii, *\r\nAccept-La..., buf_length=4096, buf_index_inout=0x2acf1cd0883c, buf_chars_to_skip_inout=0x2acf1cd08838) at MIME.cc:2623 #3 0x00639b52 in http_hdr_print (heap=0x2ad0c12eb010, hdr=0x2ad0c12eb098, buf=0x2ad0ccddf000 POST /w/ygo-mail/msgedit.bp?ci=1.ts=1401981151_httpHost=m.yahoo.com.intl=MX.lang=es-mx HTTP/1.1\r\nHost: m.yahoo.com\r\nAccept-Charset: utf-8, iso-8859-1, iso-8859-2, iso-10646, us-ascii, *\r\nAccept-La..., bufsize=4096, bufindex=0x2acf1cd0883c, dumpoffset=0x2acf1cd08838) at HTTP.cc:555 #4 0x0059c676 in print (this=value optimized out, h=0x2acf6e0e8548, b=0x2ad0240b56d0) at ../../proxy/hdrs/HTTP.h:897 #5 HttpSM::write_header_into_buffer (this=value optimized out, h=0x2acf6e0e8548, b=0x2ad0240b56d0) at HttpSM.cc:5457 #6 0x0059e9bb in HttpSM::setup_server_send_request (this=0x2acf6e0e7dc0) at HttpSM.cc:5576 #7 0x005ac1f5 in HttpSM::handle_api_return (this=0x2acf6e0e7dc0) at HttpSM.cc:1508 #8 0x005a45b0 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1437 #9 0x005a76aa in HttpSM::state_api_callback (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1255 #10 0x004c99cc in TSHttpTxnReenable (txnp=0x2acf6e0e7dc0, event=TS_EVENT_HTTP_CONTINUE) at InkAPI.cc:5543 #11 0x2acf12d247fc in http_hook (contp=value optimized out, event=value optimized out, edata=0x2acf6e0e7dc0) at INKPluginInit.cc:177 #12 0x005a4416 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=value optimized out, data=value optimized out) at HttpSM.cc:1362 #13 0x005a618b in HttpSM::state_http_server_open (this=0x2acf6e0e7dc0, event=value optimized out, data=0x2ad0b88802d0) at HttpSM.cc:1643 #14 0x005a70e8 in HttpSM::main_handler (this=0x2acf6e0e7dc0, event=200, data=0x2ad0b88802d0) at HttpSM.cc:2501 #15 0x0070f96d in handleEvent (this=0x2ad0b88802d0, t=value optimized out, fd=-1) at ../../iocore/eventsystem/I_Continuation.h:146 #16 UnixNetVConnection::connectUp (this=0x2ad0b88802d0, t=value optimized out, fd=-1) at UnixNetVConnection.cc:1159 #17 0x0070d01f in UnixNetProcessor::connect_re_internal (this=value optimized out, cont=value optimized out, target=value optimized out, opt=0x2acf1cd09e00, servername=0x2ad0b88804fc \002) at UnixNetProcessor.cc:255 #18 0x005a568b in connect_re (this=0x2acf6e0e7dc0, raw=value optimized out) at ../../iocore/net/P_UnixNetProcessor.h:87 #19 HttpSM::do_http_server_open (this=0x2acf6e0e7dc0, raw=value optimized out) at HttpSM.cc:4646 #20 0x005aa2bd in HttpSM::set_next_state (this=0x2acf6e0e7dc0) at HttpSM.cc:6975 #21 0x005ac132 in HttpSM::handle_api_return (this=0x2acf6e0e7dc0) at HttpSM.cc:1505 #22 0x005a45b0 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1437 #23 0x005a76aa in HttpSM::state_api_callback (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1255 #24
[jira] [Comment Edited] (TS-2878) Core dump in mime_field_print
[ https://issues.apache.org/jira/browse/TS-2878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14026579#comment-14026579 ] Sudheer Vinukonda edited comment on TS-2878 at 6/10/14 3:31 PM: Since, TS-2776 has been backed out, the mime_field_print() core dump has not occurred. Also, with the version with commits until June 3rd, all the other weird core dumps also don't seem to happen, but, there are still a couple of cores (one on each of the two prod hosts we are running these on). Will add the tracebacks to TS-2882/TS-2883 was (Author: sudheerv): Since, TS-2776 has been backed out, the mime_field_print() core dump has not occurred. Also, with the version with commits until June 3rd, all the other weird core dumps also don't seem to happen, but, there are still a couple of cores (one on each of the two prod hosts we are running these on). Core dump in mime_field_print - Key: TS-2878 URL: https://issues.apache.org/jira/browse/TS-2878 Project: Traffic Server Issue Type: Bug Components: Core Affects Versions: 5.0.0 Reporter: Sudheer Vinukonda Found a new core dump on one of our production hosts with the latest master. {code} (gdb) #0 0x00366a489932 in memcpy () from /lib64/libc.so.6 #1 0x006440ec in mime_field_print (field=0x2ad0c12eb398, buf_start=0x2ad0ccddf6fc b=4d=N8yEv7ppYEIU22_VquwWHph5uWBFcIT0fZmeGg--s=l0i=jE4n8cjO._g4wBfgSzBR; F=a=d7RTbXcMvSscJ6tvYRkm3uidpW7e4pvmEH8Vl9bGaVDpBGZ6bL4NJuiQDJLIQ1MsxDYfXJc-b=pfgj; Y=v=1n=3kntebmsf6jf7l=43m0h3.2705544@..., buf_length=4096, buf_index_inout=0x2acf1cd0883c, buf_chars_to_skip_inout=0x2acf1cd08838) at MIME.cc:2745 #2 0x0064422c in mime_hdr_print (mh=value optimized out, buf_start=0x2ad0ccddf000 POST /w/ygo-mail/msgedit.bp?ci=1.ts=1401981151_httpHost=m.yahoo.com.intl=MX.lang=es-mx HTTP/1.1\r\nHost: m.yahoo.com\r\nAccept-Charset: utf-8, iso-8859-1, iso-8859-2, iso-10646, us-ascii, *\r\nAccept-La..., buf_length=4096, buf_index_inout=0x2acf1cd0883c, buf_chars_to_skip_inout=0x2acf1cd08838) at MIME.cc:2623 #3 0x00639b52 in http_hdr_print (heap=0x2ad0c12eb010, hdr=0x2ad0c12eb098, buf=0x2ad0ccddf000 POST /w/ygo-mail/msgedit.bp?ci=1.ts=1401981151_httpHost=m.yahoo.com.intl=MX.lang=es-mx HTTP/1.1\r\nHost: m.yahoo.com\r\nAccept-Charset: utf-8, iso-8859-1, iso-8859-2, iso-10646, us-ascii, *\r\nAccept-La..., bufsize=4096, bufindex=0x2acf1cd0883c, dumpoffset=0x2acf1cd08838) at HTTP.cc:555 #4 0x0059c676 in print (this=value optimized out, h=0x2acf6e0e8548, b=0x2ad0240b56d0) at ../../proxy/hdrs/HTTP.h:897 #5 HttpSM::write_header_into_buffer (this=value optimized out, h=0x2acf6e0e8548, b=0x2ad0240b56d0) at HttpSM.cc:5457 #6 0x0059e9bb in HttpSM::setup_server_send_request (this=0x2acf6e0e7dc0) at HttpSM.cc:5576 #7 0x005ac1f5 in HttpSM::handle_api_return (this=0x2acf6e0e7dc0) at HttpSM.cc:1508 #8 0x005a45b0 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1437 #9 0x005a76aa in HttpSM::state_api_callback (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1255 #10 0x004c99cc in TSHttpTxnReenable (txnp=0x2acf6e0e7dc0, event=TS_EVENT_HTTP_CONTINUE) at InkAPI.cc:5543 #11 0x2acf12d247fc in http_hook (contp=value optimized out, event=value optimized out, edata=0x2acf6e0e7dc0) at INKPluginInit.cc:177 #12 0x005a4416 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=value optimized out, data=value optimized out) at HttpSM.cc:1362 #13 0x005a618b in HttpSM::state_http_server_open (this=0x2acf6e0e7dc0, event=value optimized out, data=0x2ad0b88802d0) at HttpSM.cc:1643 #14 0x005a70e8 in HttpSM::main_handler (this=0x2acf6e0e7dc0, event=200, data=0x2ad0b88802d0) at HttpSM.cc:2501 #15 0x0070f96d in handleEvent (this=0x2ad0b88802d0, t=value optimized out, fd=-1) at ../../iocore/eventsystem/I_Continuation.h:146 #16 UnixNetVConnection::connectUp (this=0x2ad0b88802d0, t=value optimized out, fd=-1) at UnixNetVConnection.cc:1159 #17 0x0070d01f in UnixNetProcessor::connect_re_internal (this=value optimized out, cont=value optimized out, target=value optimized out, opt=0x2acf1cd09e00, servername=0x2ad0b88804fc \002) at UnixNetProcessor.cc:255 #18 0x005a568b in connect_re (this=0x2acf6e0e7dc0, raw=value optimized out) at ../../iocore/net/P_UnixNetProcessor.h:87 #19 HttpSM::do_http_server_open (this=0x2acf6e0e7dc0, raw=value optimized out) at HttpSM.cc:4646 #20 0x005aa2bd in HttpSM::set_next_state (this=0x2acf6e0e7dc0) at HttpSM.cc:6975 #21 0x005ac132 in HttpSM::handle_api_return (this=0x2acf6e0e7dc0) at HttpSM.cc:1505 #22 0x005a45b0 in
[jira] [Comment Edited] (TS-2878) Core dump in mime_field_print
[ https://issues.apache.org/jira/browse/TS-2878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14026579#comment-14026579 ] Sudheer Vinukonda edited comment on TS-2878 at 6/10/14 3:32 PM: Since, TS-2766 has been backed out, the mime_field_print() core dump has not occurred. Also, with the version with commits until June 3rd, all the other weird core dumps also don't seem to happen, but, there are still a couple of cores (one on each of the two prod hosts we are running these on). Will add the tracebacks to TS-2882/TS-2883 was (Author: sudheerv): Since, TS-2776 has been backed out, the mime_field_print() core dump has not occurred. Also, with the version with commits until June 3rd, all the other weird core dumps also don't seem to happen, but, there are still a couple of cores (one on each of the two prod hosts we are running these on). Will add the tracebacks to TS-2882/TS-2883 Core dump in mime_field_print - Key: TS-2878 URL: https://issues.apache.org/jira/browse/TS-2878 Project: Traffic Server Issue Type: Bug Components: Core Affects Versions: 5.0.0 Reporter: Sudheer Vinukonda Found a new core dump on one of our production hosts with the latest master. {code} (gdb) #0 0x00366a489932 in memcpy () from /lib64/libc.so.6 #1 0x006440ec in mime_field_print (field=0x2ad0c12eb398, buf_start=0x2ad0ccddf6fc b=4d=N8yEv7ppYEIU22_VquwWHph5uWBFcIT0fZmeGg--s=l0i=jE4n8cjO._g4wBfgSzBR; F=a=d7RTbXcMvSscJ6tvYRkm3uidpW7e4pvmEH8Vl9bGaVDpBGZ6bL4NJuiQDJLIQ1MsxDYfXJc-b=pfgj; Y=v=1n=3kntebmsf6jf7l=43m0h3.2705544@..., buf_length=4096, buf_index_inout=0x2acf1cd0883c, buf_chars_to_skip_inout=0x2acf1cd08838) at MIME.cc:2745 #2 0x0064422c in mime_hdr_print (mh=value optimized out, buf_start=0x2ad0ccddf000 POST /w/ygo-mail/msgedit.bp?ci=1.ts=1401981151_httpHost=m.yahoo.com.intl=MX.lang=es-mx HTTP/1.1\r\nHost: m.yahoo.com\r\nAccept-Charset: utf-8, iso-8859-1, iso-8859-2, iso-10646, us-ascii, *\r\nAccept-La..., buf_length=4096, buf_index_inout=0x2acf1cd0883c, buf_chars_to_skip_inout=0x2acf1cd08838) at MIME.cc:2623 #3 0x00639b52 in http_hdr_print (heap=0x2ad0c12eb010, hdr=0x2ad0c12eb098, buf=0x2ad0ccddf000 POST /w/ygo-mail/msgedit.bp?ci=1.ts=1401981151_httpHost=m.yahoo.com.intl=MX.lang=es-mx HTTP/1.1\r\nHost: m.yahoo.com\r\nAccept-Charset: utf-8, iso-8859-1, iso-8859-2, iso-10646, us-ascii, *\r\nAccept-La..., bufsize=4096, bufindex=0x2acf1cd0883c, dumpoffset=0x2acf1cd08838) at HTTP.cc:555 #4 0x0059c676 in print (this=value optimized out, h=0x2acf6e0e8548, b=0x2ad0240b56d0) at ../../proxy/hdrs/HTTP.h:897 #5 HttpSM::write_header_into_buffer (this=value optimized out, h=0x2acf6e0e8548, b=0x2ad0240b56d0) at HttpSM.cc:5457 #6 0x0059e9bb in HttpSM::setup_server_send_request (this=0x2acf6e0e7dc0) at HttpSM.cc:5576 #7 0x005ac1f5 in HttpSM::handle_api_return (this=0x2acf6e0e7dc0) at HttpSM.cc:1508 #8 0x005a45b0 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1437 #9 0x005a76aa in HttpSM::state_api_callback (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1255 #10 0x004c99cc in TSHttpTxnReenable (txnp=0x2acf6e0e7dc0, event=TS_EVENT_HTTP_CONTINUE) at InkAPI.cc:5543 #11 0x2acf12d247fc in http_hook (contp=value optimized out, event=value optimized out, edata=0x2acf6e0e7dc0) at INKPluginInit.cc:177 #12 0x005a4416 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=value optimized out, data=value optimized out) at HttpSM.cc:1362 #13 0x005a618b in HttpSM::state_http_server_open (this=0x2acf6e0e7dc0, event=value optimized out, data=0x2ad0b88802d0) at HttpSM.cc:1643 #14 0x005a70e8 in HttpSM::main_handler (this=0x2acf6e0e7dc0, event=200, data=0x2ad0b88802d0) at HttpSM.cc:2501 #15 0x0070f96d in handleEvent (this=0x2ad0b88802d0, t=value optimized out, fd=-1) at ../../iocore/eventsystem/I_Continuation.h:146 #16 UnixNetVConnection::connectUp (this=0x2ad0b88802d0, t=value optimized out, fd=-1) at UnixNetVConnection.cc:1159 #17 0x0070d01f in UnixNetProcessor::connect_re_internal (this=value optimized out, cont=value optimized out, target=value optimized out, opt=0x2acf1cd09e00, servername=0x2ad0b88804fc \002) at UnixNetProcessor.cc:255 #18 0x005a568b in connect_re (this=0x2acf6e0e7dc0, raw=value optimized out) at ../../iocore/net/P_UnixNetProcessor.h:87 #19 HttpSM::do_http_server_open (this=0x2acf6e0e7dc0, raw=value optimized out) at HttpSM.cc:4646 #20 0x005aa2bd in HttpSM::set_next_state (this=0x2acf6e0e7dc0) at HttpSM.cc:6975 #21 0x005ac132 in HttpSM::handle_api_return (this=0x2acf6e0e7dc0) at
[jira] [Comment Edited] (TS-2878) Core dump in mime_field_print
[ https://issues.apache.org/jira/browse/TS-2878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14027289#comment-14027289 ] Sudheer Vinukonda edited comment on TS-2878 at 6/11/14 1:03 AM: Indeed, [~briang], [~bcall] mentioned that you found the possible cause to be related to TS-2837. That's great to hear - thanks for the help! Could you also please update the tests to cover the printed string? was (Author: sudheerv): Indeed, [~briang], [~bcall] mentioned that you found the possible cause to be related to TS-2837. That's great to hear - thanks for the help! Core dump in mime_field_print - Key: TS-2878 URL: https://issues.apache.org/jira/browse/TS-2878 Project: Traffic Server Issue Type: Bug Components: Core Affects Versions: 5.0.0 Reporter: Sudheer Vinukonda Found a new core dump on one of our production hosts with the latest master. {code} (gdb) #0 0x00366a489932 in memcpy () from /lib64/libc.so.6 #1 0x006440ec in mime_field_print (field=0x2ad0c12eb398, buf_start=0x2ad0ccddf6fc b=4d=N8yEv7ppYEIU22_VquwWHph5uWBFcIT0fZmeGg--s=l0i=jE4n8cjO._g4wBfgSzBR; F=a=d7RTbXcMvSscJ6tvYRkm3uidpW7e4pvmEH8Vl9bGaVDpBGZ6bL4NJuiQDJLIQ1MsxDYfXJc-b=pfgj; Y=v=1n=3kntebmsf6jf7l=43m0h3.2705544@..., buf_length=4096, buf_index_inout=0x2acf1cd0883c, buf_chars_to_skip_inout=0x2acf1cd08838) at MIME.cc:2745 #2 0x0064422c in mime_hdr_print (mh=value optimized out, buf_start=0x2ad0ccddf000 POST /w/ygo-mail/msgedit.bp?ci=1.ts=1401981151_httpHost=m.yahoo.com.intl=MX.lang=es-mx HTTP/1.1\r\nHost: m.yahoo.com\r\nAccept-Charset: utf-8, iso-8859-1, iso-8859-2, iso-10646, us-ascii, *\r\nAccept-La..., buf_length=4096, buf_index_inout=0x2acf1cd0883c, buf_chars_to_skip_inout=0x2acf1cd08838) at MIME.cc:2623 #3 0x00639b52 in http_hdr_print (heap=0x2ad0c12eb010, hdr=0x2ad0c12eb098, buf=0x2ad0ccddf000 POST /w/ygo-mail/msgedit.bp?ci=1.ts=1401981151_httpHost=m.yahoo.com.intl=MX.lang=es-mx HTTP/1.1\r\nHost: m.yahoo.com\r\nAccept-Charset: utf-8, iso-8859-1, iso-8859-2, iso-10646, us-ascii, *\r\nAccept-La..., bufsize=4096, bufindex=0x2acf1cd0883c, dumpoffset=0x2acf1cd08838) at HTTP.cc:555 #4 0x0059c676 in print (this=value optimized out, h=0x2acf6e0e8548, b=0x2ad0240b56d0) at ../../proxy/hdrs/HTTP.h:897 #5 HttpSM::write_header_into_buffer (this=value optimized out, h=0x2acf6e0e8548, b=0x2ad0240b56d0) at HttpSM.cc:5457 #6 0x0059e9bb in HttpSM::setup_server_send_request (this=0x2acf6e0e7dc0) at HttpSM.cc:5576 #7 0x005ac1f5 in HttpSM::handle_api_return (this=0x2acf6e0e7dc0) at HttpSM.cc:1508 #8 0x005a45b0 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1437 #9 0x005a76aa in HttpSM::state_api_callback (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1255 #10 0x004c99cc in TSHttpTxnReenable (txnp=0x2acf6e0e7dc0, event=TS_EVENT_HTTP_CONTINUE) at InkAPI.cc:5543 #11 0x2acf12d247fc in http_hook (contp=value optimized out, event=value optimized out, edata=0x2acf6e0e7dc0) at INKPluginInit.cc:177 #12 0x005a4416 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=value optimized out, data=value optimized out) at HttpSM.cc:1362 #13 0x005a618b in HttpSM::state_http_server_open (this=0x2acf6e0e7dc0, event=value optimized out, data=0x2ad0b88802d0) at HttpSM.cc:1643 #14 0x005a70e8 in HttpSM::main_handler (this=0x2acf6e0e7dc0, event=200, data=0x2ad0b88802d0) at HttpSM.cc:2501 #15 0x0070f96d in handleEvent (this=0x2ad0b88802d0, t=value optimized out, fd=-1) at ../../iocore/eventsystem/I_Continuation.h:146 #16 UnixNetVConnection::connectUp (this=0x2ad0b88802d0, t=value optimized out, fd=-1) at UnixNetVConnection.cc:1159 #17 0x0070d01f in UnixNetProcessor::connect_re_internal (this=value optimized out, cont=value optimized out, target=value optimized out, opt=0x2acf1cd09e00, servername=0x2ad0b88804fc \002) at UnixNetProcessor.cc:255 #18 0x005a568b in connect_re (this=0x2acf6e0e7dc0, raw=value optimized out) at ../../iocore/net/P_UnixNetProcessor.h:87 #19 HttpSM::do_http_server_open (this=0x2acf6e0e7dc0, raw=value optimized out) at HttpSM.cc:4646 #20 0x005aa2bd in HttpSM::set_next_state (this=0x2acf6e0e7dc0) at HttpSM.cc:6975 #21 0x005ac132 in HttpSM::handle_api_return (this=0x2acf6e0e7dc0) at HttpSM.cc:1505 #22 0x005a45b0 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1437 #23 0x005a76aa in HttpSM::state_api_callback (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1255 #24 0x004c99cc in TSHttpTxnReenable (txnp=0x2acf6e0e7dc0,
[jira] [Comment Edited] (TS-2878) Core dump in mime_field_print
[ https://issues.apache.org/jira/browse/TS-2878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14025894#comment-14025894 ] Brian Geffon edited comment on TS-2878 at 6/9/14 11:04 PM: --- Why would you revert TS-2766? it fixed a known bug. TS-2766 is a simple patch, i can guarantee it isn't the cause of your crashes. Also, why did you guys pick Jun 30th? was (Author: briang): Why would you revert TS-2766? it fixed a known bug. Core dump in mime_field_print - Key: TS-2878 URL: https://issues.apache.org/jira/browse/TS-2878 Project: Traffic Server Issue Type: Bug Components: Core Affects Versions: 5.0.0 Reporter: Sudheer Vinukonda Found a new core dump on one of our production hosts with the latest master. {code} (gdb) #0 0x00366a489932 in memcpy () from /lib64/libc.so.6 #1 0x006440ec in mime_field_print (field=0x2ad0c12eb398, buf_start=0x2ad0ccddf6fc b=4d=N8yEv7ppYEIU22_VquwWHph5uWBFcIT0fZmeGg--s=l0i=jE4n8cjO._g4wBfgSzBR; F=a=d7RTbXcMvSscJ6tvYRkm3uidpW7e4pvmEH8Vl9bGaVDpBGZ6bL4NJuiQDJLIQ1MsxDYfXJc-b=pfgj; Y=v=1n=3kntebmsf6jf7l=43m0h3.2705544@..., buf_length=4096, buf_index_inout=0x2acf1cd0883c, buf_chars_to_skip_inout=0x2acf1cd08838) at MIME.cc:2745 #2 0x0064422c in mime_hdr_print (mh=value optimized out, buf_start=0x2ad0ccddf000 POST /w/ygo-mail/msgedit.bp?ci=1.ts=1401981151_httpHost=m.yahoo.com.intl=MX.lang=es-mx HTTP/1.1\r\nHost: m.yahoo.com\r\nAccept-Charset: utf-8, iso-8859-1, iso-8859-2, iso-10646, us-ascii, *\r\nAccept-La..., buf_length=4096, buf_index_inout=0x2acf1cd0883c, buf_chars_to_skip_inout=0x2acf1cd08838) at MIME.cc:2623 #3 0x00639b52 in http_hdr_print (heap=0x2ad0c12eb010, hdr=0x2ad0c12eb098, buf=0x2ad0ccddf000 POST /w/ygo-mail/msgedit.bp?ci=1.ts=1401981151_httpHost=m.yahoo.com.intl=MX.lang=es-mx HTTP/1.1\r\nHost: m.yahoo.com\r\nAccept-Charset: utf-8, iso-8859-1, iso-8859-2, iso-10646, us-ascii, *\r\nAccept-La..., bufsize=4096, bufindex=0x2acf1cd0883c, dumpoffset=0x2acf1cd08838) at HTTP.cc:555 #4 0x0059c676 in print (this=value optimized out, h=0x2acf6e0e8548, b=0x2ad0240b56d0) at ../../proxy/hdrs/HTTP.h:897 #5 HttpSM::write_header_into_buffer (this=value optimized out, h=0x2acf6e0e8548, b=0x2ad0240b56d0) at HttpSM.cc:5457 #6 0x0059e9bb in HttpSM::setup_server_send_request (this=0x2acf6e0e7dc0) at HttpSM.cc:5576 #7 0x005ac1f5 in HttpSM::handle_api_return (this=0x2acf6e0e7dc0) at HttpSM.cc:1508 #8 0x005a45b0 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1437 #9 0x005a76aa in HttpSM::state_api_callback (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1255 #10 0x004c99cc in TSHttpTxnReenable (txnp=0x2acf6e0e7dc0, event=TS_EVENT_HTTP_CONTINUE) at InkAPI.cc:5543 #11 0x2acf12d247fc in http_hook (contp=value optimized out, event=value optimized out, edata=0x2acf6e0e7dc0) at INKPluginInit.cc:177 #12 0x005a4416 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=value optimized out, data=value optimized out) at HttpSM.cc:1362 #13 0x005a618b in HttpSM::state_http_server_open (this=0x2acf6e0e7dc0, event=value optimized out, data=0x2ad0b88802d0) at HttpSM.cc:1643 #14 0x005a70e8 in HttpSM::main_handler (this=0x2acf6e0e7dc0, event=200, data=0x2ad0b88802d0) at HttpSM.cc:2501 #15 0x0070f96d in handleEvent (this=0x2ad0b88802d0, t=value optimized out, fd=-1) at ../../iocore/eventsystem/I_Continuation.h:146 #16 UnixNetVConnection::connectUp (this=0x2ad0b88802d0, t=value optimized out, fd=-1) at UnixNetVConnection.cc:1159 #17 0x0070d01f in UnixNetProcessor::connect_re_internal (this=value optimized out, cont=value optimized out, target=value optimized out, opt=0x2acf1cd09e00, servername=0x2ad0b88804fc \002) at UnixNetProcessor.cc:255 #18 0x005a568b in connect_re (this=0x2acf6e0e7dc0, raw=value optimized out) at ../../iocore/net/P_UnixNetProcessor.h:87 #19 HttpSM::do_http_server_open (this=0x2acf6e0e7dc0, raw=value optimized out) at HttpSM.cc:4646 #20 0x005aa2bd in HttpSM::set_next_state (this=0x2acf6e0e7dc0) at HttpSM.cc:6975 #21 0x005ac132 in HttpSM::handle_api_return (this=0x2acf6e0e7dc0) at HttpSM.cc:1505 #22 0x005a45b0 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1437 #23 0x005a76aa in HttpSM::state_api_callback (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1255 #24 0x004c99cc in TSHttpTxnReenable (txnp=0x2acf6e0e7dc0, event=TS_EVENT_HTTP_CONTINUE) at InkAPI.cc:5543 #25 0x2acf13dd3492 in append_own_yca_certificate (txnp=0x2acf6e0e7dc0, contp=value optimized out, data=value
[jira] [Comment Edited] (TS-2878) Core dump in mime_field_print
[ https://issues.apache.org/jira/browse/TS-2878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14025894#comment-14025894 ] Brian Geffon edited comment on TS-2878 at 6/9/14 11:04 PM: --- Why would you revert TS-2766? it fixed a known bug. TS-2766 is a simple patch, i can guarantee it isn't the cause of your crashes. Also, why did you guys pick Jun 3rd? was (Author: briang): Why would you revert TS-2766? it fixed a known bug. TS-2766 is a simple patch, i can guarantee it isn't the cause of your crashes. Also, why did you guys pick Jun 30th? Core dump in mime_field_print - Key: TS-2878 URL: https://issues.apache.org/jira/browse/TS-2878 Project: Traffic Server Issue Type: Bug Components: Core Affects Versions: 5.0.0 Reporter: Sudheer Vinukonda Found a new core dump on one of our production hosts with the latest master. {code} (gdb) #0 0x00366a489932 in memcpy () from /lib64/libc.so.6 #1 0x006440ec in mime_field_print (field=0x2ad0c12eb398, buf_start=0x2ad0ccddf6fc b=4d=N8yEv7ppYEIU22_VquwWHph5uWBFcIT0fZmeGg--s=l0i=jE4n8cjO._g4wBfgSzBR; F=a=d7RTbXcMvSscJ6tvYRkm3uidpW7e4pvmEH8Vl9bGaVDpBGZ6bL4NJuiQDJLIQ1MsxDYfXJc-b=pfgj; Y=v=1n=3kntebmsf6jf7l=43m0h3.2705544@..., buf_length=4096, buf_index_inout=0x2acf1cd0883c, buf_chars_to_skip_inout=0x2acf1cd08838) at MIME.cc:2745 #2 0x0064422c in mime_hdr_print (mh=value optimized out, buf_start=0x2ad0ccddf000 POST /w/ygo-mail/msgedit.bp?ci=1.ts=1401981151_httpHost=m.yahoo.com.intl=MX.lang=es-mx HTTP/1.1\r\nHost: m.yahoo.com\r\nAccept-Charset: utf-8, iso-8859-1, iso-8859-2, iso-10646, us-ascii, *\r\nAccept-La..., buf_length=4096, buf_index_inout=0x2acf1cd0883c, buf_chars_to_skip_inout=0x2acf1cd08838) at MIME.cc:2623 #3 0x00639b52 in http_hdr_print (heap=0x2ad0c12eb010, hdr=0x2ad0c12eb098, buf=0x2ad0ccddf000 POST /w/ygo-mail/msgedit.bp?ci=1.ts=1401981151_httpHost=m.yahoo.com.intl=MX.lang=es-mx HTTP/1.1\r\nHost: m.yahoo.com\r\nAccept-Charset: utf-8, iso-8859-1, iso-8859-2, iso-10646, us-ascii, *\r\nAccept-La..., bufsize=4096, bufindex=0x2acf1cd0883c, dumpoffset=0x2acf1cd08838) at HTTP.cc:555 #4 0x0059c676 in print (this=value optimized out, h=0x2acf6e0e8548, b=0x2ad0240b56d0) at ../../proxy/hdrs/HTTP.h:897 #5 HttpSM::write_header_into_buffer (this=value optimized out, h=0x2acf6e0e8548, b=0x2ad0240b56d0) at HttpSM.cc:5457 #6 0x0059e9bb in HttpSM::setup_server_send_request (this=0x2acf6e0e7dc0) at HttpSM.cc:5576 #7 0x005ac1f5 in HttpSM::handle_api_return (this=0x2acf6e0e7dc0) at HttpSM.cc:1508 #8 0x005a45b0 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1437 #9 0x005a76aa in HttpSM::state_api_callback (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1255 #10 0x004c99cc in TSHttpTxnReenable (txnp=0x2acf6e0e7dc0, event=TS_EVENT_HTTP_CONTINUE) at InkAPI.cc:5543 #11 0x2acf12d247fc in http_hook (contp=value optimized out, event=value optimized out, edata=0x2acf6e0e7dc0) at INKPluginInit.cc:177 #12 0x005a4416 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=value optimized out, data=value optimized out) at HttpSM.cc:1362 #13 0x005a618b in HttpSM::state_http_server_open (this=0x2acf6e0e7dc0, event=value optimized out, data=0x2ad0b88802d0) at HttpSM.cc:1643 #14 0x005a70e8 in HttpSM::main_handler (this=0x2acf6e0e7dc0, event=200, data=0x2ad0b88802d0) at HttpSM.cc:2501 #15 0x0070f96d in handleEvent (this=0x2ad0b88802d0, t=value optimized out, fd=-1) at ../../iocore/eventsystem/I_Continuation.h:146 #16 UnixNetVConnection::connectUp (this=0x2ad0b88802d0, t=value optimized out, fd=-1) at UnixNetVConnection.cc:1159 #17 0x0070d01f in UnixNetProcessor::connect_re_internal (this=value optimized out, cont=value optimized out, target=value optimized out, opt=0x2acf1cd09e00, servername=0x2ad0b88804fc \002) at UnixNetProcessor.cc:255 #18 0x005a568b in connect_re (this=0x2acf6e0e7dc0, raw=value optimized out) at ../../iocore/net/P_UnixNetProcessor.h:87 #19 HttpSM::do_http_server_open (this=0x2acf6e0e7dc0, raw=value optimized out) at HttpSM.cc:4646 #20 0x005aa2bd in HttpSM::set_next_state (this=0x2acf6e0e7dc0) at HttpSM.cc:6975 #21 0x005ac132 in HttpSM::handle_api_return (this=0x2acf6e0e7dc0) at HttpSM.cc:1505 #22 0x005a45b0 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1437 #23 0x005a76aa in HttpSM::state_api_callback (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1255 #24 0x004c99cc in TSHttpTxnReenable (txnp=0x2acf6e0e7dc0, event=TS_EVENT_HTTP_CONTINUE) at InkAPI.cc:5543
[jira] [Comment Edited] (TS-2878) Core dump in mime_field_print
[ https://issues.apache.org/jira/browse/TS-2878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14019919#comment-14019919 ] Sudheer Vinukonda edited comment on TS-2878 at 6/6/14 3:28 PM: --- From the gdb, it looks like field-m_ptr_value is NULL and field-m_len_value is 103 and field-m_readiness shows it as MIME_FIELD_SLOT_READINESS_LIVE (2) in the code below: {code} int mime_field_print(MIMEField *field, char *buf_start, int buf_length, int *buf_index_inout, int *buf_chars_to_skip_inout) { #define TRY(x) if (!x) return 0 int total_len; // Don't print names that begin with an '@'. if (field-m_ptr_name[0] == '@') { return 1; } if (field-m_n_v_raw_printable) { total_len = field-m_len_name + field-m_len_value + field-m_n_v_raw_printable_pad; if ((buf_start != NULL) (*buf_chars_to_skip_inout == 0) (total_len = (buf_length - *buf_index_inout))) { buf_start += *buf_index_inout; memcpy(buf_start, field-m_ptr_name, total_len); *buf_index_inout += total_len; } else { TRY(mime_mem_print(field-m_ptr_name, total_len, buf_start, buf_length, buf_index_inout, buf_chars_to_skip_inout)); } } else { total_len = field-m_len_name + field-m_len_value + 2 + 2; // try to handle on fast path if ((buf_start != NULL) (*buf_chars_to_skip_inout == 0) (total_len = (buf_length - *buf_index_inout))) { buf_start += *buf_index_inout; memcpy(buf_start, field-m_ptr_name, field-m_len_name); buf_start += field-m_len_name; buf_start[0] = ':'; buf_start[1] = ' '; buf_start += 2; memcpy(buf_start, field-m_ptr_value, field-m_len_value); {code} gdb output = (gdb) down #0 0x00366a489932 in memcpy () from /lib64/libc.so.6 (gdb) up #1 0x006440ec in mime_field_print (field=0x2ba0a7912398, buf_start=0x2ba0e58dd71f 1400292739148%7C1494900739148%3B%20s_c20_s%3DLess%2520than%25207%2520days%7C1400294539148%3B%20s_gpv_pn%3DGMAY%253Alifeandstyle%253Aparenting%253AHospital%2520Welcomes%2520Second%2520Set%2520of%2520Ra..., buf_length=4096, buf_index_inout=0x2ba0684c374c, buf_chars_to_skip_inout=0x2ba0684c3748) at MIME.cc:2745 2745in MIME.cc (gdb) print field $12 = (MIMEField *) 0x2ba0a7912398 (gdb) print *field $13 = {m_ptr_name = 0x2ba12accb7ac SSLCOOKIEw/legobpengine/frontpage/02063673, m_ptr_value = 0x0, m_next_dup = 0x0, m_wks_idx = -1, m_len_name = 9, m_len_value = 103, m_n_v_raw_printable = 0 '\000', m_n_v_raw_printable_pad = 0 '\000', m_readiness = 2 '\002', m_flags = 1 '\001'} (gdb) print field-m_ptr_value $14 = 0x0 (gdb) print field-m_len_value $15 = 103 (gdb) print field-m_readiness $18 = 2 '\002' was (Author: sudheerv): From the gdb, it looks like field-m_ptr_value is NULL and field-m_len_value is 103. in the code below: {code} int mime_field_print(MIMEField *field, char *buf_start, int buf_length, int *buf_index_inout, int *buf_chars_to_skip_inout) { #define TRY(x) if (!x) return 0 int total_len; // Don't print names that begin with an '@'. if (field-m_ptr_name[0] == '@') { return 1; } if (field-m_n_v_raw_printable) { total_len = field-m_len_name + field-m_len_value + field-m_n_v_raw_printable_pad; if ((buf_start != NULL) (*buf_chars_to_skip_inout == 0) (total_len = (buf_length - *buf_index_inout))) { buf_start += *buf_index_inout; memcpy(buf_start, field-m_ptr_name, total_len); *buf_index_inout += total_len; } else { TRY(mime_mem_print(field-m_ptr_name, total_len, buf_start, buf_length, buf_index_inout, buf_chars_to_skip_inout)); } } else { total_len = field-m_len_name + field-m_len_value + 2 + 2; // try to handle on fast path if ((buf_start != NULL) (*buf_chars_to_skip_inout == 0) (total_len = (buf_length - *buf_index_inout))) { buf_start += *buf_index_inout; memcpy(buf_start, field-m_ptr_name, field-m_len_name); buf_start += field-m_len_name; buf_start[0] = ':'; buf_start[1] = ' '; buf_start += 2; memcpy(buf_start, field-m_ptr_value, field-m_len_value); {code} gdb output = (gdb) down #0 0x00366a489932 in memcpy () from /lib64/libc.so.6 (gdb) up #1 0x006440ec in mime_field_print (field=0x2ba0a7912398, buf_start=0x2ba0e58dd71f 1400292739148%7C1494900739148%3B%20s_c20_s%3DLess%2520than%25207%2520days%7C1400294539148%3B%20s_gpv_pn%3DGMAY%253Alifeandstyle%253Aparenting%253AHospital%2520Welcomes%2520Second%2520Set%2520of%2520Ra..., buf_length=4096, buf_index_inout=0x2ba0684c374c, buf_chars_to_skip_inout=0x2ba0684c3748) at MIME.cc:2745 2745in MIME.cc (gdb) print field $12 = (MIMEField *) 0x2ba0a7912398 (gdb) print *field $13 = {m_ptr_name = 0x2ba12accb7ac SSLCOOKIEw/legobpengine/frontpage/02063673, m_ptr_value = 0x0, m_next_dup = 0x0, m_wks_idx = -1, m_len_name = 9, m_len_value = 103,
[jira] [Comment Edited] (TS-2878) Core dump in mime_field_print
[ https://issues.apache.org/jira/browse/TS-2878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14020667#comment-14020667 ] Sudheer Vinukonda edited comment on TS-2878 at 6/7/14 4:15 AM: --- Seeing more core dumps with different stack traces now. The latest master version doesn't look good. Will open separate jira tickets for those core dumps. was (Author: sudheerv): Seeing more core dumps with different stack traces now. The latest master version doesn't look good. Will open separate jira tickets for those core dumps. Core dump in mime_field_print - Key: TS-2878 URL: https://issues.apache.org/jira/browse/TS-2878 Project: Traffic Server Issue Type: Bug Components: Core Affects Versions: 5.0.0 Reporter: Sudheer Vinukonda Found a new core dump on one of our production hosts with the latest master. {code} (gdb) #0 0x00366a489932 in memcpy () from /lib64/libc.so.6 #1 0x006440ec in mime_field_print (field=0x2ad0c12eb398, buf_start=0x2ad0ccddf6fc b=4d=N8yEv7ppYEIU22_VquwWHph5uWBFcIT0fZmeGg--s=l0i=jE4n8cjO._g4wBfgSzBR; F=a=d7RTbXcMvSscJ6tvYRkm3uidpW7e4pvmEH8Vl9bGaVDpBGZ6bL4NJuiQDJLIQ1MsxDYfXJc-b=pfgj; Y=v=1n=3kntebmsf6jf7l=43m0h3.2705544@..., buf_length=4096, buf_index_inout=0x2acf1cd0883c, buf_chars_to_skip_inout=0x2acf1cd08838) at MIME.cc:2745 #2 0x0064422c in mime_hdr_print (mh=value optimized out, buf_start=0x2ad0ccddf000 POST /w/ygo-mail/msgedit.bp?ci=1.ts=1401981151_httpHost=m.yahoo.com.intl=MX.lang=es-mx HTTP/1.1\r\nHost: m.yahoo.com\r\nAccept-Charset: utf-8, iso-8859-1, iso-8859-2, iso-10646, us-ascii, *\r\nAccept-La..., buf_length=4096, buf_index_inout=0x2acf1cd0883c, buf_chars_to_skip_inout=0x2acf1cd08838) at MIME.cc:2623 #3 0x00639b52 in http_hdr_print (heap=0x2ad0c12eb010, hdr=0x2ad0c12eb098, buf=0x2ad0ccddf000 POST /w/ygo-mail/msgedit.bp?ci=1.ts=1401981151_httpHost=m.yahoo.com.intl=MX.lang=es-mx HTTP/1.1\r\nHost: m.yahoo.com\r\nAccept-Charset: utf-8, iso-8859-1, iso-8859-2, iso-10646, us-ascii, *\r\nAccept-La..., bufsize=4096, bufindex=0x2acf1cd0883c, dumpoffset=0x2acf1cd08838) at HTTP.cc:555 #4 0x0059c676 in print (this=value optimized out, h=0x2acf6e0e8548, b=0x2ad0240b56d0) at ../../proxy/hdrs/HTTP.h:897 #5 HttpSM::write_header_into_buffer (this=value optimized out, h=0x2acf6e0e8548, b=0x2ad0240b56d0) at HttpSM.cc:5457 #6 0x0059e9bb in HttpSM::setup_server_send_request (this=0x2acf6e0e7dc0) at HttpSM.cc:5576 #7 0x005ac1f5 in HttpSM::handle_api_return (this=0x2acf6e0e7dc0) at HttpSM.cc:1508 #8 0x005a45b0 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1437 #9 0x005a76aa in HttpSM::state_api_callback (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1255 #10 0x004c99cc in TSHttpTxnReenable (txnp=0x2acf6e0e7dc0, event=TS_EVENT_HTTP_CONTINUE) at InkAPI.cc:5543 #11 0x2acf12d247fc in http_hook (contp=value optimized out, event=value optimized out, edata=0x2acf6e0e7dc0) at INKPluginInit.cc:177 #12 0x005a4416 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=value optimized out, data=value optimized out) at HttpSM.cc:1362 #13 0x005a618b in HttpSM::state_http_server_open (this=0x2acf6e0e7dc0, event=value optimized out, data=0x2ad0b88802d0) at HttpSM.cc:1643 #14 0x005a70e8 in HttpSM::main_handler (this=0x2acf6e0e7dc0, event=200, data=0x2ad0b88802d0) at HttpSM.cc:2501 #15 0x0070f96d in handleEvent (this=0x2ad0b88802d0, t=value optimized out, fd=-1) at ../../iocore/eventsystem/I_Continuation.h:146 #16 UnixNetVConnection::connectUp (this=0x2ad0b88802d0, t=value optimized out, fd=-1) at UnixNetVConnection.cc:1159 #17 0x0070d01f in UnixNetProcessor::connect_re_internal (this=value optimized out, cont=value optimized out, target=value optimized out, opt=0x2acf1cd09e00, servername=0x2ad0b88804fc \002) at UnixNetProcessor.cc:255 #18 0x005a568b in connect_re (this=0x2acf6e0e7dc0, raw=value optimized out) at ../../iocore/net/P_UnixNetProcessor.h:87 #19 HttpSM::do_http_server_open (this=0x2acf6e0e7dc0, raw=value optimized out) at HttpSM.cc:4646 #20 0x005aa2bd in HttpSM::set_next_state (this=0x2acf6e0e7dc0) at HttpSM.cc:6975 #21 0x005ac132 in HttpSM::handle_api_return (this=0x2acf6e0e7dc0) at HttpSM.cc:1505 #22 0x005a45b0 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1437 #23 0x005a76aa in HttpSM::state_api_callback (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1255 #24 0x004c99cc in TSHttpTxnReenable (txnp=0x2acf6e0e7dc0, event=TS_EVENT_HTTP_CONTINUE) at InkAPI.cc:5543 #25
[jira] [Comment Edited] (TS-2878) Core dump in mime_field_print
[ https://issues.apache.org/jira/browse/TS-2878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14019122#comment-14019122 ] Brian Geffon edited comment on TS-2878 at 6/5/14 7:23 PM: -- Can you please try the patch in TS-2766, because this is a very similar stack trace to what we saw. Edit: nevermind I see you're saying this is latest master. Can we get a bt full? was (Author: briang): Can you please try the patch in TS-2766, because this is a very similar stack trace to what we saw. Core dump in mime_field_print - Key: TS-2878 URL: https://issues.apache.org/jira/browse/TS-2878 Project: Traffic Server Issue Type: Bug Components: Core Reporter: Sudheer Vinukonda Found a new core dump on one of our production hosts with the latest master. {code} (gdb) #0 0x00366a489932 in memcpy () from /lib64/libc.so.6 #1 0x006440ec in mime_field_print (field=0x2ad0c12eb398, buf_start=0x2ad0ccddf6fc b=4d=N8yEv7ppYEIU22_VquwWHph5uWBFcIT0fZmeGg--s=l0i=jE4n8cjO._g4wBfgSzBR; F=a=d7RTbXcMvSscJ6tvYRkm3uidpW7e4pvmEH8Vl9bGaVDpBGZ6bL4NJuiQDJLIQ1MsxDYfXJc-b=pfgj; Y=v=1n=3kntebmsf6jf7l=43m0h3.2705544@..., buf_length=4096, buf_index_inout=0x2acf1cd0883c, buf_chars_to_skip_inout=0x2acf1cd08838) at MIME.cc:2745 #2 0x0064422c in mime_hdr_print (mh=value optimized out, buf_start=0x2ad0ccddf000 POST /w/ygo-mail/msgedit.bp?ci=1.ts=1401981151_httpHost=m.yahoo.com.intl=MX.lang=es-mx HTTP/1.1\r\nHost: m.yahoo.com\r\nAccept-Charset: utf-8, iso-8859-1, iso-8859-2, iso-10646, us-ascii, *\r\nAccept-La..., buf_length=4096, buf_index_inout=0x2acf1cd0883c, buf_chars_to_skip_inout=0x2acf1cd08838) at MIME.cc:2623 #3 0x00639b52 in http_hdr_print (heap=0x2ad0c12eb010, hdr=0x2ad0c12eb098, buf=0x2ad0ccddf000 POST /w/ygo-mail/msgedit.bp?ci=1.ts=1401981151_httpHost=m.yahoo.com.intl=MX.lang=es-mx HTTP/1.1\r\nHost: m.yahoo.com\r\nAccept-Charset: utf-8, iso-8859-1, iso-8859-2, iso-10646, us-ascii, *\r\nAccept-La..., bufsize=4096, bufindex=0x2acf1cd0883c, dumpoffset=0x2acf1cd08838) at HTTP.cc:555 #4 0x0059c676 in print (this=value optimized out, h=0x2acf6e0e8548, b=0x2ad0240b56d0) at ../../proxy/hdrs/HTTP.h:897 #5 HttpSM::write_header_into_buffer (this=value optimized out, h=0x2acf6e0e8548, b=0x2ad0240b56d0) at HttpSM.cc:5457 #6 0x0059e9bb in HttpSM::setup_server_send_request (this=0x2acf6e0e7dc0) at HttpSM.cc:5576 #7 0x005ac1f5 in HttpSM::handle_api_return (this=0x2acf6e0e7dc0) at HttpSM.cc:1508 #8 0x005a45b0 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1437 #9 0x005a76aa in HttpSM::state_api_callback (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1255 #10 0x004c99cc in TSHttpTxnReenable (txnp=0x2acf6e0e7dc0, event=TS_EVENT_HTTP_CONTINUE) at InkAPI.cc:5543 #11 0x2acf12d247fc in http_hook (contp=value optimized out, event=value optimized out, edata=0x2acf6e0e7dc0) at INKPluginInit.cc:177 #12 0x005a4416 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=value optimized out, data=value optimized out) at HttpSM.cc:1362 #13 0x005a618b in HttpSM::state_http_server_open (this=0x2acf6e0e7dc0, event=value optimized out, data=0x2ad0b88802d0) at HttpSM.cc:1643 #14 0x005a70e8 in HttpSM::main_handler (this=0x2acf6e0e7dc0, event=200, data=0x2ad0b88802d0) at HttpSM.cc:2501 #15 0x0070f96d in handleEvent (this=0x2ad0b88802d0, t=value optimized out, fd=-1) at ../../iocore/eventsystem/I_Continuation.h:146 #16 UnixNetVConnection::connectUp (this=0x2ad0b88802d0, t=value optimized out, fd=-1) at UnixNetVConnection.cc:1159 #17 0x0070d01f in UnixNetProcessor::connect_re_internal (this=value optimized out, cont=value optimized out, target=value optimized out, opt=0x2acf1cd09e00, servername=0x2ad0b88804fc \002) at UnixNetProcessor.cc:255 #18 0x005a568b in connect_re (this=0x2acf6e0e7dc0, raw=value optimized out) at ../../iocore/net/P_UnixNetProcessor.h:87 #19 HttpSM::do_http_server_open (this=0x2acf6e0e7dc0, raw=value optimized out) at HttpSM.cc:4646 #20 0x005aa2bd in HttpSM::set_next_state (this=0x2acf6e0e7dc0) at HttpSM.cc:6975 #21 0x005ac132 in HttpSM::handle_api_return (this=0x2acf6e0e7dc0) at HttpSM.cc:1505 #22 0x005a45b0 in HttpSM::state_api_callout (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1437 #23 0x005a76aa in HttpSM::state_api_callback (this=0x2acf6e0e7dc0, event=6, data=0x0) at HttpSM.cc:1255 #24 0x004c99cc in TSHttpTxnReenable (txnp=0x2acf6e0e7dc0, event=TS_EVENT_HTTP_CONTINUE) at InkAPI.cc:5543 #25 0x2acf13dd3492 in append_own_yca_certificate (txnp=0x2acf6e0e7dc0,