[asterisk-bugs] [JIRA] (ASTERISK-25087) Asterisk segfault when using Directory application with alias option.
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Wed May 27 12:42:33 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-25087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rusty Newton updated ASTERISK-25087:
------------------------------------
Assignee: Chet Stevens (was: Rusty Newton)
Status: Waiting for Feedback (was: Triage)
[~cwstevens] the issue looks simple enough to reproduce by your description. However, I am unable to reproduce the issue using the dialplan provided.
I pulled down the latest source via Git in the 13 branch. Using: Asterisk GIT-13-87c03b7
I had to change the language out, but otherwise I used your exact dialplan, which works fine for me. I dialed into the directory many times with no issue.
Can you try that same dialplan but on a fresh install with very minimal configuration?
Once you have that down and have a minimal extensions.conf, voicemail.conf and pjsip.conf that reproduces the issue, please attach all of these to the issue (as .txt) along with a new debug log demonstrating the usage.
Thanks!
> 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
> Assignee: Chet Stevens
> Attachments: backtrace.txt, debug.txt
>
>
> 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