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

alexr1 (JIRA) noreply at issues.asterisk.org
Tue Aug 5 10:09:57 CDT 2014


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

alexr1 commented on ASTERISK-19143:
-----------------------------------

Unfortunately the patch does not solve the issue (on 1.8, unsure about 11), however your earlier solution (by email) to replace the %s with %p does work - so I'm happy to stick with that for now.

I moved back to 1.8.24 on the production system for various reasons and it seems that there is not always a valid pointer... (In Ast 11, there did seem to be a valid pointer all the time, but I didn't do extensive testing after it stopped crashing)

{noformat}
[2014-08-06 00:54:18] WARNING[12763]: pbx.c:2230 add_exten_to_pattern_tree: Found duplicate exten. Had (nil) found 0x7f5d9ce8daa8
[2014-08-06 00:54:18] WARNING[12763]: pbx.c:8576 add_priority: Unable to register extension '02111' priority -1 in 'pbx-outgoing-02', already in use
[2014-08-06 00:54:18] WARNING[12763]: pbx.c:2230 add_exten_to_pattern_tree: Found duplicate exten. Had 0x7f5d9ce69900 found 0x7f5d9ce25878
[2014-08-06 00:54:18] WARNING[12763]: pbx.c:8576 add_priority: Unable to register extension '02111' priority -1 in 'pbx-outgoing-02', already in use
[2014-08-06 00:54:18] WARNING[12763]: pbx.c:2230 add_exten_to_pattern_tree: Found duplicate exten. Had 0x7f5d9cf8e460 found 0x7f5d9d2105d8
[2014-08-06 00:54:18] WARNING[12763]: pbx.c:8576 add_priority: Unable to register extension '02115' priority -1 in 'pbx-outgoing-02', already in use
[2014-08-06 00:54:18] WARNING[12763]: pbx.c:2230 add_exten_to_pattern_tree: Found duplicate exten. Had 0x7f5d9c719f20 found 0x7f5d9cea05b8
[2014-08-06 00:54:18] WARNING[12763]: pbx.c:8576 add_priority: Unable to register extension '02115' priority -1 in 'pbx-outgoing-02', already in use
[2014-08-06 00:54:18] WARNING[12763]: pbx.c:2230 add_exten_to_pattern_tree: Found duplicate exten. Had (nil) found 0x7f5d9cf7a798
[2014-08-06 00:54:18] WARNING[12763]: pbx.c:8576 add_priority: Unable to register extension '02113' priority -1 in 'pbx-outgoing-02', already in use
[2014-08-06 00:54:18] WARNING[12763]: pbx.c:2230 add_exten_to_pattern_tree: Found duplicate exten. Had 0x7f5d9cd891f0 found 0x7f5d9cf1f298
{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: 32s.patch, 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