[Home]

Summary:ASTERISK-27358: res_pjsip: endpt_send_request leaks
Reporter:Corey Farrell (coreyfarrell)Labels:
Date Opened:2017-10-18 10:48:24Date Closed:2017-11-14 10:08:05.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Resources/res_pjsip
Versions:13.17.2 GIT 15.0.0 Frequency of
Occurrence
Related
Issues:
is related toASTERISK-27306 chan_pjsip: Cannot be tested for memory leaks.
Environment:Attachments:
Description:{{req_wrapper}} allocated in {{endpt_send_request}} leaks.  I'm unsure where the extra references to the object should be released.  This can be reproduced every time using testsuite: {{tests/channels/pjsip/qualify/auth}}.

The leak is small (48 bytes plus AO2 headers), looks like it could occur frequently.
Comments:By: Asterisk Team (asteriskteam) 2017-10-18 10:48:25.197-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Corey Farrell (coreyfarrell) 2017-10-31 16:33:15.698-0500

Appears this may be a shutdown leak that the testsuite can use timing to deal with.  Linking to ASTERISK-27306 so we can find this bug when making other tests handle this.

By: Corey Farrell (coreyfarrell) 2017-11-14 10:08:05.984-0600

Closing since this is just a timing issue in the testsuite.