You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/06/30 21:07:56 UTC

[GitHub] [trafficserver] shinrich commented on pull request #7845: HTTP/2 Session & ConnectionState Cleanup

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


   I pulled in this change and the other H2 cleanups into our 9.1 branch and tried it in production.  It crashed pretty quickly with the following stack.
   
   Looks like we are having problems on shutdown.  The HttpSM (the cont in the read_vio) has already been deleted and its mutex has been cleared.
   
   ```
   (gdb) bt
   #0  Mutex_lock (t=0x2aebf5373c80, m=0x0) at /home/shinrich/build-new/_build/build_release_posix-x86_64_gcc_8/trafficserver9.1/build/../../../../_scm/trafficserver9.1/iocore/eventsystem/I_Lock.h:439
   #1  Mutex_lock (t=0x2aebf5373c80, m=...) at /home/shinrich/build-new/_build/build_release_posix-x86_64_gcc_8/trafficserver9.1/build/../../../../_scm/trafficserver9.1/iocore/eventsystem/I_Lock.h:351
   #2  MutexLock::MutexLock (this=0x2aebfbf094e0, am=..., t=0x2aebf5373c80)
       at /home/shinrich/build-new/_build/build_release_posix-x86_64_gcc_8/trafficserver9.1/build/../../../../_scm/trafficserver9.1/iocore/eventsystem/I_Lock.h:439
   #3  0x00000000006333d5 in Http2Stream::main_event_handler(int, void*) ()
       at /home/shinrich/build-new/_build/build_release_posix-x86_64_gcc_8/trafficserver9.1/build/../../../../_scm/trafficserver9.1/include/tscore/ink_thread.h:124
   #4  0x00000000007db23d in handleEvent (data=0x2aec33e039e0, event=104, this=0x2aee507b8e00) at ../../../../../../_scm/trafficserver9.1/iocore/eventsystem/I_Continuation.h:219
   #5  handleEvent (data=0x2aec33e039e0, event=104, this=0x2aee507b8e00) at ../../../../../../_scm/trafficserver9.1/iocore/eventsystem/I_Continuation.h:215
   #6  EThread::process_event(Event*, int) () at ../../../../../../_scm/trafficserver9.1/iocore/eventsystem/UnixEThread.cc:164
   #7  0x00000000007db80e in EThread::process_queue (this=this@entry=0x2aebf5373c80, NegativeQueue=NegativeQueue@entry=0x2aebfbf09600, ev_count=ev_count@entry=0x2aebfbf095fc, 
       nq_count=nq_count@entry=0x2aebfbf095f8) at ../../../../../../_scm/trafficserver9.1/iocore/eventsystem/UnixEThread.cc:199
   #8  0x00000000007dbc74 in EThread::execute_regular (this=this@entry=0x2aebf5373c80) at ../../../../../../_scm/trafficserver9.1/iocore/eventsystem/UnixEThread.cc:259
   #9  0x00000000007dc2e2 in execute (this=0x2aebf5373c80) at ../../../../../../_scm/trafficserver9.1/iocore/eventsystem/UnixEThread.cc:364
   #10 EThread::execute (this=0x2aebf5373c80) at ../../../../../../_scm/trafficserver9.1/iocore/eventsystem/UnixEThread.cc:342
   #11 0x00000000007da92a in spawn_thread_internal (a=0x2aebefa863c0) at ../../../../../../_scm/trafficserver9.1/iocore/eventsystem/Thread.cc:92
   #12 0x00002aebede9dea5 in start_thread (arg=0x2aebfbf0b700) at pthread_create.c:307
   #13 0x00002aebeebd49fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
   ```
   Will continue to poke around.


-- 
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: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org