[asterisk-bugs] [JIRA] (ASTERISK-25087) Asterisk segfault when using Directory application with alias option and specific mailbox configuration

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Fri Jun 12 16:04:33 CDT 2015


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

Richard Mudgett closed ASTERISK-25087.
--------------------------------------


> Asterisk segfault when using Directory application with alias option and specific mailbox configuration
> -------------------------------------------------------------------------------------------------------
>
>                 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, 13.3.2
>         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: Richard Mudgett
>         Attachments: backtrace.txt, debug.txt
>
>
> [Edit by Rusty - adding Chet's new description on how to reproduce]
> Hello. I think I found the exact way to reproduce this. I tested with Asterisk GIT-13-87c03b7. In summary, when using the "a" option it doesn't like any mailboxes defined with a name and nothing else.
> I stripped down the test to barebones dialplan:
> Dialplan
> {noformat}
> exten => ##94,1,Directory(,internal,fa)
> {noformat}
> Working voicemail.conf
> {noformat}
> [general]
> [zonemessages]
> [default]
> 4405 => 2580,Fred Jones,,,alias=leader
> 4406 => 2580,Velma Dinkley,,,alias=genius
> {noformat}
> If any mailbox is defined like:
> {noformat}
> <mailbox> => <password>,<name>
> {noformat}
> with nothing else then it will segfault.
> If the mailboxes with a name at least end with a comma then aliases will work. For example:
> {noformat}
> <mailbox> => <password>,<name>,,,alias=My Alias ; With an alias defined.
> <mailbox> => <password>,<name>, ; A comma added.
> <mailbox> => <password>,<name>,,,alias= ; Alias parameter but no alias defined.
> {noformat}
> then the Directory application works as expected.
> 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}



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



More information about the asterisk-bugs mailing list