[jira] [Updated] (TS-3285) Seg fault when 100 CONT handling is enabled

2015-03-16 Thread Leif Hedstrom (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leif Hedstrom updated TS-3285:
--
Fix Version/s: 5.2.1

 Seg fault when 100 CONT handling is enabled
 ---

 Key: TS-3285
 URL: https://issues.apache.org/jira/browse/TS-3285
 Project: Traffic Server
  Issue Type: Bug
  Components: Core
Affects Versions: 5.0.1
Reporter: Sudheer Vinukonda
Assignee: Sudheer Vinukonda
 Fix For: 5.2.1, 5.3.0


 With 100 CONT handling enabled in our ats5 production hosts, we are seeing 
 the below seg fault.
 {code}
 (gdb) bt
 #0  0x00316e432925 in raise (sig=6) at 
 ../nptl/sysdeps/unix/sysv/linux/raise.c:64
 #1  0x00316e434105 in abort () at abort.c:92
 #2  0x2b6869944458 in ink_die_die_die (retval=1) at ink_error.cc:43
 #3  0x2b6869944525 in ink_fatal_va(int, const char *, typedef 
 __va_list_tag __va_list_tag *) (return_code=1, 
 message_format=0x2b68699518d8 %s:%d: failed assert `%s`, 
 ap=0x2b686bb1bf00) at ink_error.cc:65
 #4  0x2b68699445ee in ink_fatal (return_code=1, 
 message_format=0x2b68699518d8 %s:%d: failed assert `%s`) at ink_error.cc:73
 #5  0x2b6869943160 in _ink_assert (expression=0x7a984e buf_index_inout 
 == NULL, file=0x7a96e3 MIME.cc, line=2676) at ink_assert.cc:37
 #6  0x0068212d in mime_mem_print (src_d=0x2b686bb1c090 HTTP/1.1, 
 src_l=8, buf_start=0x0, buf_length=-1811908575, 
 buf_index_inout=0x2b686bb1c1bc, buf_chars_to_skip_inout=0x2b686bb1c1b8) 
 at MIME.cc:2676
 #7  0x00671df3 in http_version_print (version=65537, buf=0x0, 
 bufsize=-1811908575, bufindex=0x2b686bb1c1bc, dumpoffset=0x2b686bb1c1b8)
 at HTTP.cc:415
 #8  0x006724fb in http_hdr_print (heap=0x2b6881019010, 
 hdr=0x2b6881019098, buf=0x0, bufsize=-1811908575, bufindex=0x2b686bb1c1bc, 
 dumpoffset=0x2b686bb1c1b8) at HTTP.cc:539
 #9  0x004f259b in HTTPHdr::print (this=0x2b68ac06f058, buf=0x0, 
 bufsize=-1811908575, bufindex=0x2b686bb1c1bc, dumpoffset=0x2b686bb1c1b8)
 at ./hdrs/HTTP.h:897
 #10 0x005da903 in HttpSM::write_header_into_buffer 
 (this=0x2b68ac06e910, h=0x2b68ac06f058, b=0x2f163e0) at HttpSM.cc:5554
 #11 0x005e5129 in HttpSM::write_response_header_into_buffer 
 (this=0x2b68ac06e910, h=0x2b68ac06f058, b=0x2f163e0) at HttpSM.h:594
 #12 0x005dcef2 in HttpSM::setup_server_transfer (this=0x2b68ac06e910) 
 at HttpSM.cc:6295
 #13 0x005cd336 in HttpSM::handle_api_return (this=0x2b68ac06e910) at 
 HttpSM.cc:1554
 #14 0x005cd040 in HttpSM::state_api_callout (this=0x2b68ac06e910, 
 event=0, data=0x0) at HttpSM.cc:1446
 #15 0x005d89b7 in HttpSM::do_api_callout_internal 
 (this=0x2b68ac06e910) at HttpSM.cc:4858
 #16 0x005dfdec in HttpSM::set_next_state (this=0x2b68ac06e910) at 
 HttpSM.cc:7115
 #17 0x005df0ec in HttpSM::call_transact_and_set_next_state 
 (this=0x2b68ac06e910, f=0) at HttpSM.cc:6900
 #18 0x005cd1e3 in HttpSM::handle_api_return (this=0x2b68ac06e910) at 
 HttpSM.cc:1514
 #19 0x005cd040 in HttpSM::state_api_callout (this=0x2b68ac06e910, 
 event=6, data=0x0) at HttpSM.cc:1446
 #20 0x005cc7d6 in HttpSM::state_api_callback (this=0x2b68ac06e910, 
 event=6, data=0x0) at HttpSM.cc:1264
 #21 0x00515bb5 in TSHttpTxnReenable (txnp=0x2b68ac06e910, 
 event=TS_EVENT_HTTP_CONTINUE) at InkAPI.cc:5554
 #22 0x2b68806f945b in transform_plugin 
 (event=TS_EVENT_HTTP_READ_RESPONSE_HDR, edata=0x2b68ac06e910) at gzip.cc:693
 #23 0x0050a40c in INKContInternal::handle_event (this=0x2ea2bb0, 
 event=60006, edata=0x2b68ac06e910) at InkAPI.cc:1000
 #24 0x004f597e in Continuation::handleEvent (this=0x2ea2bb0, 
 event=60006, data=0x2b68ac06e910) at 
 ../iocore/eventsystem/I_Continuation.h:146
 #25 0x0050ac53 in APIHook::invoke (this=0x2ea3c80, event=60006, 
 edata=0x2b68ac06e910) at InkAPI.cc:1219
 #26 0x005ccda9 in HttpSM::state_api_callout (this=0x2b68ac06e910, 
 event=0, data=0x0) at HttpSM.cc:1371
 #27 0x005d89b7 in HttpSM::do_api_callout_internal 
 (this=0x2b68ac06e910) at HttpSM.cc:4858
 #28 0x005e54fc in HttpSM::do_api_callout (this=0x2b68ac06e910) at 
 HttpSM.cc:448
 #29 0x005ce277 in HttpSM::state_read_server_response_header 
 (this=0x2b68ac06e910, event=100, data=0x2b68a802afc0) at HttpSM.cc:1861
 #30 0x005d0582 in HttpSM::main_handler (this=0x2b68ac06e910, 
 event=100, data=0x2b68a802afc0) at HttpSM.cc:2507
 #31 0x004f597e in Continuation::handleEvent (this=0x2b68ac06e910, 
 event=100, data=0x2b68a802afc0) at ../iocore/eventsystem/I_Continuation.h:146
 #32 0x00531d7d in PluginVC::process_read_side (this=0x2b68a802aec0, 
 other_side_call=true) at PluginVC.cc:671
 #33 0x00531612 in PluginVC::process_write_side (this=0x2b68a802b0a8, 
 

