[asterisk-bugs] [JIRA] (ASTERISK-26516) pjsip: Memory corruption with possible memory leak.

Ian Gilmour (JIRA) noreply at issues.asterisk.org
Mon Nov 14 05:51:10 CST 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Gilmour updated ASTERISK-26516:
-----------------------------------

    Attachment: screenlog-2016-11-14.tgz

[^screenlog-2016-11-14.tgz] has pjsip logging enabled.

It also has a breakpoint added on the return from pjsip_endpt_create_pool() in sip_endpoint.c (line:675). I added the following commands to be run on the breakpoint being hit:

{noformat}
(gdb) comm 6
Type commands for breakpoint(s) 6, one per line.
End with a line saying just "end".
>print *pool
>bt
>cont
>end
(gdb)
{noformat}

So now we can see the full pool name of all these 'auth_cli0xffff' pools.

Hopefully this, together with the pjsip logger enabled, gives a bit more info as to why these pools are being created and never released.

> pjsip: Memory corruption with possible memory leak.
> ---------------------------------------------------
>
>                 Key: ASTERISK-26516
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26516
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip, Resources/res_pjsip
>    Affects Versions: 13.11.2
>            Reporter: Richard Mudgett
>            Assignee: Richard Mudgett
>         Attachments: 0007_jira_asterisk_26516_v13_free_mem_fix.patch, 2016-10-28.tgz, cli-and-gdb-2016-10-27.tgz, jira_asterisk_26344_v13_committed_fix.patch, jira_asterisk_26344_v13_debuging.patch, jira_asterisk_26516_v13_debugging.patch, jira_asterisk_26516_v13_debugging_v2.patch, screenlog-2016-11-01.tgz, screenlog-2016-11-02.tgz, screenlog-2016-11-03.tgz, screenlog-2016-11-10.tgz, screenlog-2016-11-14.tgz
>
>
> This is a continuation of ASTERISK-26344 and ASTERISK-26387 since the original crashes are fixed with patches added to pjproject.  For the setup description look at ASTERISK-26344.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list