[asterisk-bugs] [Asterisk 0012987]: IMAP (apparently) causing system crash

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Jul 3 17:19:16 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12987 
====================================================================== 
Reported By:                mthomasslo
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   12987
Category:                   Applications/app_voicemail
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.20.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-03-2008 14:47 CDT
Last Modified:              07-03-2008 17:19 CDT
====================================================================== 
Summary:                    IMAP (apparently) causing system crash
Description: 
Intermittently, and without any apparent pattern, the system will stop
responding.  For each failure (3 within the past 3 days) the message log
has two IMAP warnings immediately prior to the crash:

WARNING[xxxxx] app_voicemail.c: IMAP Warning: Unexpected tagged response:
0000ad5d OK SEARCH completed

WARNING[xxxxx] app_voicemail.c: IMAP Warning: Unexpected tagged response:
000cb22f OK [APPENDUID 1 287] APPEND completed

WARNING[xxxxx] app_voicemail.c: IMAP Warning: Unexpected tagged response:
000cb420 OK [READ-WRITE]SELECT completed

WARNING[xxxxx] app_voicemail.c: IMAP Warning: Unexpected tagged response:
000ad5d OK SEARCH completed

WARNING[xxxxx] app_voicemail.c: IMAP Warning: Unexpected tagged response:
0000ee4c OK FETCH completed

WARNING[xxxxx] app_voicemail.c: IMAP Warning: Unexpected tagged response:
0000ad66 OK NOOP completed


 
====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 07-03-08 17:19  
---------------------------------------------------------------------- 
Hmm, okay, this sounds somewhat similar to reports I have heard before
about using IMAP storage. This problem happens due to the fact that MWI is
being sent to the phone. In order to get the number of messages available,
the IMAP mailbox has to be polled. The unresponsiveness tells me that most
likely the c-client is blocking forever most likely in a call to
connect(2).

I fixed this problem in the trunk version of Asterisk by allowing TCP
timeouts to be configured in voicemail.conf. I'm going to push to have the
feature backported. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-03-08 17:19  putnopvut      Note Added: 0089721                          
======================================================================




More information about the asterisk-bugs mailing list