[asterisk-bugs] [JIRA] (ASTERISK-25087) Asterisk segfault when using Directory application with alias option.
Chet Stevens (JIRA)
noreply at issues.asterisk.org
Thu May 14 14:34:33 CDT 2015
Chet Stevens created ASTERISK-25087:
---------------------------------------
Summary: Asterisk segfault when using Directory application with alias option.
Key: ASTERISK-25087
URL: https://issues.asterisk.org/jira/browse/ASTERISK-25087
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Applications/app_directory
Affects Versions: 13.1.0
Environment: Asterisk 13.1-cert2
Ubuntu Server 14.04.1 LTS (GNU/Linux 3.13.0-35-generic x86_64)
HP ProLiant DL380p Gen8 with 16 GB memory
Wildcard AEX2400: wctdm24xxp+
Reporter: Chet Stevens
If the Directory application is called with the 'a' (alias) option then the Asterisk process stops with a segfault the moment the caller presses a DTMF key. The Directory application works normally if the 'a' option is not used. Reproduced with latest snapshot from certified/13.1 as well.
Backtrace will be attached. Last 10k lines of debug will be attached.
For reference the segfault was at:
{noformat}
May 14 11:43:19 Cherry-Red kernel: [1833492.105879] show_signal_msg: 24 callbacks suppressed
May 14 11:43:19 Cherry-Red kernel: [1833492.105885] asterisk[14204]: segfault at 0 ip 00007f815b4fb331 sp 00007f80f282d160 error 4 in libc-2.19.so[7f815b468000+1bb000]
{noformat}
Called application using the following dialplan:
{noformat}
exten => 2,1,NoOp()
same => n,Set(current_menu=2,1)
same => n,Set(CHANNEL(language)=system_prompts/directory)
same => n,Wait(1)
same => n,Directory(,${CONTEXT},fa)
same => n,Set(CHANNEL(language)=)
same => n,Background(user_prompts/751)
same => n,WaitExten(5)
{noformat}
The Directory works as expected if we use:
{noformat}
same => n,Directory(,${CONTEXT},f)
{noformat}
Problem appears to be 100% reproducible once the 'a' option is added.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list