[ https://issues.apache.org/jira/browse/TS-4663?focusedWorklogId=25512&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-25512 ]
ASF GitHub Bot logged work on TS-4663: -------------------------------------- Author: ASF GitHub Bot Created on: 15/Jul/16 21:17 Start Date: 15/Jul/16 21:17 Worklog Time Spent: 10m Work Description: GitHub user shinrich opened a pull request: https://github.com/apache/trafficserver/pull/800 TS-4663: ASAN crash. Scheduled event triggers after ClientSession deleted Track scheduled event and cancel it when client session is deleted if it is still hanging around. You can merge this pull request into a Git repository by running: $ git pull https://github.com/shinrich/trafficserver ts-4663 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/trafficserver/pull/800.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 #800 ---- commit 7f97e6cfb7caf8fa5d5c1ee0a5e8e7f387b54f16 Author: shinrich <shinr...@ieee.org> Date: 2016-07-15T21:15:45Z TS-4663: Fix ASAN crash. Scheduled event triggers after ClientSession deleted. ---- Issue Time Tracking ------------------- Worklog Id: (was: 25512) Time Spent: 10m Remaining Estimate: 0h > ASAN crash due to scheduled event triggering after ClientSession has completed > ------------------------------------------------------------------------------ > > Key: TS-4663 > URL: https://issues.apache.org/jira/browse/TS-4663 > Project: Traffic Server > Issue Type: Bug > Reporter: Susan Hinrichs > Assignee: Susan Hinrichs > Time Spent: 10m > Remaining Estimate: 0h > > Found while tracking TS-4507 and original fix combined with that fix. > In ProxyClientSession::state_api_callout we schedule_in 10ms in the future if > the plugin lock is not acquired. Saw ASAN use-after-free crashes when the > Http2ClientSession is deleted but the schedule event remains and is > triggered. Added a schedule_event member to track this case and cancel any > outstanding schedule events on free. -- This message was sent by Atlassian JIRA (v6.3.4#6332)