[asterisk-bugs] [JIRA] (ASTERISK-23650) Intermittent segfault in string functions

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu May 22 11:44:52 CDT 2014


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

Matt Jordan updated ASTERISK-23650:
-----------------------------------

    Target Release Version/s: 1.8.28.0

> Intermittent segfault in string functions
> -----------------------------------------
>
>                 Key: ASTERISK-23650
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23650
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Functions/func_strings
>    Affects Versions: SVN, 1.8.26.1, 12.2.0
>         Environment: Slackware linux 13.1, 64-bit, kernel 3.10.24, kernel 3.10.34 
>            Reporter: Roel van Meer
>            Severity: Minor
>      Target Release: 1.8.28.0
>
>         Attachments: backtrace_ast12_2.txt, backtrace_ast12.txt, backtrace.txt, extensions.conf, mmlog.txt, valgrind.txt
>
>
> When an incoming SIP call is received, asterisk crashes. This happens intermittently, sometimes often, sometimes only seldom. The crash seems to happen at or just after a specific entry in my dialplan, which is:
> {noformat}
> exten => call-queue1,n,Log(NOTICE,${CALLID}: ---${REPLACE(REPLACE(QUEUE_MEMBER_LIST(${INCOMING_ACTION}),"Local/@phoneSIP"),",", )}---)
> {noformat}
> If the crash occurs, there is no result of the Log() in the asterisk log.
> I have been able to distill this to the following reproduction case:
> {noformat}
> exten => test,1,Set(TEST=Local/220 at phone,1)
> exten => test,n,Log(NOTICE,---${REPLACE(REPLACE(TEST,"Local/@phoneSIP"),",", )}---)
> {noformat}
> Note that the original string from the queue memberships was longer: Local/220 at phone,SIP/714,Local/210 at phone,SIP/195.
> Shortening the string makes the crash go away at some point.
> The two dialplan lines shown above are a constant reproducer for me.



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



More information about the asterisk-bugs mailing list