GitHub user shinrich opened a pull request:
https://github.com/apache/trafficserver/pull/1263
TS-5091: Crash if server session from global pool is not alive
The Jira contains a stack track we have seen in production. The problem is
the migration fails, but we set the netvc to null before calling do_io_close.
This causes the get_server_ip() call in HttpServerSession::do_io_close to
dereference a NULL. Only setting the netvc in the non-null case solves the
problem. In the null case we are shutting down anyway. The old netvc is
marked for close, but won't be closed until the stack unwinds.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/shinrich/trafficserver ts-5091
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/1263.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1263
----
commit 93b9779ae98339381fcd0718d2b187a731f72b3f
Author: Susan Hinrichs <[email protected]>
Date: 2016-12-14T15:24:50Z
TS-5091: Crash if server session from global pool is not alive
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---