[asterisk-bugs] [JIRA] (ASTERISK-19143) Core dump when adding dialplan extension

alexr1 (JIRA) noreply at issues.asterisk.org
Mon Jul 7 19:01:56 CDT 2014


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

alexr1 edited comment on ASTERISK-19143 at 7/7/14 7:01 PM:
-----------------------------------------------------------

I'm experiencing this problem on a production system running 1.8.24.0 which was released over a year after this issue was opened.

Is it worth trying a newer version? How are others getting around this issue? I see there's no resolution to this issue or this related issue: ASTERISK-19711

In my case, it's from dynamic hints:
{noformat}
exten => _X.,hint,${IF($[${EXTEN:0:3} = 83]?SIP/${EXTEN}:Custom:83-${EXTEN})}
{noformat}
(If they are trying to subscribe to anything beginning with 83, then it's a SIP device, otherwise it's a custom device).

Doesn't appear to be related to special characters.

Crash 1.
{noformat}
[2014-07-07 09:24:03] VERBOSE[1886] pbx.c:     -- Added extension '04XXXX680' priority -1 to pbx-outgoing-83
[2014-07-07 09:24:03] VERBOSE[1886] pbx.c:     -- Added extension '04XXXX151' priority -1 to pbx-outgoing-83
[2014-07-07 09:24:03] WARNING[1886] pbx.c: Found duplicate exten. Had 04XXXX0151 found 04XXXX0151
[2014-07-07 09:24:03] WARNING[1886] pbx.c: Unable to register extension '04XXXX0151' priority -1 in 'pbx-outgoing-83', already in use
[2014-07-07 09:24:04] VERBOSE[1886] pbx.c:     -- Added extension '04XXXX8489' priority -1 to pbx-outgoing-83
[2014-07-07 09:24:04] VERBOSE[1886] pbx.c:     -- Added extension '04XXXX9689' priority -1 to pbx-outgoing-83
[2014-07-07 09:24:04] VERBOSE[1886] pbx.c:     -- Added extension '02XXXX6769' priority -1 to pbx-outgoing-83
[2014-07-07 09:24:04] WARNING[1886] pbx.c: Found duplicate exten. Had 02XXXX6769 found 02XXXX6769
[2014-07-07 09:24:04] WARNING[1886] pbx.c: Unable to register extension '02XXXX6769' priority -1 in 'pbx-outgoing-83', already in use
[2014-07-07 09:24:04] VERBOSE[1886] pbx.c:     -- Added extension '04XXXX1997' priority -1 to pbx-outgoing-83
--end of log--
{noformat}



Crash 2.
{noformat}
[2014-07-07 09:24:23] WARNING[8800] pbx.c: Found duplicate exten. Had 04XXXX3311 found 04XXXX3311
[2014-07-07 09:24:23] WARNING[8800] pbx.c: Unable to register extension '04XXXX3311' priority -1 in 'pbx-outgoing-83', already in use
[2014-07-07 09:24:23] WARNING[8800] pbx.c: Found duplicate exten. Had 04XXXX8015 found 04XXXX8015
[2014-07-07 09:24:23] WARNING[8800] pbx.c: Unable to register extension '04XXXX8015' priority -1 in 'pbx-outgoing-83', already in use
[2014-07-07 09:24:23] WARNING[8800] pbx.c: Found duplicate exten. Had (null) found 02XXXX1879
[2014-07-07 09:24:23] WARNING[8800] pbx.c: Unable to register extension '02XXXX1879' priority -1 in 'pbx-outgoing-83', already in use
[2014-07-07 09:24:23] WARNING[8800] pbx.c: Found duplicate exten. Had 02XXXX1879 found 02XXXX1879
[2014-07-07 09:24:23] WARNING[8800] pbx.c: Unable to register extension '02XXXX1879' priority -1 in 'pbx-outgoing-83', already in use
[2014-07-07 09:24:24] WARNING[8800] pbx.c: Found duplicate exten. Had (null) found 04XXXX9956
[2014-07-07 09:24:24] WARNING[8800] pbx.c: Unable to register extension '04XXXX9956' priority -1 in 'pbx-outgoing-83', already in use
[2014-07-07 09:24:24] WARNING[8800] pbx.c: Found duplicate exten. Had 04XXXX9956 found 04XXXX9956
[2014-07-07 09:24:24] WARNING[8800] pbx.c: Unable to register extension '04XXXX9956' priority -1 in 'pbx-outgoing-83', already in use
[2014-07-07 09:24:24] WARNING[8800] pbx.c: Found duplicate exten. Had (null) found 04XXXX3311
[2014-07-07 09:24:24] WARNING[8800] pbx.c: Unable to register extension '04XXXX3311' priority -1 in 'pbx-outgoing-83', already in use
[2014-07-07 09:24:24] WARNING[8800] pbx.c: Found duplicate exten. Had 04XXXX3311 found 04XXXX3311
[2014-07-07 09:24:24] WARNING[8800] pbx.c: Unable to register extension '04XXXX3311' priority -1 in 'pbx-outgoing-83', already in use
--end of log--
{noformat}

Edit: Upgraded to Asterisk 11. Issue is no longer present.


was (Author: alexr1):
I'm experiencing this problem on a production system running 1.8.24.0 which was released over a year after this issue was opened.

Is it worth trying a newer version? How are others getting around this issue? I see there's no resolution to this issue or this related issue: ASTERISK-19711

