You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "David Carlin (JIRA)" <ji...@apache.org> on 2013/08/01 01:13:48 UTC

[jira] [Commented] (TS-2051) ATS crashing shortly after starting when SSL is enabled

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

David Carlin commented on TS-2051:
----------------------------------

Results of my git bisect (thanks bcall & zwoop!)

{quote}
$ git bisect bad
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[93e14b254b5a2a834f708cff71fa8dd7223791d3] TS-1155: POST requests that are chunked encoding hang when going forward to origin over SSL


$ git bisect log
git bisect start
# bad: [13347078c5bd70e806ae3f297f4a5ab0515f26d3] Always generate compiler debug info on Darwin
git bisect bad 13347078c5bd70e806ae3f297f4a5ab0515f26d3
# good: [806cc0614403947cb10de0beabd6ea1c6de7f510] Fix the version number.
git bisect good 806cc0614403947cb10de0beabd6ea1c6de7f510
# good: [84446dc2368915fd3df75e04136af91d1299d11e] Update 3.1.4 release date.
git bisect good 84446dc2368915fd3df75e04136af91d1299d11e
# good: [84446dc2368915fd3df75e04136af91d1299d11e] Update 3.1.4 release date.
git bisect good 84446dc2368915fd3df75e04136af91d1299d11e
# bad: [f41323e010480a7e206c680b3fc3b06ac8a4675a] Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/trafficserver
git bisect bad f41323e010480a7e206c680b3fc3b06ac8a4675a
# good: [962d864851332858a202f8c14a9ec671ec4e9a6c] remove MakeErrorBodyVA, enable body_factory by default
git bisect good 962d864851332858a202f8c14a9ec671ec4e9a6c
# good: [d29918abf1ce4cc5fab4048a8a831729deb3f1c4] TS-1587 make check fails on the esi plugin
git bisect good d29918abf1ce4cc5fab4048a8a831729deb3f1c4
# bad: [52af852d4540d0fe4c27e2fdc3c0119aa748138c] TS-1731 fix Lua plugin compile on Ubuntu 12.10
git bisect bad 52af852d4540d0fe4c27e2fdc3c0119aa748138c
# skip: [54cc854e24c34be152b863e957275c7bf0cbb884] TS-1683: channel_stats doesn't compile under fBSD
git bisect skip 54cc854e24c34be152b863e957275c7bf0cbb884
# good: [4397abf76c4fbb7babccc9cc11b0456f2a7a1516] TS-1006: Add a new wrapper: ink_atomic_decrement()
git bisect good 4397abf76c4fbb7babccc9cc11b0456f2a7a1516
# good: [012df52981084d3cd82d1e8aa87074683dd22594] Revert "cleanup ink_thread.h for TS-1698"
git bisect good 012df52981084d3cd82d1e8aa87074683dd22594
# good: [02414852f57907469d4cced9bf93f4d95900261f] TS-1634: reimplement Lua state management to support reload
git bisect good 02414852f57907469d4cced9bf93f4d95900261f
# bad: [44aae027eb3a6879b8f8add1f79fed7170aae5ce] TS-1557: update ua_begin_write
git bisect bad 44aae027eb3a6879b8f8add1f79fed7170aae5ce
# good: [8a9ad20522e5993cd3b10e6f30326db0e1e4e47c] TS-1723: Remove @LIBICONV@ from Makefile.ams
git bisect good 8a9ad20522e5993cd3b10e6f30326db0e1e4e47c
# bad: [a7dec953238d644c43b08c75a06f5b7bbc4b1019] TS-1320 Reading from SSL origin can starve sending data to client
git bisect bad a7dec953238d644c43b08c75a06f5b7bbc4b1019
{quote}
                
