Susan Hinrichs created TS-4663:
----------------------------------

             Summary: 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


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)

Reply via email to