[jira] [Updated] (TS-3285) Seg fault when 100 CONT handling is enabled

2015-03-16 Thread Leif Hedstrom (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leif Hedstrom updated TS-3285:
--
Backport to Version:   (was: 5.2.1)

 Seg fault when 100 CONT handling is enabled
 ---

 Key: TS-3285
 URL: https://issues.apache.org/jira/browse/TS-3285
 Project: Traffic Server
  Issue Type: Bug
  Components: Core
Affects Versions: 5.0.1
Reporter: Sudheer Vinukonda
Assignee: Sudheer Vinukonda
 Fix For: 5.2.1, 5.3.0


 With 100 CONT handling enabled in our ats5 production hosts, we are seeing 
 the below seg fault.
 {code}
 (gdb) bt
 #0  0x00316e432925 in raise (sig=6) at 
 ../nptl/sysdeps/unix/sysv/linux/raise.c:64
 #1  0x00316e434105 in abort () at abort.c:92
 #2  0x2b6869944458 in ink_die_die_die (retval=1) at ink_error.cc:43
 #3  0x2b6869944525 in ink_fatal_va(int, const char *, typedef 
 __va_list_tag __va_list_tag *) (return_code=1, 
 message_format=0x2b68699518d8 %s:%d: failed assert `%s`, 
 ap=0x2b686bb1bf00) at ink_error.cc:65
 #4  0x2b68699445ee in ink_fatal (return_code=1, 
 message_format=0x2b68699518d8 %s:%d: failed assert `%s`) at ink_error.cc:73
 #5  0x2b6869943160 in _ink_assert (expression=0x7a984e buf_index_inout 
 == NULL, file=0x7a96e3 MIME.cc, line=2676) at ink_assert.cc:37
 #6  0x0068212d in mime_mem_print (src_d=0x2b686bb1c090 HTTP/1.1, 
 src_l=8, buf_start=0x0, buf_length=-1811908575, 
 buf_index_inout=0x2b686bb1c1bc, buf_chars_to_skip_inout=0x2b686bb1c1b8) 
 at MIME.cc:2676
 #7  0x00671df3 in http_version_print (version=65537, buf=0x0, 
 bufsize=-1811908575, bufindex=0x2b686bb1c1bc, dumpoffset=0x2b686bb1c1b8)
 at HTTP.cc:415
 #8  0x006724fb in http_hdr_print (heap=0x2b6881019010, 
 hdr=0x2b6881019098, buf=0x0, bufsize=-1811908575, bufindex=0x2b686bb1c1bc, 
 dumpoffset=0x2b686bb1c1b8) at HTTP.cc:539
 #9  0x004f259b in HTTPHdr::print (this=0x2b68ac06f058, buf=0x0, 
 bufsize=-1811908575, bufindex=0x2b686bb1c1bc, dumpoffset=0x2b686bb1c1b8)
 at ./hdrs/HTTP.h:897
 #10 0x005da903 in HttpSM::write_header_into_buffer 
 (this=0x2b68ac06e910, h=0x2b68ac06f058, b=0x2f163e0) at HttpSM.cc:5554
 #11 0x005e5129 in HttpSM::write_response_header_into_buffer 
 (this=0x2b68ac06e910, h=0x2b68ac06f058, b=0x2f163e0) at HttpSM.h:594
 #12 0x005dcef2 in HttpSM::setup_server_transfer (this=0x2b68ac06e910) 
 at HttpSM.cc:6295
 #13 0x005cd336 in HttpSM::handle_api_return (this=0x2b68ac06e910) at 
 HttpSM.cc:1554
 #14 0x005cd040 in HttpSM::state_api_callout (this=0x2b68ac06e910, 
 event=0, data=0x0) at HttpSM.cc:1446
 #15 0x005d89b7 in HttpSM::do_api_callout_internal 
 (this=0x2b68ac06e910) at HttpSM.cc:4858
 #16 0x005dfdec in HttpSM::set_next_state (this=0x2b68ac06e910) at 
 HttpSM.cc:7115
 #17 0x005df0ec in HttpSM::call_transact_and_set_next_state 
 (this=0x2b68ac06e910, f=0) at HttpSM.cc:6900
 #18 0x005cd1e3 in HttpSM::handle_api_return (this=0x2b68ac06e910) at 
 HttpSM.cc:1514
 #19 0x005cd040 in HttpSM::state_api_callout (this=0x2b68ac06e910, 
 event=6, data=0x0) at HttpSM.cc:1446
 #20 0x005cc7d6 in HttpSM::state_api_callback (this=0x2b68ac06e910, 
 event=6, data=0x0) at HttpSM.cc:1264
 #21 0x00515bb5 in TSHttpTxnReenable (txnp=0x2b68ac06e910, 
 event=TS_EVENT_HTTP_CONTINUE) at InkAPI.cc:5554
 #22 0x2b68806f945b in transform_plugin 
 (event=TS_EVENT_HTTP_READ_RESPONSE_HDR, edata=0x2b68ac06e910) at gzip.cc:693
 #23 0x0050a40c in INKContInternal::handle_event (this=0x2ea2bb0, 
 event=60006, edata=0x2b68ac06e910) at InkAPI.cc:1000
 #24 0x004f597e in Continuation::handleEvent (this=0x2ea2bb0, 
 event=60006, data=0x2b68ac06e910) at 
 ../iocore/eventsystem/I_Continuation.h:146
 #25 0x0050ac53 in APIHook::invoke (this=0x2ea3c80, event=60006, 
 edata=0x2b68ac06e910) at InkAPI.cc:1219
 #26 0x005ccda9 in HttpSM::state_api_callout (this=0x2b68ac06e910, 
 event=0, data=0x0) at HttpSM.cc:1371
 #27 0x005d89b7 in HttpSM::do_api_callout_internal 
 (this=0x2b68ac06e910) at HttpSM.cc:4858
 #28 0x005e54fc in HttpSM::do_api_callout (this=0x2b68ac06e910) at 
 HttpSM.cc:448
 #29 0x005ce277 in HttpSM::state_read_server_response_header 
 (this=0x2b68ac06e910, event=100, data=0x2b68a802afc0) at HttpSM.cc:1861
 #30 0x005d0582 in HttpSM::main_handler (this=0x2b68ac06e910, 
 event=100, data=0x2b68a802afc0) at HttpSM.cc:2507
 #31 0x004f597e in Continuation::handleEvent (this=0x2b68ac06e910, 
 event=100, data=0x2b68a802afc0) at ../iocore/eventsystem/I_Continuation.h:146
 #32 0x00531d7d in PluginVC::process_read_side (this=0x2b68a802aec0, 
 other_side_call=true) at PluginVC.cc:671
 #33 0x00531612 in PluginVC::process_write_side 

