[asterisk-bugs] [JIRA] (ASTERISK-27533) res_pjsip: Large number of inbound/outbound registrations exhausts memory pool

Dmitriy Serov (JIRA) noreply at issues.asterisk.org
Mon Jan 22 04:14:50 CST 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=241681#comment-241681 ] 

Dmitriy Serov commented on ASTERISK-27533:
------------------------------------------

One week ago i added to modules.conf:
noload => res_resolver_unbound.so
noload => res_pjsip_pubsub.so
noload => res_pjsip_exten_state.so
noload => res_pjsip_dialog_info_body_generator.so
noload => res_pjsip_mwi_body_generator.so
noload => res_pjsip_pidf_body_generator.so
noload => res_pjsip_xpidf_body_generator.so

As the result: server segfaults once per day with other stack.

> res_pjsip: Large number of inbound/outbound registrations exhausts memory pool
> ------------------------------------------------------------------------------
>
>                 Key: ASTERISK-27533
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27533
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 15.2.0
>            Reporter: Dmitriy Serov
>            Assignee: Unassigned
>            Severity: Minor
>              Labels: pjsip
>         Attachments: core.asterisk.32135.talk37.1514731124.zip, core.asterisk.32229.talk37.1514314350-brief.txt, core.asterisk.32229.talk37.1514314350-full.txt, core.asterisk.32229.talk37.1514314350-thread1.txt, core.asterisk.6926.talk37.1514706246.zip, core.asterisk.8524.talk37.1514306431-brief.txt, core.asterisk.8524.talk37.1514306431-full.txt, core.asterisk.8524.talk37.1514306431-thread1.txt, pjsip_transport_get_flag_from_type.zip
>
>
> Asterisk periodically (2 times per day) segfaults in libasteriskpj.so. This error was not observed in previous versions (up to 15.2.0)
> Thread 1 (Thread 0x7f05b1815700 (LWP 8566)):
> #0  0x00007f0625f7f039 in pjsip_endpt_create_pool (endpt=0xc88f, pool_name=0x7f06260411a7 "tls", initial=512, increment=512) at ../src/pjsip/sip_endpoint.c:664
>         pool = 0x797469726f687475
> #1  0x00007f0625f91f1c in tls_create (listener=0x7f055893a5e8, pool=0x0, ssock=0x7f05c25393e8, is_server=1, local=0x7f05b18148bc, remote=0x7f05b1814890, remote_name=0x0, p_tls=0x7f05b1814858)



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



More information about the asterisk-bugs mailing list