You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by scw00 <gi...@git.apache.org> on 2017/03/02 00:28:48 UTC

[GitHub] trafficserver issue #1401: Segfault in write_to_net_io with 7.1.x

Github user scw00 commented on the issue:

    https://github.com/apache/trafficserver/issues/1401
  
    epoll_wait triggered EVENTIO_ERROR after accept(do_blocking_accept) will cause  coredump, because we do not call any do_io_xx. In 6.x.x we do not handle EVENTIO_ERROR event\uff0cit may cause vc leaking, but avoid coredump.
    `  while ((vc = write_ready_list.dequeue())) {
        set_cont_flags(vc->control_flags);
        if (vc->closed)
          close_UnixNetVConnection(vc, trigger_event->ethread);
        else if ((vc->write.enabled || vc->write.error) && vc->write.triggered)
          write_to_net(this, vc, trigger_event->ethread);
        else if (!vc->write.enabled) {
          write_ready_list.remove(vc);
    #if defined(solaris)
          if (vc->write.triggered && vc->read.enabled) {
            vc->ep.modify(-EVENTIO_WRITE);
            vc->ep.refresh(EVENTIO_READ);
            vc->readReschedule(this);
          }
    #endif
        }`



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---