[jira] [Updated] (TS-3285) Seg fault when 100 CONT handling is enabled

2015-03-06 Thread Sudheer Vinukonda (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sudheer Vinukonda updated TS-3285:
--
Backport to Version: 5.2.1

 Seg fault when 100 CONT handling is enabled
 ---

 Key: TS-3285
 URL: https://issues.apache.org/jira/browse/TS-3285
 Project: Traffic Server
  Issue Type: Bug
  Components: Core
Affects Versions: 5.0.1
Reporter: Sudheer Vinukonda
Assignee: Sudheer Vinukonda
 Fix For: 5.3.0


 With 100 CONT handling enabled in our ats5 production hosts, we are seeing 
 the below seg fault.
 {code}
 (gdb) bt
 #0  0x00316e432925 in raise (sig=6) at 
 ../nptl/sysdeps/unix/sysv/linux/raise.c:64
 #1  0x00316e434105 in abort () at abort.c:92
 #2  0x2b6869944458 in ink_die_die_die (retval=1) at ink_error.cc:43
 #3  0x2b6869944525 in ink_fatal_va(int, const char *, typedef 
 __va_list_tag __va_list_tag *) (return_code=1, 
 message_format=0x2b68699518d8 %s:%d: failed assert `%s`, 
 ap=0x2b686bb1bf00) at ink_error.cc:65
 #4  0x2b68699445ee in ink_fatal (return_code=1, 
 message_format=0x2b68699518d8 %s:%d: failed assert `%s`) at ink_error.cc:73
 #5  0x2b6869943160 in _ink_assert (expression=0x7a984e buf_index_inout 
 == NULL, file=0x7a96e3 MIME.cc, line=2676) at ink_assert.cc:37
 #6  0x0068212d in mime_mem_print (src_d=0x2b686bb1c090 HTTP/1.1, 
 src_l=8, buf_start=0x0, buf_length=-1811908575, 
 buf_index_inout=0x2b686bb1c1bc, buf_chars_to_skip_inout=0x2b686bb1c1b8) 
 at MIME.cc:2676
 #7  0x00671df3 in http_version_print (version=65537, buf=0x0, 
 bufsize=-1811908575, bufindex=0x2b686bb1c1bc, dumpoffset=0x2b686bb1c1b8)
 at HTTP.cc:415
 #8  0x006724fb in http_hdr_print (heap=0x2b6881019010, 
 hdr=0x2b6881019098, buf=0x0, bufsize=-1811908575, bufindex=0x2b686bb1c1bc, 
 dumpoffset=0x2b686bb1c1b8) at HTTP.cc:539
 #9  0x004f259b in HTTPHdr::print (this=0x2b68ac06f058, buf=0x0, 
 bufsize=-1811908575, bufindex=0x2b686bb1c1bc, dumpoffset=0x2b686bb1c1b8)
 at ./hdrs/HTTP.h:897
 #10 0x005da903 in HttpSM::write_header_into_buffer 
 (this=0x2b68ac06e910, h=0x2b68ac06f058, b=0x2f163e0) at HttpSM.cc:5554
 #11 0x005e5129 in HttpSM::write_response_header_into_buffer 
 (this=0x2b68ac06e910, h=0x2b68ac06f058, b=0x2f163e0) at HttpSM.h:594
 #12 0x005dcef2 in HttpSM::setup_server_transfer (this=0x2b68ac06e910) 
 at HttpSM.cc:6295
 #13 0x005cd336 in HttpSM::handle_api_return (this=0x2b68ac06e910) at 
 HttpSM.cc:1554
 #14 0x005cd040 in HttpSM::state_api_callout (this=0x2b68ac06e910, 
 event=0, data=0x0) at HttpSM.cc:1446
 #15 0x005d89b7 in HttpSM::do_api_callout_internal 
 (this=0x2b68ac06e910) at HttpSM.cc:4858
 #16 0x005dfdec in HttpSM::set_next_state (this=0x2b68ac06e910) at 
 HttpSM.cc:7115
 #17 0x005df0ec in HttpSM::call_transact_and_set_next_state 
 (this=0x2b68ac06e910, f=0) at HttpSM.cc:6900
 #18 0x005cd1e3 in HttpSM::handle_api_return (this=0x2b68ac06e910) at 
 HttpSM.cc:1514
 #19 0x005cd040 in HttpSM::state_api_callout (this=0x2b68ac06e910, 
 event=6, data=0x0) at HttpSM.cc:1446
 #20 0x005cc7d6 in HttpSM::state_api_callback (this=0x2b68ac06e910, 
 event=6, data=0x0) at HttpSM.cc:1264
 #21 0x00515bb5 in TSHttpTxnReenable (txnp=0x2b68ac06e910, 
 event=TS_EVENT_HTTP_CONTINUE) at InkAPI.cc:5554
 #22 0x2b68806f945b in transform_plugin 
 (event=TS_EVENT_HTTP_READ_RESPONSE_HDR, edata=0x2b68ac06e910) at gzip.cc:693
 #23 0x0050a40c in INKContInternal::handle_event (this=0x2ea2bb0, 
 event=60006, edata=0x2b68ac06e910) at InkAPI.cc:1000
 #24 0x004f597e in Continuation::handleEvent (this=0x2ea2bb0, 
 event=60006, data=0x2b68ac06e910) at 
 ../iocore/eventsystem/I_Continuation.h:146
 #25 0x0050ac53 in APIHook::invoke (this=0x2ea3c80, event=60006, 
 edata=0x2b68ac06e910) at InkAPI.cc:1219
 #26 0x005ccda9 in HttpSM::state_api_callout (this=0x2b68ac06e910, 
 event=0, data=0x0) at HttpSM.cc:1371
 #27 0x005d89b7 in HttpSM::do_api_callout_internal 
 (this=0x2b68ac06e910) at HttpSM.cc:4858
 #28 0x005e54fc in HttpSM::do_api_callout (this=0x2b68ac06e910) at 
 HttpSM.cc:448
 #29 0x005ce277 in HttpSM::state_read_server_response_header 
 (this=0x2b68ac06e910, event=100, data=0x2b68a802afc0) at HttpSM.cc:1861
 #30 0x005d0582 in HttpSM::main_handler (this=0x2b68ac06e910, 
 event=100, data=0x2b68a802afc0) at HttpSM.cc:2507
 #31 0x004f597e in Continuation::handleEvent (this=0x2b68ac06e910, 
 event=100, data=0x2b68a802afc0) at ../iocore/eventsystem/I_Continuation.h:146
 #32 0x00531d7d in PluginVC::process_read_side (this=0x2b68a802aec0, 
 other_side_call=true) at PluginVC.cc:671
 #33 0x00531612 in PluginVC::process_write_side (this=0x2b68a802b0a8, 
 

