[asterisk-bugs] [JIRA] (ASTERISK-29097) res_pjsip_config_wizard: Crash when freeing string when failing to add extension

Vieri (JIRA) noreply at issues.asterisk.org
Sat Sep 26 16:52:36 CDT 2020


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

Vieri commented on ASTERISK-29097:
----------------------------------

It seems that I can reproduce the issue by simply adding this to extensions.conf:

[default]
exten => 1001,1,NoOp()

That leads to the message "Unable to register extension '1001' priority 1 in 'default', already in use" and the crash.

I have no other reference to "1001" in my asterisk conf dir and subdirs.

Changing 1001 to 1002 avoids the crash.


> res_pjsip_config_wizard: Crash when freeing string when failing to add extension
> --------------------------------------------------------------------------------
>
>                 Key: ASTERISK-29097
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29097
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_config_wizard
>    Affects Versions: 16.13.0
>         Environment: Gentoo Linux - official asterisk ebuild with "debug" use flag
>            Reporter: Vieri
>            Assignee: Unassigned
>         Attachments: backtrace.txt, btfull.txt, bt.txt
>
>
> Asterisk exits each time I issue:
> asterisk -rx "module reload res_pjsip.so"
> Tried pjproject v. 2.9 and 2.10.
> Asterisk exits with:
> Reloading module 'res_pjsip.so' (Basic SIP resource)
> double free or corruption (fasttop)
> Aborted



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



More information about the asterisk-bugs mailing list