You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2016/08/17 17:51:20 UTC

[jira] [Updated] (TS-4254) Abort failure when enable --enable-linux-native-aio in production host

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

Bryan Call updated TS-4254:
---------------------------
    Summary: Abort failure when enable --enable-linux-native-aio in production host  (was: abort failure when enable --enable-linux-native-aio in production host)

> Abort failure when enable --enable-linux-native-aio in production host
> ----------------------------------------------------------------------
>
>                 Key: TS-4254
>                 URL: https://issues.apache.org/jira/browse/TS-4254
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 5.3.2
>            Reporter: taoyunxing
>              Labels: AIO
>             Fix For: sometime
>
>
> ATS: 5.3.2 , CentOS 6.6
> compile:
> yum -y libaio libaio-devel
> ./configure --prefix=/opt/ats --enable-linux-native-aio && make -j 4 && make install -j 4
> I found a assert errors when ats use linux native aio, occur many times in 12 hours!
> {code}
> FATAL: HttpTransactHeaders.cc:180: failed assert `!new_hdr->valid()`
> traffic_server: Aborted (Signal sent by tkill() 20759 495)traffic_server - STACK TRACE:
> /opt/ats/bin/traffic_server(crash_logger_invoke(int, siginfo*, void*)+0xc3)[0x5036f6]
> /lib64/libc.so.6[0x3f1f2326a0]
> /lib64/libc.so.6(gsignal+0x35)[0x3f1f232625]
> /lib64/libc.so.6(abort+0x175)[0x3f1f233e05]
> /opt/ats/lib/libtsutil.so.5(ink_fatal_va(char const*, __va_list_tag*)+0x0)[0x2b6a5013a37d]
> /opt/ats/lib/libtsutil.so.5(ink_fatal(char const*, ...)+0x0)[0x2b6a5013a434]
> /opt/ats/lib/libtsutil.so.5(ink_pfatal(char const*, ...)+0x0)[0x2b6a5013a4f9]
> /opt/ats/lib/libtsutil.so.5(+0x39fa2)[0x2b6a50137fa2]
> /opt/ats/bin/traffic_server(HttpTransactHeaders::copy_header_fields(HTTPHdr*, HTTPHdr*, bool, long)+0x73)[0x62eddb]
> /opt/ats/bin/traffic_server(HttpTransact::build_request(HttpTransact::State*, HTTPHdr*, HTTPHdr*, HTTPVersion)+0x12b)[0x624c9b]
> /opt/ats/bin/traffic_server(HttpTransact::HandleCacheOpenReadMiss(HttpTransact::State*)+0x6a4)[0x612e72]
> /opt/ats/bin/traffic_server(HttpSM::call_transact_and_set_next_state(void (*)(HttpTransact::State*))+0x71)[0x5f7db1]
> /opt/ats/bin/traffic_server(HttpSM::handle_api_return()+0xfa)[0x5e3c82]
> /opt/ats/bin/traffic_server(HttpSM::do_api_callout()+0x40)[0x5fe7c6]
> /opt/ats/bin/traffic_server(HttpSM::set_next_state()+0x5e)[0x5f7f54]
> /opt/ats/bin/traffic_server(HttpSM::call_transact_and_set_next_state(void (*)(HttpTransact::State*))+0x1ae)[0x5f7eee]
> /opt/ats/bin/traffic_server(HttpSM::do_hostdb_lookup()+0x71e)[0x5ed4b6]
> /opt/ats/bin/traffic_server(HttpSM::set_next_state()+0xb34)[0x5f8a2a]
> /opt/ats/bin/traffic_server(HttpSM::call_transact_and_set_next_state(void (*)(HttpTransact::State*))+0x1ae)[0x5f7eee]
> /opt/ats/bin/traffic_server(HttpSM::handle_server_setup_error(int, void*)+0x65a)[0x5f227e]
> /opt/ats/bin/traffic_server(HttpSM::state_send_server_request_header(int, void*)+0x57c)[0x5e53b8]
> /opt/ats/bin/traffic_server(HttpSM::main_handler(int, void*)+0x270)[0x5e79a4]
> /opt/ats/bin/traffic_server(Continuation::handleEvent(int, void*)+0x6c)[0x506956]
> /opt/ats/bin/traffic_server[0x779c97]
> /opt/ats/bin/traffic_server(UnixNetVConnection::mainEvent(int, Event*)+0x4de)[0x77d584]
> /opt/ats/bin/traffic_server(Continuation::handleEvent(int, void*)+0x6c)[0x506956]
> /opt/ats/bin/traffic_server(InactivityCop::check_inactivity(int, Event*)+0x4d3)[0x773ed9]
> /opt/ats/bin/traffic_server(Continuation::handleEvent(int, void*)+0x6c)[0x506956]
> /opt/ats/bin/traffic_server(EThread::process_event(Event*, int)+0x136)[0x79bee6]
> /opt/ats/bin/traffic_server(EThread::execute()+0x289)[0x79c2f5]
> /opt/ats/bin/traffic_server[0x79b3ec]
> /lib64/libpthread.so.0[0x3f1f6079d1]
> /lib64/libc.so.6(clone+0x6d)[0x3f1f2e89dd]
> {code}
> or
> {code}
> Thread 20825, [ET_NET 41]:
> 0    0x00000000005036cb crash_logger_invoke(int, siginfo*, void*) + 0x98
> 1    0x0000003f1f2326a0 __restore_rt + (nil)
> 2    0x0000003f1f232625 gsignal + 0x35
> 3    0x0000003f1f233e05 abort + 0x175
> 4    0x00002b6a5013a37d ink_fatal_va(char const*, __va_list_tag*) + (nil)
> 5    0x00002b6a5013a434 ink_fatal(char const*, ...) + (nil)
> 6    0x00002b6a5013a4f9 ink_pfatal(char const*, ...) + (nil)
> 7    0x00002b6a50137fa2 _ink_assert + 0x32
> 8    0x000000000062eddb HttpTransactHeaders::copy_header_fields(HTTPHdr*, HTTPHdr*, bool, long) + 0x73
> 9    0x0000000000624c9b HttpTransact::build_request(HttpTransact::State*, HTTPHdr*, HTTPHdr*, HTTPVersion) + 0x12b
> 10   0x0000000000612e72 HttpTransact::HandleCacheOpenReadMiss(HttpTransact::State*) + 0x6a4
> 11   0x00000000005f7db1 HttpSM::call_transact_and_set_next_state(void (*)(HttpTransact::State*)) + 0x71
> 12   0x00000000005e3c82 HttpSM::handle_api_return() + 0xfa
> 13   0x00000000005fe7c6 HttpSM::do_api_callout() + 0x40
> 14   0x00000000005f7f54 HttpSM::set_next_state() + 0x5e
> 15   0x00000000005f7eee HttpSM::call_transact_and_set_next_state(void (*)(HttpTransact::State*)) + 0x1ae
> 16   0x00000000005ed4b6 HttpSM::do_hostdb_lookup() + 0x71e
> 17   0x00000000005f8a2a HttpSM::set_next_state() + 0xb34
> 18   0x00000000005f7eee HttpSM::call_transact_and_set_next_state(void (*)(HttpTransact::State*)) + 0x1ae
> 19   0x00000000005f227e HttpSM::handle_server_setup_error(int, void*) + 0x65a
> 20   0x00000000005e53b8 HttpSM::state_send_server_request_header(int, void*) + 0x57c
> 21   0x00000000005e79a4 HttpSM::main_handler(int, void*) + 0x270
> 22   0x0000000000506956 Continuation::handleEvent(int, void*) + 0x6c
> 23   0x0000000000779c97 read_signal_and_update(int, UnixNetVConnection*) + 0x5a
> 24   0x000000000077d584 UnixNetVConnection::mainEvent(int, Event*) + 0x4de
> 25   0x0000000000506956 Continuation::handleEvent(int, void*) + 0x6c
> 26   0x0000000000773ed9 InactivityCop::check_inactivity(int, Event*) + 0x4d3
> 27   0x0000000000506956 Continuation::handleEvent(int, void*) + 0x6c
> 28   0x000000000079bee6 EThread::process_event(Event*, int) + 0x136
> 29   0x000000000079c2f5 EThread::execute() + 0x289
> 30   0x000000000079b3ec spawn_thread_internal(void*) + 0x75
> 31   0x0000003f1f6079d1 start_thread + 0xd1
> 32   0x0000003f1f2e89dd clone + 0x6d
> 33   0x0000000000000000 0x0 + 0x6d
> {code}
> anyone can give me some advices? thanks in advance !



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)