In my case, it's from dynamic hints:
{noformat}
exten => _X.,hint,${IF($[${EXTEN:0:3} = 83]?SIP/${EXTEN}:Custom:83-${EXTEN})}
{noformat}
(If they are trying to subscribe to anything beginning with 83, then it's a SIP device, otherwise it's a custom device).

Doesn't appear to be related to special characters.

Crash 1.
{noformat}
[2014-07-07 09:24:03] VERBOSE[1886] pbx.c:     -- Added extension '04XXXX680' priority -1 to pbx-outgoing-83
[2014-07-07 09:24:03] VERBOSE[1886] pbx.c:     -- Added extension '04XXXX151' priority -1 to pbx-outgoing-83
[2014-07-07 09:24:03] WARNING[1886] pbx.c: Found duplicate exten. Had 04XXXX0151 found 04XXXX0151
[2014-07-07 09:24:03] WARNING[1886] pbx.c: Unable to register extension '04XXXX0151' priority -1 in 'pbx-outgoing-83', already in use
[2014-07-07 09:24:04] VERBOSE[1886] pbx.c:     -- Added extension '04XXXX8489' priority -1 to pbx-outgoing-83
[2014-07-07 09:24:04] VERBOSE[1886] pbx.c:     -- Added extension '04XXXX9689' priority -1 to pbx-outgoing-83
[2014-07-07 09:24:04] VERBOSE[1886] pbx.c:     -- Added extension '02XXXX6769' priority -1 to pbx-outgoing-83
[2014-07-07 09:24:04] WARNING[1886] pbx.c: Found duplicate exten. Had 02XXXX6769 found 02XXXX6769
[2014-07-07 09:24:04] WARNING[1886] pbx.c: Unable to register extension '02XXXX6769' priority -1 in 'pbx-outgoing-83', already in use
[2014-07-07 09:24:04] VERBOSE[1886] pbx.c:     -- Added extension '04XXXX1997' priority -1 to pbx-outgoing-83
--end of log--
{noformat}



Crash 2.
{noformat}
[2014-07-07 09:24:23] WARNING[8800] pbx.c: Found duplicate exten. Had 04XXXX3311 found 04XXXX3311
[2014-07-07 09:24:23] WARNING[8800] pbx.c: Unable to register extension '04XXXX3311' priority -1 in 'pbx-outgoing-83', already in use
[2014-07-07 09:24:23] WARNING[8800] pbx.c: Found duplicate exten. Had 04XXXX8015 found 04XXXX8015
[2014-07-07 09:24:23] WARNING[8800] pbx.c: Unable to register extension '04XXXX8015' priority -1 in 'pbx-outgoing-83', already in use
[2014-07-07 09:24:23] WARNING[8800] pbx.c: Found duplicate exten. Had (null) found 02XXXX1879
[2014-07-07 09:24:23] WARNING[8800] pbx.c: Unable to register extension '02XXXX1879' priority -1 in 'pbx-outgoing-83', already in use
[2014-07-07 09:24:23] WARNING[8800] pbx.c: Found duplicate exten. Had 02XXXX1879 found 02XXXX1879
[2014-07-07 09:24:23] WARNING[8800] pbx.c: Unable to register extension '02XXXX1879' priority -1 in 'pbx-outgoing-83', already in use
[2014-07-07 09:24:24] WARNING[8800] pbx.c: Found duplicate exten. Had (null) found 04XXXX9956
[2014-07-07 09:24:24] WARNING[8800] pbx.c: Unable to register extension '04XXXX9956' priority -1 in 'pbx-outgoing-83', already in use
[2014-07-07 09:24:24] WARNING[8800] pbx.c: Found duplicate exten. Had 04XXXX9956 found 04XXXX9956
[2014-07-07 09:24:24] WARNING[8800] pbx.c: Unable to register extension '04XXXX9956' priority -1 in 'pbx-outgoing-83', already in use
[2014-07-07 09:24:24] WARNING[8800] pbx.c: Found duplicate exten. Had (null) found 04XXXX3311
[2014-07-07 09:24:24] WARNING[8800] pbx.c: Unable to register extension '04XXXX3311' priority -1 in 'pbx-outgoing-83', already in use
[2014-07-07 09:24:24] WARNING[8800] pbx.c: Found duplicate exten. Had 04XXXX3311 found 04XXXX3311
[2014-07-07 09:24:24] WARNING[8800] pbx.c: Unable to register extension '04XXXX3311' priority -1 in 'pbx-outgoing-83', already in use
--end of log--
{noformat}


> Core dump when adding dialplan extension
> ----------------------------------------
>
>                 Key: ASTERISK-19143
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-19143
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Configuration
>    Affects Versions: 1.8.7.2, 1.8.8.0
>         Environment: CentOS 5.5
>            Reporter: Steven T. Wheeler
>         Attachments: backtrace-20120305-1136.txt, backtrace-20120305-1138.txt, backtrace.txt, full_debug.log, full.log
>
>
> asterisk -rx "dialplan add extension steventest2-swheeler,hint,SIP/steventest2-swheeler_softphone&Custom:unavailable into blf replace
> Executing this command will occasionally cause asterisk to segfault.  From what I can tell in the back trace the issue seems to be related to logging the message "Found duplicate exten. Had %s found %s".  Please see the attached back trace and debug logs for more information.



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



More information about the asterisk-bugs mailing list