Skip to content

Crash on HttpTunnel::producer_run #8948

Closed

Description

@masaori335
[ 00 ] libpthread-2.17.so           waitpid                                                          
[ 01 ] traffic_server               crash_logger_invoke(int, siginfo_t*, void*)                      ( Crash.cc:168 )
[ 02 ] libpthread-2.17.so                                                                            
[ 03 ] traffic_server               HttpTunnel::producer_run(HttpTunnelProducer*)                    ( HttpTunnel.cc:988 )
[ 04 ] traffic_server               HttpTunnel::tunnel_run(HttpTunnelProducer*)                      ( HttpTunnel.cc )
[ 05 ] traffic_server               HttpSM::setup_internal_transfer(int (HttpSM::*)(int, void*))     ( HttpSM.cc:6714 )
[ 06 ] traffic_server               HttpSM::state_api_callout(int, void*)                            ( HttpSM.cc )
[ 07 ] traffic_server               HttpSM::state_api_callback(int, void*)                           ( HttpSM.cc:1466 )
[ 08 ] traffic_server               TSHttpTxnReenable                                                ( InkAPI.cc:6304 )

We're facing this crash with 9.2.x.

Activity

  1. self-assigned this
    on Jul 8, 2022
  2. masaori335 commented on Jul 8, 2022

    @masaori335
    ContributorAuthor

    According to the HttpSM history, the situation is

    1. client aborted and tunnel_handler_ua set ua_entry->vc nullptr
    2. origin server side connection got an error
    3. HttpSM tried to send an error response
    4. HttpTunnel is setup a consumer with ua_entry->vc (nullptr)
    5. producer_run get SEGV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions