Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.2.0
-
None
-
None
Description
enable define INACTIVITY_TIMEOUT, Action::cancel_action will assert;because of inactivity_timeout will be used by two UnixNetVConnection. Why?
#0 0x0000003e38232885 in raise () from /lib64/libc.so.6
#1 0x0000003e38234065 in abort () from /lib64/libc.so.6
#2 0x0000003134c1cbf4 in ink_die_die_die (retval=1) at ink_error.cc:43
#3 0x0000003134c1ccc6 in ink_fatal_va(int, const char *, typedef __va_list_tag __va_list_tag *) (return_code=1,
message_format=0x3134c3a100 "%s:%d: failed assert `%s`", ap=0x7ffff59a7030) at ink_error.cc:65
#4 0x0000003134c1cd91 in ink_fatal (return_code=1, message_format=0x3134c3a100 "%s:%d: failed assert `%s`") at ink_error.cc:73
#5 0x0000003134c1bb54 in _ink_assert (expression=0x753564 "!c || c == continuation", file=0x753540 "../../iocore/eventsystem/I_Action.h", line=162)
at ink_assert.cc:38
#6 0x0000000000685231 in Action::cancel_action (this=0x7fffb800c890, c=0x7fffc4027bd0) at ../../iocore/eventsystem/I_Action.h:162
#7 0x00000000006852b4 in Event::cancel_action (this=0x7fffb800c890, c=0x7fffc4027bd0) at ../../iocore/eventsystem/P_UnixEvent.h:40
#8 0x00000000006bf574 in UnixNetVConnection::set_inactivity_timeout (this=0x7fffc4027bd0, timeout=30000000000) at P_UnixNetVConnection.h:284
#9 0x000000000057d8cd in HttpSM::attach_server_session (this=0x7fffed1db190, s=0x7fffcc03ff50) at HttpSM.cc:5214
#10 0x000000000056ad56 in _acquire_session (bucket=0xc94000, ip=0x7fffed1db828, hostname_hash=..., sm=0x7fffed1db190) at HttpSessionManager.cc:245
#11 0x000000000056b10f in HttpSessionManager::acquire_session (this=0xc93720, cont=0x7fffed1db190, ip=0x7fffed1db828,
hostname=0x7fffcc0290e9 "115.238.23.58", ua_session=0x7fffcc010f40, sm=0x7fffed1db190) at HttpSessionManager.cc:323
#12 0x000000000057a68f in HttpSM::do_http_server_open (this=0x7fffed1db190, raw=false) at HttpSM.cc:4208
#13 0x0000000000582294 in HttpSM::set_next_state (this=0x7fffed1db190) at HttpSM.cc:6603
#14 0x00000000005818b5 in HttpSM::call_transact_and_set_next_state (this=0x7fffed1db190, f=0) at HttpSM.cc:6438
#15 0x0000000000573683 in HttpSM::state_cache_open_write (this=0x7fffed1db190, event=1108, data=0x7fffdc16df80) at HttpSM.cc:2358
#16 0x0000000000573ebe in HttpSM::main_handler (this=0x7fffed1db190, event=1108, data=0x7fffdc16df80) at HttpSM.cc:2465
#17 0x00000000004e8b3c in Continuation::handleEvent (this=0x7fffed1db190, event=1108, data=0x7fffdc16df80) at ../iocore/eventsystem/I_Continuation.h:146
#18 0x000000000055b3a0 in HttpCacheSM::state_cache_open_write (this=0x7fffed1dd258, event=1108, data=0x7fffdc16df80) at HttpCacheSM.cc:172
#19 0x00000000004e8b3c in Continuation::handleEvent (this=0x7fffed1dd258, event=1108, data=0x7fffdc16df80) at ../iocore/eventsystem/I_Continuation.h:146
#20 0x00000000006a3fad in CacheVC::callcont (this=0x7fffdc16df80, event=1108) at P_CacheInternal.h:636
#21 0x00000000006ac3de in Cache::open_write (this=0x7fffe00045d0, cont=0x7fffed1dd258, key=0x7ffff59a7860, info=0x0, apin_in_cache=0, key1=0x0,
type=CACHE_FRAG_TYPE_HTTP, hostname=0x7fffedab5041 "ts.cn801ts/18297/253est222.cn8 (ApacheTrafficServer/3.2.0)ATS/3.2.0(ApacheTrafficServer/3.2.0)",
host_len=5) at CacheWrite.cc:1830
#22 0x00000000006870ca in Cache::open_write (this=0x7fffe00045d0, cont=0x7fffed1dd258, url=0x7fffed1db230, request=0x7fffed1db888, old_info=0x0,
pin_in_cache=0, type=CACHE_FRAG_TYPE_HTTP) at P_CacheInternal.h:1083
#23 0x0000000000684e69 in CacheProcessor::open_write (this=0x1222740, cont=0x7fffed1dd258, expected_size=0, url=0x7fffed1db230, cluster_cache_local=false,
request=0x7fffed1db888, old_info=0x0, pin_in_cache=0, type=CACHE_FRAG_TYPE_HTTP) at Cache.cc:2811
#24 0x000000000055b975 in HttpCacheSM::open_write (this=0x7fffed1dd258, url=0x7fffed1db230, request=0x7fffed1db888, old_info=0x0, pin_in_cache=0,
retry=true, allow_multiple=false) at HttpCacheSM.cc:309
#25 0x0000000000579f05 in HttpSM::do_cache_prepare_action (this=0x7fffed1db190, c_sm=0x7fffed1dd258, object_read_info=0x0, retry=true, allow_multiple=false)
at HttpSM.cc:4111
#26 0x00000000005879e2 in HttpSM::do_cache_prepare_write (this=0x7fffed1db190) at HttpSM.cc:4029
#27 0x0000000000582671 in HttpSM::set_next_state (this=0x7fffed1db190) at HttpSM.cc:6683
#28 0x00000000005818b5 in HttpSM::call_transact_and_set_next_state (this=0x7fffed1db190, f=0) at HttpSM.cc:6438
--Type <return> to continue, or q <return> to quit--
#29 0x00000000005708d2 in HttpSM::handle_api_return (this=0x7fffed1db190) at HttpSM.cc:1523
#30 0x0000000000587969 in HttpSM::do_api_callout (this=0x7fffed1db190) at HttpSM.cc:504
#31 0x0000000000581908 in HttpSM::set_next_state (this=0x7fffed1db190) at HttpSM.cc:6472
#32 0x00000000005818b5 in HttpSM::call_transact_and_set_next_state (this=0x7fffed1db190, f=0) at HttpSM.cc:6438
#33 0x0000000000578d95 in HttpSM::do_hostdb_lookup (this=0x7fffed1db190) at HttpSM.cc:3825
#34 0x0000000000582063 in HttpSM::set_next_state (this=0x7fffed1db190) at HttpSM.cc:6553
#35 0x00000000005818b5 in HttpSM::call_transact_and_set_next_state (this=0x7fffed1db190, f=0) at HttpSM.cc:6438
#36 0x00000000005708d2 in HttpSM::handle_api_return (this=0x7fffed1db190) at HttpSM.cc:1523
#37 0x0000000000587969 in HttpSM::do_api_callout (this=0x7fffed1db190) at HttpSM.cc:504
#38 0x0000000000587992 in HttpSM::setup_cache_lookup_complete_api (this=0x7fffed1db190) at HttpSM.cc:2367
#39 0x0000000000573bb7 in HttpSM::state_cache_open_read (this=0x7fffed1db190, event=1103, data=0xffffffffffffb050) at HttpSM.cc:2423
#40 0x0000000000573ebe in HttpSM::main_handler (this=0x7fffed1db190, event=1103, data=0xffffffffffffb050) at HttpSM.cc:2465
#41 0x00000000004e8b3c in Continuation::handleEvent (this=0x7fffed1db190, event=1103, data=0xffffffffffffb050) at ../iocore/eventsystem/I_Continuation.h:146
#42 0x000000000055b12f in HttpCacheSM::state_cache_open_read (this=0x7fffed1dd258, event=1103, data=0xffffffffffffb050) at HttpCacheSM.cc:137
#43 0x00000000004e8b3c in Continuation::handleEvent (this=0x7fffed1dd258, event=1103, data=0xffffffffffffb050) at ../iocore/eventsystem/I_Continuation.h:146
#44 0x000000000069e148 in Cache::open_read (this=0x7fffe00045d0, cont=0x7fffed1dd258, key=0x7ffff59a8200, request=0x7fffed1db888, params=0x7fffed1db280,
type=CACHE_FRAG_TYPE_HTTP, hostname=0x7fffedab5041 "ts.cn801ts/18297/253est222.cn8 (ApacheTrafficServer/3.2.0)ATS/3.2.0(ApacheTrafficServer/3.2.0)",
host_len=5) at CacheRead.cc:143
#45 0x000000000068702b in Cache::open_read (this=0x7fffe00045d0, cont=0x7fffed1dd258, url=0x7fffed1db230, request=0x7fffed1db888, params=0x7fffed1db280,
type=CACHE_FRAG_TYPE_HTTP) at P_CacheInternal.h:1024
#46 0x0000000000684cfe in CacheProcessor::open_read (this=0x1222740, cont=0x7fffed1dd258, url=0x7fffed1db230, cluster_cache_local=false,
request=0x7fffed1db888, params=0x7fffed1db280, pin_in_cache=0, type=CACHE_FRAG_TYPE_HTTP) at Cache.cc:2785
#47 0x000000000055b57d in HttpCacheSM::do_cache_open_read (this=0x7fffed1dd258) at HttpCacheSM.cc:216
#48 0x000000000055b6c1 in HttpCacheSM::open_read (this=0x7fffed1dd258, url=0x7fffed1db230, hdr=0x7fffed1db888, params=0x7fffed1db280, pin_in_cache=0)
at HttpCacheSM.cc:248
#49 0x00000000005797e9 in HttpSM::do_cache_lookup_and_read (this=0x7fffed1db190) at HttpSM.cc:3975
#50 0x0000000000582105 in HttpSM::set_next_state (this=0x7fffed1db190) at HttpSM.cc:6567
#51 0x00000000005818b5 in HttpSM::call_transact_and_set_next_state (this=0x7fffed1db190, f=0) at HttpSM.cc:6438
#52 0x00000000005708d2 in HttpSM::handle_api_return (this=0x7fffed1db190) at HttpSM.cc:1523
#53 0x0000000000587969 in HttpSM::do_api_callout (this=0x7fffed1db190) at HttpSM.cc:504
#54 0x0000000000581908 in HttpSM::set_next_state (this=0x7fffed1db190) at HttpSM.cc:6472
#55 0x00000000005818b5 in HttpSM::call_transact_and_set_next_state (this=0x7fffed1db190, f=0) at HttpSM.cc:6438
#56 0x0000000000581a34 in HttpSM::set_next_state (this=0x7fffed1db190) at HttpSM.cc:6488
#57 0x00000000005818b5 in HttpSM::call_transact_and_set_next_state (this=0x7fffed1db190, f=0) at HttpSM.cc:6438
#58 0x00000000005708d2 in HttpSM::handle_api_return (this=0x7fffed1db190) at HttpSM.cc:1523
#59 0x0000000000587969 in HttpSM::do_api_callout (this=0x7fffed1db190) at HttpSM.cc:504
#60 0x0000000000581908 in HttpSM::set_next_state (this=0x7fffed1db190) at HttpSM.cc:6472
#61 0x00000000005818b5 in HttpSM::call_transact_and_set_next_state (this=0x7fffed1db190, f=0) at HttpSM.cc:6438
--Type <return> to continue, or q <return> to quit--
#62 0x00000000005708d2 in HttpSM::handle_api_return (this=0x7fffed1db190) at HttpSM.cc:1523
#63 0x0000000000587969 in HttpSM::do_api_callout (this=0x7fffed1db190) at HttpSM.cc:504
#64 0x0000000000581908 in HttpSM::set_next_state (this=0x7fffed1db190) at HttpSM.cc:6472
#65 0x00000000005818b5 in HttpSM::call_transact_and_set_next_state (this=0x7fffed1db190, f=0x590198 <HttpTransact::ModifyRequest(HttpTransact::State*)>)
at HttpSM.cc:6438
#66 0x000000000056e4cf in HttpSM::state_read_client_request_header (this=0x7fffed1db190, event=100, data=0x7fffd400a5a8) at HttpSM.cc:785
#67 0x0000000000573e0c in HttpSM::main_handler (this=0x7fffed1db190, event=100, data=0x7fffd400a5a8) at HttpSM.cc:2462
#68 0x00000000004e8b3c in Continuation::handleEvent (this=0x7fffed1db190, event=100, data=0x7fffd400a5a8) at ../iocore/eventsystem/I_Continuation.h:146
#69 0x00000000006c923a in read_signal_and_update (event=100, vc=0x7fffd400a4a0) at UnixNetVConnection.cc:129
#70 0x00000000006c9b24 in read_from_net (nh=0x7ffff68671e8, vc=0x7fffd400a4a0, thread=0x7ffff6864010) at UnixNetVConnection.cc:313
#71 0x00000000006cb875 in UnixNetVConnection::net_read_io (this=0x7fffd400a4a0, nh=0x7ffff68671e8, lthread=0x7ffff6864010) at UnixNetVConnection.cc:801
#72 0x00000000006c6348 in NetHandler::mainNetEvent (this=0x7ffff68671e8, event=5, e=0x137d4d0) at UnixNet.cc:338
#73 0x00000000004e8b3c in Continuation::handleEvent (this=0x7ffff68671e8, event=5, data=0x137d4d0) at ../iocore/eventsystem/I_Continuation.h:146
#74 0x00000000006ebc76 in EThread::process_event (this=0x7ffff6864010, e=0x137d4d0, calling_code=5) at UnixEThread.cc:197
#75 0x00000000006ec25d in EThread::execute (this=0x7ffff6864010) at UnixEThread.cc:323
#76 0x00000000006ea96f in spawn_thread_internal (a=0x1375e40) at Thread.cc:88
#77 0x0000003e38a077f1 in start_thread () from /lib64/libpthread.so.0
#78 0x0000003e382e570d in clone () from /lib64/libc.so.6
Attachments
Issue Links
- is duplicated by
-
TS-1501 make the inactive event work
- Closed