[jira] [Updated] (TS-3285) Seg fault when 100 CONT handling is enabled

2015-01-23 Thread Sudheer Vinukonda (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sudheer Vinukonda updated TS-3285:
--
Description: 
With 100 CONT handling enabled in our ats5 production hosts, we are seeing the 
below seg fault.

{code}
(gdb) bt
#0  0x00316e432925 in raise (sig=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00316e434105 in abort () at abort.c:92
#2  0x2b6869944458 in ink_die_die_die (retval=1) at ink_error.cc:43
#3  0x2b6869944525 in ink_fatal_va(int, const char *, typedef __va_list_tag 
__va_list_tag *) (return_code=1, 
message_format=0x2b68699518d8 %s:%d: failed assert `%s`, 
ap=0x2b686bb1bf00) at ink_error.cc:65
#4  0x2b68699445ee in ink_fatal (return_code=1, 
message_format=0x2b68699518d8 %s:%d: failed assert `%s`) at ink_error.cc:73
#5  0x2b6869943160 in _ink_assert (expression=0x7a984e buf_index_inout == 
NULL, file=0x7a96e3 MIME.cc, line=2676) at ink_assert.cc:37
#6  0x0068212d in mime_mem_print (src_d=0x2b686bb1c090 HTTP/1.1, 
src_l=8, buf_start=0x0, buf_length=-1811908575, 
buf_index_inout=0x2b686bb1c1bc, buf_chars_to_skip_inout=0x2b686bb1c1b8) at 
MIME.cc:2676
#7  0x00671df3 in http_version_print (version=65537, buf=0x0, 
bufsize=-1811908575, bufindex=0x2b686bb1c1bc, dumpoffset=0x2b686bb1c1b8)
at HTTP.cc:415
#8  0x006724fb in http_hdr_print (heap=0x2b6881019010, 
hdr=0x2b6881019098, buf=0x0, bufsize=-1811908575, bufindex=0x2b686bb1c1bc, 
dumpoffset=0x2b686bb1c1b8) at HTTP.cc:539
#9  0x004f259b in HTTPHdr::print (this=0x2b68ac06f058, buf=0x0, 
bufsize=-1811908575, bufindex=0x2b686bb1c1bc, dumpoffset=0x2b686bb1c1b8)
at ./hdrs/HTTP.h:897
#10 0x005da903 in HttpSM::write_header_into_buffer 
(this=0x2b68ac06e910, h=0x2b68ac06f058, b=0x2f163e0) at HttpSM.cc:5554
#11 0x005e5129 in HttpSM::write_response_header_into_buffer 
(this=0x2b68ac06e910, h=0x2b68ac06f058, b=0x2f163e0) at HttpSM.h:594
#12 0x005dcef2 in HttpSM::setup_server_transfer (this=0x2b68ac06e910) 
at HttpSM.cc:6295
#13 0x005cd336 in HttpSM::handle_api_return (this=0x2b68ac06e910) at 
HttpSM.cc:1554
#14 0x005cd040 in HttpSM::state_api_callout (this=0x2b68ac06e910, 
event=0, data=0x0) at HttpSM.cc:1446
#15 0x005d89b7 in HttpSM::do_api_callout_internal (this=0x2b68ac06e910) 
at HttpSM.cc:4858
#16 0x005dfdec in HttpSM::set_next_state (this=0x2b68ac06e910) at 
HttpSM.cc:7115
#17 0x005df0ec in HttpSM::call_transact_and_set_next_state 
(this=0x2b68ac06e910, f=0) at HttpSM.cc:6900
#18 0x005cd1e3 in HttpSM::handle_api_return (this=0x2b68ac06e910) at 
HttpSM.cc:1514
#19 0x005cd040 in HttpSM::state_api_callout (this=0x2b68ac06e910, 
event=6, data=0x0) at HttpSM.cc:1446
#20 0x005cc7d6 in HttpSM::state_api_callback (this=0x2b68ac06e910, 
event=6, data=0x0) at HttpSM.cc:1264
#21 0x00515bb5 in TSHttpTxnReenable (txnp=0x2b68ac06e910, 
event=TS_EVENT_HTTP_CONTINUE) at InkAPI.cc:5554
#22 0x2b68806f945b in transform_plugin 
(event=TS_EVENT_HTTP_READ_RESPONSE_HDR, edata=0x2b68ac06e910) at gzip.cc:693
#23 0x0050a40c in INKContInternal::handle_event (this=0x2ea2bb0, 
event=60006, edata=0x2b68ac06e910) at InkAPI.cc:1000
#24 0x004f597e in Continuation::handleEvent (this=0x2ea2bb0, 
event=60006, data=0x2b68ac06e910) at ../iocore/eventsystem/I_Continuation.h:146
#25 0x0050ac53 in APIHook::invoke (this=0x2ea3c80, event=60006, 
edata=0x2b68ac06e910) at InkAPI.cc:1219
#26 0x005ccda9 in HttpSM::state_api_callout (this=0x2b68ac06e910, 
event=0, data=0x0) at HttpSM.cc:1371
#27 0x005d89b7 in HttpSM::do_api_callout_internal (this=0x2b68ac06e910) 
at HttpSM.cc:4858
#28 0x005e54fc in HttpSM::do_api_callout (this=0x2b68ac06e910) at 
HttpSM.cc:448
#29 0x005ce277 in HttpSM::state_read_server_response_header 
(this=0x2b68ac06e910, event=100, data=0x2b68a802afc0) at HttpSM.cc:1861
#30 0x005d0582 in HttpSM::main_handler (this=0x2b68ac06e910, event=100, 
data=0x2b68a802afc0) at HttpSM.cc:2507
#31 0x004f597e in Continuation::handleEvent (this=0x2b68ac06e910, 
event=100, data=0x2b68a802afc0) at ../iocore/eventsystem/I_Continuation.h:146
#32 0x00531d7d in PluginVC::process_read_side (this=0x2b68a802aec0, 
other_side_call=true) at PluginVC.cc:671
#33 0x00531612 in PluginVC::process_write_side (this=0x2b68a802b0a8, 
other_side_call=false) at PluginVC.cc:567
#34 0x005303b4 in PluginVC::main_handler (this=0x2b68a802b0a8, event=1, 
data=0x2b68a80644f0) at PluginVC.cc:212
(gdb) f 12
#12 0x005dcef2 in HttpSM::setup_server_transfer (this=0x2b68ac06e910) 
at HttpSM.cc:6295
6295HttpSM.cc: No such file or directory.
in HttpSM.cc
(gdb) info local
__func__ = setup_server_transfer
hdr_size = 7902907
buf = 0x2f163e0
action = TCA_PASSTHRU_DECHUNKED_CONTENT
alloc_index = 6
nbytes = 47727483405024

