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

taoyunxing updated TS-4254:
---------------------------
    Description: 
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()`
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 !

  was:
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}
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 !


> 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: 6.2.0
>
>
> 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()`
> 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)

Reply via email to