You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2022/07/26 00:44:16 UTC

[GitHub] [trafficserver] masaori335 opened a new issue, #8979: Crash on RangeTransform::handle_event

masaori335 opened a new issue, #8979:
URL: https://github.com/apache/trafficserver/issues/8979

   We faced the below crash on a 9.2.0 testing box. There must be some conditions like a slow disk to trigger the crash, but we haven't found it.
   
   ```
   [ 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      RangeTransform::handle_event(int, void*)                             ( iocore/eventsystem/I_Lock.h:263 )
   [ 04 ] traffic_server      EThread::process_event(Event*, int)                                  ( I_Continuation.h:227 )
   [ 05 ] traffic_server      EThread::process_queue(Queue<Event, Event::Link_link>*, int*, int*)  ( UnixEThread.cc:188 )
   [ 06 ] traffic_server      EThread::execute_regular()                                           ( UnixEThread.cc:248 )
   [ 07 ] traffic_server      EThread::execute()                                                   ( UnixEThread.cc:353 )
   [ 08 ] traffic_server      spawn_thread_internal(void*) [clone .llvm.12268301668034307738]      ( Thread.cc:79 )
   [ 09 ] libpthread-2.17.so  start_thread                                                         
   ```


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

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


[GitHub] [trafficserver] masaori335 commented on issue #8979: Crash on RangeTransform::handle_event

Posted by GitBox <gi...@apache.org>.
masaori335 commented on issue #8979:
URL: https://github.com/apache/trafficserver/issues/8979#issuecomment-1194831371

   ```
   (gdb) f 3
   #3  RangeTransform::handle_event(int, void*) (this=0x7f86751c0000, event=<optimized out>, edata=<optimized out>) at Transform.cc:817
   817          MUTEX_TRY_LOCK(trylock, m_write_vio.mutex, this_ethread());
   (gdb) p this->m_write_vio
   $1 = {
     cont = 0x0, 
     nbytes = 0, 
     ndone = 0, 
     op = 0, 
     buffer = {
       mbuf = 0x0, 
       entry = 0x0
     }, 
     vc_server = 0x0, 
     mutex = {
       m_ptr = 0x0
     }, 
     _disabled = false
   }
   ```
   


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

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


[GitHub] [trafficserver] masaori335 closed issue #8979: Crash on RangeTransform::handle_event

Posted by GitBox <gi...@apache.org>.
masaori335 closed issue #8979: Crash on RangeTransform::handle_event
URL: https://github.com/apache/trafficserver/issues/8979


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

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


[GitHub] [trafficserver] masaori335 commented on issue #8979: Crash on RangeTransform::handle_event

Posted by GitBox <gi...@apache.org>.
masaori335 commented on issue #8979:
URL: https://github.com/apache/trafficserver/issues/8979#issuecomment-1194841928

   I tried the `--enable-event-tracker` build option to see where the event is scheduled. However, it points odd line, unfortunately.
   
   ```
   (gdb) p e->_location
   $3 = (const void *) 0x5654998b4f10 <HttpTunnel::consumer_handler(int, HttpTunnelConsumer*)+320>
   (gdb) info line *0x5654998b4f10
   Line 1373 of "HttpTunnel.cc" starts at address 0x5654998b4f10 <HttpTunnel::consumer_handler(int, HttpTunnelConsumer*)+320> and ends at 0x5654998b4f2a <HttpTunnel::consumer_handler(int, HttpTunnelConsumer*)+346>
   ```
   
   https://github.com/apache/trafficserver/blob/3c583febf7ff0c9c35d9faab2b3752fcb93f8abf/proxy/http/HttpTunnel.cc#L1373
   
   A wild idea is that HttpTunnel producer and consumer has a race.


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

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