[jira] [Updated] (TS-3285) Seg fault when 100 CONT handling is enabled

2015-01-09 Thread Sudheer Vinukonda (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sudheer Vinukonda updated TS-3285:
--
Affects Version/s: 5.0.1
Fix Version/s: 5.3.0

 Seg fault when 100 CONT handling is enabled
 ---

 Key: TS-3285
 URL: https://issues.apache.org/jira/browse/TS-3285
 Project: Traffic Server
  Issue Type: Bug
  Components: Core
Affects Versions: 5.0.1
Reporter: Sudheer Vinukonda
 Fix For: 5.3.0


 When 100 CONT handling is enabled in our ats5 production hosts, we are seeing 
 the below seg fault.
 {code}
 (gdb) bt
 #0  0x00316e432925 in raise (sig=6) at 
 ../nptl/sysdeps/unix/sysv/linux/raise.c:64
 #1  0x00316e434105 in abort () at abort.c:92
 #2  0x2b6869944458 in ink_die_die_die (retval=1) at ink_error.cc:43
 #3  0x2b6869944525 in ink_fatal_va(int, const char *, typedef 
 __va_list_tag __va_list_tag *) (return_code=1, 
 message_format=0x2b68699518d8 %s:%d: failed assert `%s`, 
 ap=0x2b686bb1bf00) at ink_error.cc:65
 #4  0x2b68699445ee in ink_fatal (return_code=1, 
 message_format=0x2b68699518d8 %s:%d: failed assert `%s`) at ink_error.cc:73
 #5  0x2b6869943160 in _ink_assert (expression=0x7a984e buf_index_inout 
 == NULL, file=0x7a96e3 MIME.cc, line=2676) at ink_assert.cc:37
 #6  0x0068212d in mime_mem_print (src_d=0x2b686bb1c090 HTTP/1.1, 
 src_l=8, buf_start=0x0, buf_length=-1811908575, 
 buf_index_inout=0x2b686bb1c1bc, buf_chars_to_skip_inout=0x2b686bb1c1b8) 
 at MIME.cc:2676
 #7  0x00671df3 in http_version_print (version=65537, buf=0x0, 
 bufsize=-1811908575, bufindex=0x2b686bb1c1bc, dumpoffset=0x2b686bb1c1b8)
 at HTTP.cc:415
 #8  0x006724fb in http_hdr_print (heap=0x2b6881019010, 
 hdr=0x2b6881019098, buf=0x0, bufsize=-1811908575, bufindex=0x2b686bb1c1bc, 
 dumpoffset=0x2b686bb1c1b8) at HTTP.cc:539
 #9  0x004f259b in HTTPHdr::print (this=0x2b68ac06f058, buf=0x0, 
 bufsize=-1811908575, bufindex=0x2b686bb1c1bc, dumpoffset=0x2b686bb1c1b8)
 at ./hdrs/HTTP.h:897
 #10 0x005da903 in HttpSM::write_header_into_buffer 
 (this=0x2b68ac06e910, h=0x2b68ac06f058, b=0x2f163e0) at HttpSM.cc:5554
 #11 0x005e5129 in HttpSM::write_response_header_into_buffer 
 (this=0x2b68ac06e910, h=0x2b68ac06f058, b=0x2f163e0) at HttpSM.h:594
 #12 0x005dcef2 in HttpSM::setup_server_transfer (this=0x2b68ac06e910) 
 at HttpSM.cc:6295
 #13 0x005cd336 in HttpSM::handle_api_return (this=0x2b68ac06e910) at 
 HttpSM.cc:1554
 #14 0x005cd040 in HttpSM::state_api_callout (this=0x2b68ac06e910, 
 event=0, data=0x0) at HttpSM.cc:1446
 #15 0x005d89b7 in HttpSM::do_api_callout_internal 
 (this=0x2b68ac06e910) at HttpSM.cc:4858
 #16 0x005dfdec in HttpSM::set_next_state (this=0x2b68ac06e910) at 
 HttpSM.cc:7115
 #17 0x005df0ec in HttpSM::call_transact_and_set_next_state 
 (this=0x2b68ac06e910, f=0) at HttpSM.cc:6900
 #18 0x005cd1e3 in HttpSM::handle_api_return (this=0x2b68ac06e910) at 
 HttpSM.cc:1514
 #19 0x005cd040 in HttpSM::state_api_callout (this=0x2b68ac06e910, 
 event=6, data=0x0) at HttpSM.cc:1446
 #20 0x005cc7d6 in HttpSM::state_api_callback (this=0x2b68ac06e910, 
 event=6, data=0x0) at HttpSM.cc:1264
 #21 0x00515bb5 in TSHttpTxnReenable (txnp=0x2b68ac06e910, 
 event=TS_EVENT_HTTP_CONTINUE) at InkAPI.cc:5554
 #22 0x2b68806f945b in transform_plugin 
 (event=TS_EVENT_HTTP_READ_RESPONSE_HDR, edata=0x2b68ac06e910) at gzip.cc:693
 #23 0x0050a40c in INKContInternal::handle_event (this=0x2ea2bb0, 
 event=60006, edata=0x2b68ac06e910) at InkAPI.cc:1000
 #24 0x004f597e in Continuation::handleEvent (this=0x2ea2bb0, 
 event=60006, data=0x2b68ac06e910) at 
 ../iocore/eventsystem/I_Continuation.h:146
 #25 0x0050ac53 in APIHook::invoke (this=0x2ea3c80, event=60006, 
 edata=0x2b68ac06e910) at InkAPI.cc:1219
 #26 0x005ccda9 in HttpSM::state_api_callout (this=0x2b68ac06e910, 
 event=0, data=0x0) at HttpSM.cc:1371
 #27 0x005d89b7 in HttpSM::do_api_callout_internal 
 (this=0x2b68ac06e910) at HttpSM.cc:4858
 #28 0x005e54fc in HttpSM::do_api_callout (this=0x2b68ac06e910) at 
 HttpSM.cc:448
 #29 0x005ce277 in HttpSM::state_read_server_response_header 
 (this=0x2b68ac06e910, event=100, data=0x2b68a802afc0) at HttpSM.cc:1861
 #30 0x005d0582 in HttpSM::main_handler (this=0x2b68ac06e910, 
 event=100, data=0x2b68a802afc0) at HttpSM.cc:2507
 #31 0x004f597e in Continuation::handleEvent (this=0x2b68ac06e910, 
 event=100, data=0x2b68a802afc0) at ../iocore/eventsystem/I_Continuation.h:146
 #32 0x00531d7d in PluginVC::process_read_side (this=0x2b68a802aec0, 
 other_side_call=true) at PluginVC.cc:671
 #33 0x00531612 in PluginVC::process_write_side (this=0x2b68a802b0a8, 
 

[jira] [Updated] (TS-3285) Seg fault when 100 CONT handling is enabled

2015-01-09 Thread Sudheer Vinukonda (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sudheer Vinukonda updated TS-3285:
--
Description: 
With 100 CONT handling enabled in our ats5 production hosts, we are seeing the 
below seg fault.

{code}
(gdb) bt
#0  0x00316e432925 in raise (sig=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00316e434105 in abort () at abort.c:92
#2  0x2b6869944458 in ink_die_die_die (retval=1) at ink_error.cc:43
#3  0x2b6869944525 in ink_fatal_va(int, const char *, typedef __va_list_tag 
__va_list_tag *) (return_code=1, 
message_format=0x2b68699518d8 %s:%d: failed assert `%s`, 
ap=0x2b686bb1bf00) at ink_error.cc:65
#4  0x2b68699445ee in ink_fatal (return_code=1, 
message_format=0x2b68699518d8 %s:%d: failed assert `%s`) at ink_error.cc:73
#5  0x2b6869943160 in _ink_assert (expression=0x7a984e buf_index_inout == 
NULL, file=0x7a96e3 MIME.cc, line=2676) at ink_assert.cc:37
#6  0x0068212d in mime_mem_print (src_d=0x2b686bb1c090 HTTP/1.1, 
src_l=8, buf_start=0x0, buf_length=-1811908575, 
buf_index_inout=0x2b686bb1c1bc, buf_chars_to_skip_inout=0x2b686bb1c1b8) at 
MIME.cc:2676
#7  0x00671df3 in http_version_print (version=65537, buf=0x0, 
bufsize=-1811908575, bufindex=0x2b686bb1c1bc, dumpoffset=0x2b686bb1c1b8)
at HTTP.cc:415
#8  0x006724fb in http_hdr_print (heap=0x2b6881019010, 
hdr=0x2b6881019098, buf=0x0, bufsize=-1811908575, bufindex=0x2b686bb1c1bc, 
dumpoffset=0x2b686bb1c1b8) at HTTP.cc:539
#9  0x004f259b in HTTPHdr::print (this=0x2b68ac06f058, buf=0x0, 
bufsize=-1811908575, bufindex=0x2b686bb1c1bc, dumpoffset=0x2b686bb1c1b8)
at ./hdrs/HTTP.h:897
#10 0x005da903 in HttpSM::write_header_into_buffer 
(this=0x2b68ac06e910, h=0x2b68ac06f058, b=0x2f163e0) at HttpSM.cc:5554
#11 0x005e5129 in HttpSM::write_response_header_into_buffer 
(this=0x2b68ac06e910, h=0x2b68ac06f058, b=0x2f163e0) at HttpSM.h:594
#12 0x005dcef2 in HttpSM::setup_server_transfer (this=0x2b68ac06e910) 
at HttpSM.cc:6295
#13 0x005cd336 in HttpSM::handle_api_return (this=0x2b68ac06e910) at 
HttpSM.cc:1554
#14 0x005cd040 in HttpSM::state_api_callout (this=0x2b68ac06e910, 
event=0, data=0x0) at HttpSM.cc:1446
#15 0x005d89b7 in HttpSM::do_api_callout_internal (this=0x2b68ac06e910) 
at HttpSM.cc:4858
#16 0x005dfdec in HttpSM::set_next_state (this=0x2b68ac06e910) at 
HttpSM.cc:7115
#17 0x005df0ec in HttpSM::call_transact_and_set_next_state 
(this=0x2b68ac06e910, f=0) at HttpSM.cc:6900
#18 0x005cd1e3 in HttpSM::handle_api_return (this=0x2b68ac06e910) at 
HttpSM.cc:1514
#19 0x005cd040 in HttpSM::state_api_callout (this=0x2b68ac06e910, 
event=6, data=0x0) at HttpSM.cc:1446
#20 0x005cc7d6 in HttpSM::state_api_callback (this=0x2b68ac06e910, 
event=6, data=0x0) at HttpSM.cc:1264
#21 0x00515bb5 in TSHttpTxnReenable (txnp=0x2b68ac06e910, 
event=TS_EVENT_HTTP_CONTINUE) at InkAPI.cc:5554
#22 0x2b68806f945b in transform_plugin 
(event=TS_EVENT_HTTP_READ_RESPONSE_HDR, edata=0x2b68ac06e910) at gzip.cc:693
#23 0x0050a40c in INKContInternal::handle_event (this=0x2ea2bb0, 
event=60006, edata=0x2b68ac06e910) at InkAPI.cc:1000
#24 0x004f597e in Continuation::handleEvent (this=0x2ea2bb0, 
event=60006, data=0x2b68ac06e910) at ../iocore/eventsystem/I_Continuation.h:146
#25 0x0050ac53 in APIHook::invoke (this=0x2ea3c80, event=60006, 
edata=0x2b68ac06e910) at InkAPI.cc:1219
#26 0x005ccda9 in HttpSM::state_api_callout (this=0x2b68ac06e910, 
event=0, data=0x0) at HttpSM.cc:1371
#27 0x005d89b7 in HttpSM::do_api_callout_internal (this=0x2b68ac06e910) 
at HttpSM.cc:4858
#28 0x005e54fc in HttpSM::do_api_callout (this=0x2b68ac06e910) at 
HttpSM.cc:448
#29 0x005ce277 in HttpSM::state_read_server_response_header 
(this=0x2b68ac06e910, event=100, data=0x2b68a802afc0) at HttpSM.cc:1861
#30 0x005d0582 in HttpSM::main_handler (this=0x2b68ac06e910, event=100, 
data=0x2b68a802afc0) at HttpSM.cc:2507
#31 0x004f597e in Continuation::handleEvent (this=0x2b68ac06e910, 
event=100, data=0x2b68a802afc0) at ../iocore/eventsystem/I_Continuation.h:146
#32 0x00531d7d in PluginVC::process_read_side (this=0x2b68a802aec0, 
other_side_call=true) at PluginVC.cc:671
#33 0x00531612 in PluginVC::process_write_side (this=0x2b68a802b0a8, 
other_side_call=false) at PluginVC.cc:567
#34 0x005303b4 in PluginVC::main_handler (this=0x2b68a802b0a8, event=1, 
data=0x2b68a80644f0) at PluginVC.cc:212
(gdb) f 12
#12 0x005dcef2 in HttpSM::setup_server_transfer (this=0x2b68ac06e910) 
at HttpSM.cc:6295
6295HttpSM.cc: No such file or directory.
in HttpSM.cc
(gdb) info local
__func__ = setup_server_transfer
hdr_size = 7902907
buf = 0x2f163e0
action = TCA_PASSTHRU_DECHUNKED_CONTENT
alloc_index = 6
nbytes = 47727483405024

