Skip to content

Assertion failure: event == HTTP_TUNNEL_EVENT_DONE in HttpSM #7102

Description

@maskit

This assertion, which is in the initial commit, fails on master (f75eaf8) but not 9.0.x.

Fatal: HttpSM.cc:2937: failed assertion `event == HTTP_TUNNEL_EVENT_DONE`
2020-08-11 11:37:06.467130+0900 traffic_server[74010:19298151] Fatal: HttpSM.cc:2937: failed assertion `event == HTTP_TUNNEL_EVENT_DONE`
Process 74010 stopped
* thread #2, name = '[ET_NET 0]', stop reason = signal SIGABRT
    frame #0: 0x00007fff6fa7633a libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill:
->  0x7fff6fa7633a <+10>: jae    0x7fff6fa76344            ; <+20>
    0x7fff6fa7633c <+12>: movq   %rax, %rdi
    0x7fff6fa7633f <+15>: jmp    0x7fff6fa70629            ; cerror_nocancel
    0x7fff6fa76344 <+20>: retq   
Target 0: (traffic_server) stopped.
(lldb) bt
* thread #2, name = '[ET_NET 0]', stop reason = signal SIGABRT
  * frame #0: 0x00007fff6fa7633a libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x00007fff6fb32e60 libsystem_pthread.dylib`pthread_kill + 430
    frame #2: 0x00007fff6f9fd808 libsystem_c.dylib`abort + 120
    frame #3: 0x000000010312770a libtscore.10.dylib`ink_abort(message_format="%s:%d: failed assertion `%s`") at ink_error.cc:99:3
    frame #4: 0x000000010311d427 libtscore.10.dylib`::_ink_assert(expression="event == HTTP_TUNNEL_EVENT_DONE", file="HttpSM.cc", line=2937) at ink_assert.cc:37:3
    frame #5: 0x00000001002fcbd8 traffic_server`HttpSM::tunnel_handler(this=0x000000010dd7b280, event=106, data=0x000000010dc35e00) at HttpSM.cc:2937:3
    frame #6: 0x00000001002db92c traffic_server`HttpSM::main_handler(this=0x000000010dd7b280, event=106, data=0x000000010dc35e00) at HttpSM.cc:2665:5
    frame #7: 0x000000010000afb5 traffic_server`Continuation::handleEvent(this=0x000000010dd7b280, event=106, data=0x000000010dc35e00) at I_Continuation.h:219:12
    frame #8: 0x000000010071de2c traffic_server`Http2Stream::signal_read_event(this=0x000000010dc35b40, event=106) at Http2Stream.cc:643:26
    frame #9: 0x000000010071c7dc traffic_server`Http2Stream::main_event_handler(this=0x000000010dc35b40, event=106, edata=0x000062c000006400) at Http2Stream.cc:103:13
    frame #10: 0x000000010000afb5 traffic_server`Continuation::handleEvent(this=0x000000010dc35b40, event=106, data=0x000062c000006400) at I_Continuation.h:219:12
    frame #11: 0x00000001006c4cfe traffic_server`ActivityCop<Http2Stream, DLL<Http2Stream, Continuation::Link_link> >::check_activity(this=0x000000010db4ed58, (null)=2, e=0x000062c000006400) at NetTimeout.h:256:10
    frame #12: 0x000000010000afb5 traffic_server`Continuation::handleEvent(this=0x000000010db4ed58, event=2, data=0x000062c000006400) at I_Continuation.h:219:12
    frame #13: 0x0000000100fe0644 traffic_server`EThread::process_event(this=0x00000001090e5800, e=0x000062c000006400, calling_code=2) at UnixEThread.cc:127:22
    frame #14: 0x0000000100fe2058 traffic_server`EThread::execute_regular(this=0x00000001090e5800) at UnixEThread.cc:236:11
    frame #15: 0x0000000100fe3778 traffic_server`EThread::execute(this=0x00000001090e5800) at UnixEThread.cc:327:11
    frame #16: 0x0000000100fdde69 traffic_server`spawn_thread_internal(a=0x0000607000007950) at Thread.cc:92:12
    frame #17: 0x00007fff6fb33109 libsystem_pthread.dylib`_pthread_start + 148
    frame #18: 0x00007fff6fb2eb8b libsystem_pthread.dylib`thread_start + 15

Event 106 is VC_EVENT_ACTIVE_TIMEOUT.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions