[asterisk-bugs] [JIRA] (ASTERISK-24190) IMAP voicemail causes segfault

Nick Adams (JIRA) noreply at issues.asterisk.org
Thu Aug 7 17:34:29 CDT 2014


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

Nick Adams commented on ASTERISK-24190:
---------------------------------------

If I move the forwarded voicemail messages out of the IMAP folder, Asterisk seems to be able to run that command without any segfault. It seems there is an issue parsing the IMAP flags/keywords.

This particular IMAP server is Dovecot 2.2.9.

> IMAP voicemail causes segfault
> ------------------------------
>
>                 Key: ASTERISK-24190
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24190
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail, Applications/app_voicemail/IMAP
>    Affects Versions: 11.11.0
>         Environment: Ubuntu 14.04.1
> Linux 3.13.0-32-generic  x86_64
>            Reporter: Nick Adams
>            Severity: Critical
>         Attachments: myDebugLog
>
>
> When using IMAP storage for Voicemail, I can reliably cause Asterisk to segfault. I noticed a number of random segfaults over the past few days and on further investigation, was able to reproduce it by running "voicemail show users for default". That produces the following segfault:
> {quote}Aug  8 07:50:10 timmy kernel: [1025781.678733] asterisk[20482]: segfault at 10d ip 00007fe97c22ab78 sp 00007fe8a0d09900 error 4 in libc-client.so.2007e.0[7fe97c1fb000+101000]{quote}
> This happens on multiple boxes so I've ruled out memory corruption or some other nastiness.
> voicemail.conf is at defaults except for:
> {quote}imapserver=mail.mydomain.com
> imapport=993
> imapgreetings=yes
> greetingsfolder=INBOX.Voicemail
> imapparentfolder=INBOX.
> imapfolder=INBOX.Voicemail
> imapflags=ssl
> [default]
> 0400000000 => 0400000000,Some User,,,attach=yes|imapuser=user at mydomain.com|imappassword=PASSWORD
> {quote}
> The relevant INBOX.Voicemail IMAP folder has about 300 voicemails in it. I think this may be related to users having forwarded messages out of those folders resulting in additional IMAP flags being added - though I can't be sure.



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



More information about the asterisk-bugs mailing list