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 2020/04/28 16:09:41 UTC

[GitHub] [trafficserver] zwoop opened a new issue #6715: Crash in write_to_net_io in 8.1.x

zwoop opened a new issue #6715:
URL: https://github.com/apache/trafficserver/issues/6715


   This is with current 8.1.x branch:
   
   ```
   #1  0x000055ebc0c7a064 in crash_logger_invoke (signo=11, info=0x7f52d950b0f0, ctx=0x7f52d950afc0) at traffic_server/Crash.cc:165
           status = 0
   #2  <signal handler called>
   No symbol table info available.
   #3  0x00000000e27c2211 in ?? ()
   No symbol table info available.
   #4  0x000055ebc0e6f94a in write_to_net_io (nh=0x7f52dea119e0, vc=0x7f47411a3c00, thread=0x7f52dea0dd00) at UnixNetVConnection.cc:390
           ret = <optimized out>
           err = <optimized out>
           mutex = 0x7f52e2d53710
           lock = {
             m = {
               m_ptr = 0x7f47e0116640
             },
             lock_acquired = true
           }
           ntodo = <optimized out>
           buf = <optimized out>
           towrite = <optimized out>
           signalled = <optimized out>
           needs = <optimized out>
           total_written = <optimized out>
   #5  0x000055ebc0e692ab in NetHandler::process_ready_list (this=0x7f52dea119e0) at UnixNet.cc:416
   No locals.
   #6  0x000055ebc0e699df in NetHandler::waitForActivity (this=<optimized out>, timeout=<optimized out>) at UnixNet.cc:532
           pd = 0x7f52d8c0ff40
           epd = <optimized out>
           vc = <optimized out>
           lock = <optimized out>
   #7  0x000055ebc0e69aad in non-virtual thunk to NetHandler::waitForActivity(long) ()
           stat_prefix = <incomplete type>
           NetHandler::config_value_affects_per_thread_value = {
             <std::__1::__bitset<1, 6>> = {
               __first_ = 3
             },
           }
           last_shedding_warning = 0
           fds_limit = 1000000
           net_connections_throttle = 100000
           last_throttle_warning = 0
           fds_throttle = 100000
           last_transient_accept_error = 0
           NetHandler::active_thread_types = {
             <std::__1::__bitset<1, 32>> = {
               __first_ = 3
             },
           }
           NetHandler::global_config = {
             max_connections_in = 75000,
             max_connections_active_in = 30000,
             inactive_threshold_in = 0,
             transaction_no_activity_timeout_in = 0,
             keep_alive_no_activity_timeout_in = 0,
             default_inactivity_timeout = 900
           }
           net_memory_throttle = false
   #8  0x000055ebc0e984f1 in EThread::execute_regular (this=0x7f52dea0dd00) at UnixEThread.cc:278
           sleep_time = 60000000
           done_one = <optimized out>
           METRIC_INIT = {
             _loop_time = {
               _start = 0,
               _min = 9223372036854775807,
               _max = 0
             },
             _events = {
               _min = 2147483647,
               _max = 0,
               _total = 0
             },
             _count = 0,
             _wait = 0
           }
           delta = 0
           next_time = <optimized out>
           nq_count = 2
           prev_metric = 0x7f52deb1a4a0
           ev_count = 2
           loop_start_time = <optimized out>
           loop_finish_time = <optimized out>
   #9  0x000055ebc0e9718c in spawn_thread_internal (a=0x7f52e3a37350) at Thread.cc:85
           p = 0x7f52e3a37350
   #10 0x00007f52e5343e65 in start_thread () from /lib64/libpthread.so.0
   No symbol table info available.
   #11 0x00007f52e476188d in clone () from /lib64/libc.so.6
   No symbol table info available.
   ```
   
   


----------------------------------------------------------------
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.

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



[GitHub] [trafficserver] bryancall commented on issue #6715: Crash in write_to_net_io in 8.1.x

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


   Looking at this some more, the only way to call write_to_net_io  from NetHandler::process_ready_list is for the VC's write.enabled and write.triggered be non-zero.
   
   Looking a the dump of the VC this is not the case.  It looks like another thread is either freeing the VC on you or something is overwriting memory.


----------------------------------------------------------------
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.

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



[GitHub] [trafficserver] bryancall edited a comment on issue #6715: Crash in write_to_net_io in 8.1.x

Posted by GitBox <gi...@apache.org>.
bryancall edited a comment on issue #6715:
URL: https://github.com/apache/trafficserver/issues/6715#issuecomment-622183743


   Looking at this some more, the only way to call `write_to_net_io`  from `NetHandler::process_ready_list` is for the VC's `write.enabled` and `write.triggered` be non-zero.
   
   Looking a the dump of the VC this is not the case.  It looks like another thread is either freeing the VC on you or something is overwriting memory.


----------------------------------------------------------------
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.

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



[GitHub] [trafficserver] vmamidi closed issue #6715: Crash in write_to_net_io in 8.1.x

Posted by GitBox <gi...@apache.org>.
vmamidi closed issue #6715:
URL: https://github.com/apache/trafficserver/issues/6715


   


----------------------------------------------------------------
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.

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



[GitHub] [trafficserver] vmamidi commented on issue #6715: Crash in write_to_net_io in 8.1.x

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


   duplicate of #4903 


----------------------------------------------------------------
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.

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



[GitHub] [trafficserver] masaori335 commented on issue #6715: Crash in write_to_net_io in 8.1.x

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


   @vmamidi found that this is duplicated with #4903. This seems introduced by #4028.


----------------------------------------------------------------
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.

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