[
https://issues.apache.org/jira/browse/TS-4732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15416198#comment-15416198
]
Bryan Call commented on TS-4732:
--------------------------------
Reading on closed vc was added back into release_netvc() after it was removed
for 6.2. Also, calling do_io_read() with a zero size buffer will assert on
debug builds.
{code}
commit 85c021123fd94c4d97a6015484eb1d8054bec9eb
Author: shinrich <[email protected]>
Date: Fri Jul 15 15:52:09 2016 -0500
TS-4507: Fix SSN and TXN hook ordering.
release_netvc()
{
- client_vc = NULL;
+ // Make sure the vio's are also released to avoid
+ // later surprises in inactivity timeout
+ if (client_vc) {
+ client_vc->do_io_read(NULL, 0, NULL);
+ client_vc->do_io_write(NULL, 0, NULL);
+ client_vc->set_action(NULL);
+ client_vc = NULL;
+ }
}
{code}
> Still seeing VC errors on master
> --------------------------------
>
> Key: TS-4732
> URL: https://issues.apache.org/jira/browse/TS-4732
> Project: Traffic Server
> Issue Type: Bug
> Components: Network
> Affects Versions: 6.2.0
> Reporter: Bryan Call
> Assignee: Bryan Call
> Fix For: 7.0.0
>
>
> Seeing this in the error logs *a lot*:
> {code}
> [Jun 13 17:14:26.606] Server {0x2b1a9f010700} ERROR:
> <UnixNetVConnection.cc:629 (do_io_read)> do_io_read invoked on closed vc
> 0x634000c186a0, cont (nil), nbytes 0, buf (nil)
> [Jun 13 17:14:26.606] Server {0x2b1a9f010700} ERROR:
> <UnixNetVConnection.cc:653 (do_io_write)> do_io_write invoked on closed vc
> 0x634000c186a0, cont (nil), nbytes 0, reader (nil)
> [Jun 13 17:14:26.631] Server {0x2b1a9e3eb700} ERROR:
> <UnixNetVConnection.cc:629 (do_io_read)> do_io_read invoked on closed vc
> 0x634000c0f220, cont (nil), nbytes 0, buf (nil)
> [Jun 13 17:14:26.631] Server {0x2b1a9e3eb700} ERROR:
> <UnixNetVConnection.cc:653 (do_io_write)> do_io_write invoked on closed vc
> 0x634000c0f220, cont (nil), nbytes 0, reader (nil)
> [Jun 13 17:14:26.727] Server {0x2b1aa0433700} ERROR:
> <UnixNetVConnection.cc:629 (do_io_read)> do_io_read invoked on closed vc
> 0x634000c13240, cont (nil), nbytes 0, buf (nil)
> [Jun 13 17:14:26.727] Server {0x2b1aa0433700} ERROR:
> <UnixNetVConnection.cc:653 (do_io_write)> do_io_write invoked on closed vc
> 0x634000c13240, cont (nil), nbytes 0, reader (nil)
> [Jun 13 17:14:26.765] Server {0x2b1aa083a700} ERROR:
> <UnixNetVConnection.cc:629 (do_io_read)> do_io_read invoked on closed vc
> 0x6340002364e0, cont (nil), nbytes 0, buf (nil)
> [Jun 13 17:14:26.765] Server {0x2b1aa083a700} ERROR:
> <UnixNetVConnection.cc:653 (do_io_write)> do_io_write invoked on closed vc
> 0x6340002364e0, cont (nil), nbytes 0, reader (nil)
> [Jun 13 17:14:26.914] Server {0x2b1a9e7f2700} ERROR:
> <UnixNetVConnection.cc:629 (do_io_read)> do_io_read invoked on closed vc
> 0x63400088c2e0, cont (nil), nbytes 0, buf (nil)
> [Jun 13 17:14:26.914] Server {0x2b1a9e7f2700} ERROR:
> <UnixNetVConnection.cc:653 (do_io_write)> do_io_write invoked on closed vc
> 0x63400088c2e0, cont (nil), nbytes 0, reader (nil)
> [Jun 13 17:14:26.938] Server {0x2b1a9e3eb700} ERROR:
> <UnixNetVConnection.cc:629 (do_io_read)> do_io_read invoked on closed vc
> 0x6340004f7fe0, cont (nil), nbytes 0, buf (nil)
> [Jun 13 17:14:26.938] Server {0x2b1a9e3eb700} ERROR:
> <UnixNetVConnection.cc:653 (do_io_write)> do_io_write invoked on closed vc
> 0x6340004f7fe0, cont (nil), nbytes 0, reader (nil)
> [Jun 13 17:14:27.004] Server {0x2b1aa3487700} ERROR:
> <UnixNetVConnection.cc:629 (do_io_read)> do_io_read invoked on closed vc
> 0x63400025a860, cont (nil), nbytes 0, buf (nil)
> [Jun 13 17:14:27.004] Server {0x2b1aa3487700} ERROR:
> <UnixNetVConnection.cc:653 (do_io_write)> do_io_write invoked on closed vc
> 0x63400025a860, cont (nil), nbytes 0, reader (nil)
> [Jun 13 17:14:27.048] Server {0x2b1aa144f700} ERROR:
> <UnixNetVConnection.cc:629 (do_io_read)> do_io_read invoked on closed vc
> 0x634000ad2820, cont (nil), nbytes 0, buf (nil)
> [Jun 13 17:14:27.048] Server {0x2b1aa144f700} ERROR:
> <UnixNetVConnection.cc:653 (do_io_write)> do_io_write invoked on closed vc
> 0x634000ad2820, cont (nil), nbytes 0, reader (nil)
> [Jun 13 17:14:27.248] Server {0x2b1a9dbdd700} ERROR:
> <UnixNetVConnection.cc:629 (do_io_read)> do_io_read invoked on closed vc
> 0x6340003fa1a0, cont (nil), nbytes 0, buf (nil)
> [Jun 13 17:14:27.248] Server {0x2b1a9dbdd700} ERROR:
> <UnixNetVConnection.cc:653 (do_io_write)> do_io_write invoked on closed vc
> 0x6340003fa1a0, cont (nil), nbytes 0, reader (nil)
> [Jun 13 17:14:27.388] Server {0x2b1aa3080700} ERROR:
> <UnixNetVConnection.cc:629 (do_io_read)> do_io_read invoked on closed vc
> 0x634000807f60, cont (nil), nbytes 0, buf (nil)
> [Jun 13 17:14:27.388] Server {0x2b1aa3080700} ERROR:
> <UnixNetVConnection.cc:653 (do_io_write)> do_io_write invoked on closed vc
> 0x634000807f60, cont (nil), nbytes 0, reader (nil)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)