shinrich commented on pull request #7845:
URL: https://github.com/apache/trafficserver/pull/7845#issuecomment-871774444


   One last crash before I shutdown tonight.  I moved the _vc->do_io_close back 
to the Http2ClientSession::free and traffic_server ran for many minutes.  But 
eventually it crashed with the stack below.  It looks like the server session 
timed out and signaled the HttpSM.  But the ua_txn referenced a Http2Stream 
that had already at least partially cleaned up.  Eventually causing a segfault. 
 I didn't see any likely shutdown signal from the client in the HttpSM history.
   
   ```
   (gdb) bt
   #0  0x00000000005840ae in HttpSM::do_http_server_open(bool) () at 
../../../../../../_scm/trafficserver9.1/proxy/http/HttpSM.cc:4944
   #1  0x0000000000587d5d in HttpSM::set_next_state() () at 
../../../../../../_scm/trafficserver9.1/proxy/http/HttpSM.cc:7611
   #2  0x000000000057c1c4 in HttpSM::state_read_server_response_header(int, 
void*) () at ../../../../../../_scm/trafficserver9.1/proxy/http/HttpSM.cc:2020
   #3  0x000000000057ecbb in HttpSM::main_handler(int, void*) () at 
../../../../../../_scm/trafficserver9.1/proxy/http/HttpSM.cc:2745
   #4  0x00000000007996be in read_signal_and_update(int, UnixNetVConnection*) 
() at 
../../../../../../_scm/trafficserver9.1/iocore/net/UnixNetVConnection.cc:83
   #5  0x0000000000799b6b in UnixNetVConnection::mainEvent(int, Event*) () at 
../../../../../../_scm/trafficserver9.1/iocore/net/UnixNetVConnection.cc:1160
   #6  0x000000000078e555 in InactivityCop::check_inactivity 
(this=0x2ad5a18cd000, event=<optimized out>, e=<optimized out>) at 
../../../../../../_scm/trafficserver9.1/iocore/net/UnixNet.cc:96
   #7  0x00000000007db38d in handleEvent (data=0x2ad5a1801060, event=2, 
this=0x2ad5a18cd000) at 
../../../../../../_scm/trafficserver9.1/iocore/eventsystem/I_Continuation.h:219
   #8  handleEvent (data=0x2ad5a1801060, event=2, this=0x2ad5a18cd000) at 
../../../../../../_scm/trafficserver9.1/iocore/eventsystem/I_Continuation.h:215
   #9  EThread::process_event(Event*, int) () at 
../../../../../../_scm/trafficserver9.1/iocore/eventsystem/UnixEThread.cc:164
   #10 0x00000000007dc0b4 in EThread::execute_regular 
(this=this@entry=0x2ad591f733c0) at 
../../../../../../_scm/trafficserver9.1/iocore/eventsystem/UnixEThread.cc:273
   #11 0x00000000007dc432 in execute (this=0x2ad591f733c0) at 
../../../../../../_scm/trafficserver9.1/iocore/eventsystem/UnixEThread.cc:364
   #12 EThread::execute (this=0x2ad591f733c0) at 
../../../../../../_scm/trafficserver9.1/iocore/eventsystem/UnixEThread.cc:342
   #13 0x00000000007daa7a in spawn_thread_internal (a=0x2ad58ba86640) at 
../../../../../../_scm/trafficserver9.1/iocore/eventsystem/Thread.cc:92
   #14 0x00002ad589ec2ea5 in start_thread (arg=0x2ad59a701700) at 
pthread_create.c:307
   #15 0x00002ad58abf99fd in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to