> ATS crashing shortly after starting when SSL is enabled
> -------------------------------------------------------
>
>                 Key: TS-2051
>                 URL: https://issues.apache.org/jira/browse/TS-2051
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core, SSL
>            Reporter: David Carlin
>            Assignee: Leif Hedstrom
>            Priority: Blocker
>             Fix For: 3.3.5
>
>
> We went to test master because it contains a fix for TS-2035.  It seems to crash if SSL is enabled shortly after startup.  The filenames for the core files indicate they are from SSL threads.
> CONFIG proxy.config.http.server_ports STRING 80 81 82 83 84 85 90 80:ipv6 81:ipv6 443:ipv6:ssl 444:ipv6:ssl 443:ssl 444:ssl 445:ssl 446:ssl 447:ssl 448:ssl 490:ssl
> Stack trace:
> {quote}
> /home/y/bin/traffic_server - STACK TRACE:
> /lib64/libpthread.so.0(+0x3f8240f500)[0x2aafe95f3500]
> /home/y/bin/traffic_server(_ZN10HttpTunnel12producer_runEP18HttpTunnelProducer+0x25f)[0x568daf]
> /home/y/bin/traffic_server(_ZN10HttpTunnel10tunnel_runEP18HttpTunnelProducer+0xd9)[0x569f09]
> /home/y/bin/traffic_server(_ZN6HttpSM23setup_internal_transferEMS_FiiPvE+0x632)[0x526172]
> /home/y/bin/traffic_server(_ZN6HttpSM17handle_api_returnEv+0x487)[0x532357]
> /home/y/bin/traffic_server(_ZN6HttpSM17state_api_calloutEiPv+0x2b0)[0x529220]
> /home/y/bin/traffic_server(_ZN6HttpSM18state_api_callbackEiPv+0x8a)[0x52f1ba]
> /home/y/bin/traffic_server(TSHttpTxnReenable+0x404)[0x4b5ad4]
> /home/y/libexec64/trafficserver/header_filter.so(+0x2d5d)[0x2ab03679ad5d]
> /home/y/bin/traffic_server(_ZN6HttpSM17state_api_calloutEiPv+0x114)[0x529084]
> /home/y/bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0x114)[0x530714]
> /home/y/bin/traffic_server(_ZN6HttpSM17handle_api_returnEv+0x3aa)[0x53227a]
> /home/y/bin/traffic_server(_ZN6HttpSM17state_api_calloutEiPv+0x2b0)[0x529220]
> /home/y/bin/traffic_server(_ZN6HttpSM18state_api_callbackEiPv+0x8a)[0x52f1ba]
> /home/y/bin/traffic_server(TSHttpTxnReenable+0x404)[0x4b5ad4]
> /home/y/libexec64/trafficserver/header_filter.so(+0x2d5d)[0x2ab03679ad5d]
> /home/y/bin/traffic_server(_ZN6HttpSM17state_api_calloutEiPv+0x114)[0x529084]
> /home/y/bin/traffic_server(_ZN6HttpSM33state_read_server_response_headerEiPv+0x390)[0x52c830]
> /home/y/bin/traffic_server(_ZN6HttpSM12main_handlerEiPv+0xd8)[0x52efc8]
> /home/y/bin/traffic_server(_ZN18UnixNetVConnection14readSignalDoneEiP10NetHandler+0x3d)[0x67fc3d]
> /home/y/bin/traffic_server(_ZN17SSLNetVConnection11net_read_ioEP10NetHandlerP7EThread+0xb91)[0x6704b1]
> /home/y/bin/traffic_server(_ZN10NetHandler12mainNetEventEiP5Event+0x1f2)[0x679632]
> /home/y/bin/traffic_server(_ZN7EThread13process_eventEP5Eventi+0x8f)[0x6a1aff]
> /home/y/bin/traffic_server(_ZN7EThread7executeEv+0x4a3)[0x6a24e3]
> /home/y/bin/traffic_server[0x6a099a]
> /lib64/libpthread.so.0(+0x3f82407851)[0x2aafe95eb851]
> /lib64/libc.so.6(clone+0x6d)[0x3f820e890d]
> {quote}
> Backtrace:
> {quote}
> #0  operator= (this=<value optimized out>, p=<value optimized out>) at ../../lib/ts/Ptr.h:425
> #1  clone_reader (this=<value optimized out>, p=<value optimized out>) at ../../iocore/eventsystem/P_IOBuffer.h:873
> #2  HttpTunnel::producer_run (this=<value optimized out>, p=<value optimized out>) at HttpTunnel.cc:831
> #3  0x0000000000569f09 in HttpTunnel::tunnel_run (this=0x2ba83d9425e8, p_arg=0x0) at HttpTunnel.cc:698
> #4  0x0000000000526172 in HttpSM::setup_internal_transfer (this=0x2ba83d940a50, handler_arg=(int (HttpSM::*)(HttpSM *, int, void *)) 0x5328d0 <HttpSM::tunnel_handler_cache_fill(int, void*)>) at HttpSM.cc:5872
> #5  0x0000000000532357 in HttpSM::handle_api_return (this=0x2ba83d940a50) at HttpSM.cc:1598
> #6  0x0000000000529220 in HttpSM::state_api_callout (this=0x2ba83d940a50, event=60000, data=0x0) at HttpSM.cc:1484
> #7  0x000000000052f1ba in HttpSM::state_api_callback (this=0x2ba83d940a50, event=60000, data=0x0) at HttpSM.cc:1303
> #8  0x00000000004b5ad4 in TSHttpTxnReenable (txnp=0x2ba83d940a50, event=TS_EVENT_HTTP_CONTINUE) at InkAPI.cc:5530
> #9  0x00002ba69a79ad5d in cont_header_filter (event=<value optimized out>, edata=0x2ba83d940a50) at header_filter.cc:90
> #10 0x0000000000529084 in HttpSM::state_api_callout (this=0x2ba83d940a50, event=<value optimized out>, data=<value optimized out>) at HttpSM.cc:1410
> #11 0x0000000000530714 in HttpSM::set_next_state (this=0x2ba83d940a50) at HttpSM.cc:7050
> #12 0x000000000053227a in HttpSM::handle_api_return (this=0x2ba83d940a50) at HttpSM.cc:1552
> #13 0x0000000000529220 in HttpSM::state_api_callout (this=0x2ba83d940a50, event=60000, data=0x0) at HttpSM.cc:1484
> #14 0x000000000052f1ba in HttpSM::state_api_callback (this=0x2ba83d940a50, event=60000, data=0x0) at HttpSM.cc:1303
> #15 0x00000000004b5ad4 in TSHttpTxnReenable (txnp=0x2ba83d940a50, event=TS_EVENT_HTTP_CONTINUE) at InkAPI.cc:5530
> #16 0x00002ba69a79ad5d in cont_header_filter (event=<value optimized out>, edata=0x2ba83d940a50) at header_filter.cc:90
> #17 0x0000000000529084 in HttpSM::state_api_callout (this=0x2ba83d940a50, event=<value optimized out>, data=<value optimized out>) at HttpSM.cc:1410
> #18 0x000000000052c830 in do_api_callout (this=0x2ba83d940a50, event=<value optimized out>, data=0x2ba6e000dcb8) at HttpSM.cc:504
> #19 HttpSM::state_read_server_response_header (this=0x2ba83d940a50, event=<value optimized out>, data=0x2ba6e000dcb8) at HttpSM.cc:1866
> #20 0x000000000052efc8 in HttpSM::main_handler (this=0x2ba83d940a50, event=102, data=0x2ba6e000dcb8) at HttpSM.cc:2501
> #21 0x000000000067fc3d in handleEvent (this=0x2ba6e000dbb0, event=<value optimized out>, nh=0x2ba66029bbf0) at ../../iocore/eventsystem/I_Continuation.h:146
> #22 read_signal_and_update (this=0x2ba6e000dbb0, event=<value optimized out>, nh=0x2ba66029bbf0) at UnixNetVConnection.cc:138
> #23 read_signal_done (this=0x2ba6e000dbb0, event=<value optimized out>, nh=0x2ba66029bbf0) at UnixNetVConnection.cc:168
> #24 UnixNetVConnection::readSignalDone (this=0x2ba6e000dbb0, event=<value optimized out>, nh=0x2ba66029bbf0) at UnixNetVConnection.cc:889
> #25 0x00000000006704b1 in SSLNetVConnection::net_read_io (this=0x2ba6e000dbb0, nh=0x2ba66029bbf0, lthread=0x2ba660298010) at SSLNetVConnection.cc:245
> #26 0x0000000000679632 in NetHandler::mainNetEvent (this=0x2ba66029bbf0, event=<value optimized out>, e=<value optimized out>) at UnixNet.cc:376
> #27 0x00000000006a1aff in handleEvent (this=0x2ba660298010, e=0x27959b0, calling_code=5) at I_Continuation.h:146
> #28 EThread::process_event (this=0x2ba660298010, e=0x27959b0, calling_code=5) at UnixEThread.cc:141
> #29 0x00000000006a24e3 in EThread::execute (this=0x2ba660298010) at UnixEThread.cc:265
> #30 0x00000000006a099a in spawn_thread_internal (a=0x2adec10) at Thread.cc:88
> #31 0x00002ba64c17b851 in start_thread () from /lib64/libpthread.so.0
> #32 0x0000003f820e890d in clone () from /lib64/libc.so.6
> {quote}

--
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