[jira] [Updated] (TS-3285) Seg fault when 100 CONT handling is enabled

2015-01-09 Thread Sudheer Vinukonda (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sudheer Vinukonda updated TS-3285:
--
Description: 
When 100 CONT handling is enabled in our ats5 production hosts, we are seeing 
the below seg fault.

{code}
(gdb) bt
#0  0x00316e432925 in raise (sig=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00316e434105 in abort () at abort.c:92
#2  0x2b6869944458 in ink_die_die_die (retval=1) at ink_error.cc:43
#3  0x2b6869944525 in ink_fatal_va(int, const char *, typedef __va_list_tag 
__va_list_tag *) (return_code=1, 
message_format=0x2b68699518d8 %s:%d: failed assert `%s`, 
ap=0x2b686bb1bf00) at ink_error.cc:65
#4  0x2b68699445ee in ink_fatal (return_code=1, 
message_format=0x2b68699518d8 %s:%d: failed assert `%s`) at ink_error.cc:73
#5  0x2b6869943160 in _ink_assert (expression=0x7a984e buf_index_inout == 
NULL, file=0x7a96e3 MIME.cc, line=2676) at ink_assert.cc:37
#6  0x0068212d in mime_mem_print (src_d=0x2b686bb1c090 HTTP/1.1, 
src_l=8, buf_start=0x0, buf_length=-1811908575, 
buf_index_inout=0x2b686bb1c1bc, buf_chars_to_skip_inout=0x2b686bb1c1b8) at 
MIME.cc:2676
#7  0x00671df3 in http_version_print (version=65537, buf=0x0, 
bufsize=-1811908575, bufindex=0x2b686bb1c1bc, dumpoffset=0x2b686bb1c1b8)
at HTTP.cc:415
#8  0x006724fb in http_hdr_print (heap=0x2b6881019010, 
hdr=0x2b6881019098, buf=0x0, bufsize=-1811908575, bufindex=0x2b686bb1c1bc, 
dumpoffset=0x2b686bb1c1b8) at HTTP.cc:539
#9  0x004f259b in HTTPHdr::print (this=0x2b68ac06f058, buf=0x0, 
bufsize=-1811908575, bufindex=0x2b686bb1c1bc, dumpoffset=0x2b686bb1c1b8)
at ./hdrs/HTTP.h:897
#10 0x005da903 in HttpSM::write_header_into_buffer 
(this=0x2b68ac06e910, h=0x2b68ac06f058, b=0x2f163e0) at HttpSM.cc:5554
#11 0x005e5129 in HttpSM::write_response_header_into_buffer 
(this=0x2b68ac06e910, h=0x2b68ac06f058, b=0x2f163e0) at HttpSM.h:594
#12 0x005dcef2 in HttpSM::setup_server_transfer (this=0x2b68ac06e910) 
at HttpSM.cc:6295
#13 0x005cd336 in HttpSM::handle_api_return (this=0x2b68ac06e910) at 
HttpSM.cc:1554
#14 0x005cd040 in HttpSM::state_api_callout (this=0x2b68ac06e910, 
event=0, data=0x0) at HttpSM.cc:1446
#15 0x005d89b7 in HttpSM::do_api_callout_internal (this=0x2b68ac06e910) 
at HttpSM.cc:4858
#16 0x005dfdec in HttpSM::set_next_state (this=0x2b68ac06e910) at 
HttpSM.cc:7115
#17 0x005df0ec in HttpSM::call_transact_and_set_next_state 
(this=0x2b68ac06e910, f=0) at HttpSM.cc:6900
#18 0x005cd1e3 in HttpSM::handle_api_return (this=0x2b68ac06e910) at 
HttpSM.cc:1514
#19 0x005cd040 in HttpSM::state_api_callout (this=0x2b68ac06e910, 
event=6, data=0x0) at HttpSM.cc:1446
#20 0x005cc7d6 in HttpSM::state_api_callback (this=0x2b68ac06e910, 
event=6, data=0x0) at HttpSM.cc:1264
#21 0x00515bb5 in TSHttpTxnReenable (txnp=0x2b68ac06e910, 
event=TS_EVENT_HTTP_CONTINUE) at InkAPI.cc:5554
#22 0x2b68806f945b in transform_plugin 
(event=TS_EVENT_HTTP_READ_RESPONSE_HDR, edata=0x2b68ac06e910) at gzip.cc:693
#23 0x0050a40c in INKContInternal::handle_event (this=0x2ea2bb0, 
event=60006, edata=0x2b68ac06e910) at InkAPI.cc:1000
#24 0x004f597e in Continuation::handleEvent (this=0x2ea2bb0, 
event=60006, data=0x2b68ac06e910) at ../iocore/eventsystem/I_Continuation.h:146
#25 0x0050ac53 in APIHook::invoke (this=0x2ea3c80, event=60006, 
edata=0x2b68ac06e910) at InkAPI.cc:1219
#26 0x005ccda9 in HttpSM::state_api_callout (this=0x2b68ac06e910, 
event=0, data=0x0) at HttpSM.cc:1371
#27 0x005d89b7 in HttpSM::do_api_callout_internal (this=0x2b68ac06e910) 
at HttpSM.cc:4858
#28 0x005e54fc in HttpSM::do_api_callout (this=0x2b68ac06e910) at 
HttpSM.cc:448
#29 0x005ce277 in HttpSM::state_read_server_response_header 
(this=0x2b68ac06e910, event=100, data=0x2b68a802afc0) at HttpSM.cc:1861
#30 0x005d0582 in HttpSM::main_handler (this=0x2b68ac06e910, event=100, 
data=0x2b68a802afc0) at HttpSM.cc:2507
#31 0x004f597e in Continuation::handleEvent (this=0x2b68ac06e910, 
event=100, data=0x2b68a802afc0) at ../iocore/eventsystem/I_Continuation.h:146
#32 0x00531d7d in PluginVC::process_read_side (this=0x2b68a802aec0, 
other_side_call=true) at PluginVC.cc:671
#33 0x00531612 in PluginVC::process_write_side (this=0x2b68a802b0a8, 
other_side_call=false) at PluginVC.cc:567
#34 0x005303b4 in PluginVC::main_handler (this=0x2b68a802b0a8, event=1, 
data=0x2b68a80644f0) at PluginVC.cc:212
(gdb) f 12
#12 0x005dcef2 in HttpSM::setup_server_transfer (this=0x2b68ac06e910) 
at HttpSM.cc:6295
6295HttpSM.cc: No such file or directory.
in HttpSM.cc
(gdb) info local
__func__ = setup_server_transfer
hdr_size = 7902907
buf = 0x2f163e0
action = TCA_PASSTHRU_DECHUNKED_CONTENT
alloc_index = 6
nbytes = 47727483405024